Skip to content

Commit

Permalink
Verian nov.
Browse files Browse the repository at this point in the history
  • Loading branch information
hampusborgos committed Nov 17, 2023
1 parent 4d19195 commit bceb06c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Data/Polls.csv
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
PublYearMonth,Company,M,L,C,KD,S,V,MP,SD,FI,Uncertain,n,PublDate,collectPeriodFrom,collectPeriodTo,approxPeriod,house
2023-nov,Sentio,17.2,2.5,3.4,4.3,36,8.9,3.9,22.3,NA,NA,NA,2023-11-11,2022-11-03,2022-11-07,FALSE,Sentio
2023-nov,Demoskop,18.9,2.3,4.7,3.2,36.2,7.3,3.7,21.6,NA,NA,2506,2023-08-11,2023-10-22,2023-11-05,FALSE,Demoskop
2023-nov,Verian,17.4,3,3.7,3.5,37.6,7.3,4.7,21.2,NA,NA,3011,2023-11-02,2023-10-16,2023-10-29,FALSE,Sifo
2023-nov,Ipsos,19,2,4,3,35,9,5,21,NA,NA,1366,2023-11-01,2023-10-16,2023-10-30,FALSE,Ipsos
2022-nov,Skop,19.7,3.7,5,3.2,35.2,7,4.4,20.6,NA,NA,1010,2022-11-01,2023-10-09,2022-10-22,FALSE,Skop
2023-okt,Indikator,16.1,2.3,4.1,2.9,27.9,8.1,4.8,22,NA,11,2062,2023-10-27,2023-10-03,2023-10-25,FALSE,Indikator
2023-okt,Indikator,16.1,2.3,4.1,2.9,37.9,8.1,4.8,22,NA,11,2062,2023-10-27,2023-10-03,2023-10-25,FALSE,Indikator
2023-okt,Novus,18.2,2.7,4.8,2.6,37.8,7.4,4.4,20.7,NA,13.3,2253,2023-10-19,2023-09-18,2023-10-15,FALSE,Novus
2023-okt,Sentio,18.0,4.9,4.6,2.9,33.1,7.6,4.5,22.3,NA,NA,NA,2023-10-11,2022-10-03,2022-10-10,FALSE,Sentio
2023-okt,Demoskop,19.5,2.4,4.5,4.0,36.5,7.2,3.8,19.6,NA,NA,2182,2023-10-11,2023-09-23,2023-10-07,FALSE,Demoskop
Expand Down
4 changes: 2 additions & 2 deletions polls.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ test('Newer poll trends make sense', () => {
expect(parties['KD'], `KD in (${poll}) has less than 2.6% support`).toBeGreaterThan(2.5)
expect(parties['KD'], `KD in (${poll}) has more than 7.5% support`).toBeLessThan(7.5)

expect(parties['C'], `C in (${poll}) has less than 3.7% support`).toBeGreaterThan(3.7)
expect(parties['C'], `C in (${poll}) has more than 12% support`).toBeLessThan(12)
expect(parties['C'], `C in (${poll}) has less than 3.3% support`).toBeGreaterThan(3.3)
expect(parties['C'], `C in (${poll}) has more than 8.9% support`).toBeLessThan(8.9)

expect(parties['SD'], `SD in (${poll}) has less than 15.5% support`).toBeGreaterThan(15.4)
expect(parties['SD'], `SD in (${poll}) has more than 30% support`).toBeLessThan(30)
Expand Down

0 comments on commit bceb06c

Please sign in to comment.