Skip to content

Commit

Permalink
Indikator, Ipsos
Browse files Browse the repository at this point in the history
  • Loading branch information
hampusborgos committed Sep 29, 2023
1 parent c0b0d06 commit 986704d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Data/Polls.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
PublYearMonth,Company,M,L,C,KD,S,V,MP,SD,FI,Uncertain,n,PublDate,collectPeriodFrom,collectPeriodTo,approxPeriod,house
2023-sep,Indikator,18.4,3.0,4.0,2.6,38.6,7.6,5.2,19.0,NA,NA,2041,2023-09-22,2023-09-01,2023-09-22,FALSE,Indikator
2023-sep,Ipsos,17,4,5,3,36,8,5,20,NA,NA,1366,2023-09-12,2023-09-26,2023-09-24,FALSE,Ipsos
2023-sep,Novus,19.1,3.0,3.9,3.7,37.0,7.8,5.7,18.2,NA,9.1,2907,2023-09-22,2023-08-21,2023-09-17,FALSE,Novus
2023-sep,Demoskop,20.9,2.6,4.3,3.7,36.9,7.2,3.1,19.0,NA,NA,2462,2023-09-07,2023-08-21,2023-09-05,FALSE,Demoskop
2023-sep,Kantar,19.0,3.0,3.9,3.1,37.6,7.6,4.3,19.7,NA,NA,NA,2023-09-07,2023-08-21,2023-09-03,FALSE,Sifo
2023-aug,Ipsos,18.9,3.3,5.5,3.7,36.4,7.4,4.5,18.2,NA,NA,1566,2023-08-29,2023-08-15,2023-08-27,FALSE,Ipsos
Expand Down
4 changes: 2 additions & 2 deletions polls.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ test('Newer poll trends make sense', () => {
expect(parties['L'], `L in (${poll}) has less than 2.0% support`).toBeGreaterThan(1.9)
expect(parties['L'], `L in (${poll}) has more than 7.7% support`).toBeLessThan(7.7)

expect(parties['KD'], `KD in (${poll}) has less than 3.1% support`).toBeGreaterThan(3.0)
expect(parties['KD'], `KD in (${poll}) has more than 10.5% support`).toBeLessThan(10.5)
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)
Expand Down

0 comments on commit 986704d

Please sign in to comment.