Skip to content

Commit

Permalink
fix: simplify census-income.csv
Browse files Browse the repository at this point in the history
This removes the floating point values as it does not seem to be
supported. Also updates the header row to use underscores instead of
spaces to avoid issues when parsing the file.
  • Loading branch information
dalbertom committed Oct 29, 2024
1 parent 618f30f commit 0685b11
Showing 1 changed file with 53 additions and 53 deletions.
106 changes: 53 additions & 53 deletions crates/proof-of-sql/examples/census/census-income.csv
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
Id,Geography,Id2,Households; Estimate; Total,"Households; Estimate; Less than $10,000","Households; Estimate; $10,000 to $14,999","Households; Estimate; $15,000 to $24,999","Households; Estimate; $25,000 to $34,999","Households; Estimate; $35,000 to $49,999","Households; Estimate; $50,000 to $74,999","Households; Estimate; $75,000 to $99,999","Households; Estimate; $100,000 to $149,999","Households; Estimate; $150,000 to $199,999","Households; Estimate; $200,000 or more",Households; Estimate; Median income (dollars),Households; Estimate; Mean income (dollars),Households; Estimate; PERCENT IMPUTED - Household income in the past 12 months
0400000US01,Alabama,1,1837292,10.2,7.2,13,11.5,14.3,17.4,10.8,10,3.1,2.5,42757,58946,31
0400000US02,Alaska,2,250875,3.7,3.7,7.7,7.5,12,18.7,15.2,18.2,7.7,5.6,70477,86757,26.3
0400000US04,Arizona,4,2381501,7.9,5.5,11.6,11.3,14.8,18.5,11.5,11.5,3.9,3.4,48546,65896,30.8
0400000US05,Arkansas,5,1130417,9.7,7.8,14.3,12.4,15.1,17.6,9.8,8.8,2.5,2.1,40457,55258,28.2
0400000US06,California,6,12581722,6.1,5.3,9.9,9.2,12.4,16.9,11.9,14.6,6.5,7.2,59645,84311,30.8
0400000US08,Colorado,8,1989371,6.2,4.4,9.6,9.7,13.4,18.5,13,14.2,5.7,5.3,57892,78265,25.8
0400000US09,Connecticut,9,1348275,5.9,4.2,8.5,8,10.9,16.6,12.8,16.5,7.6,9,68130,96755,29.9
0400000US10,Delaware,10,337245,5.7,4.2,9.1,9.7,13.3,19.4,13.4,15,5.5,4.7,59399,77270,31.9
0400000US11,District of Columbia,11,268015,10.6,4.4,7.6,6.8,10.1,14.5,10.4,15.6,7.8,12.1,66950,102656,31.7
0400000US12,Florida,12,7168502,8.1,6,12.5,11.9,15.1,18.1,10.7,10.3,3.5,3.7,45872,65457,33.5
0400000US13,Georgia,13,3522934,9.2,5.9,11.6,10.9,14.1,18,11.1,11.3,4.1,3.9,47893,66647,33.5
0400000US15,Hawaii,15,449296,6,3.7,7.6,7.7,12,18.9,14,17.4,6.9,5.8,66308,83941,32.6
0400000US16,Idaho,16,583452,7.2,5.7,12.3,12.6,16.1,20.1,11.6,9.6,2.7,2.2,46011,59529,27.6
0400000US17,Illinois,17,4763457,7.4,4.8,10.2,9.7,13,18,12.6,13.7,5.2,5.3,55799,76773,30.9
0400000US18,Indiana,18,2482558,7.7,5.7,11.7,11.5,15.4,19.3,12.3,10.9,3,2.6,47839,62751,27
0400000US19,Iowa,19,1227201,6.5,5.4,10.7,11,14.8,20.1,13.3,12,3.3,2.9,51653,66135,26.5
0400000US20,Kansas,20,1109747,6.6,5.2,11,11.3,15.1,19.3,12.3,12.1,3.8,3.3,50808,67782,25.5
0400000US21,Kentucky,21,1693399,10.3,7.2,13,11.5,14.6,17.7,10.7,9.8,2.6,2.5,42576,58307,27.3
0400000US22,Louisiana,22,1715997,10.4,7.3,12.9,11,13.3,16.4,10.9,11,3.6,3.2,43856,62105,34.1
0400000US23,Maine,23,552589,7.2,6.6,12.2,11.9,14.4,19,12.3,10.6,3,2.8,47405,62685,23.9
0400000US24,Maryland,24,2149424,5.4,3.5,7.2,7.3,10.8,17.4,13.3,18,8.5,8.6,72345,94841,29.8
0400000US25,Massachusetts,25,2528592,6.5,5.2,8.9,7.9,10.8,16.1,12.5,16.4,7.7,8,66135,90557,31.1
0400000US26,Michigan,26,3815532,8.4,5.8,11.8,11.2,14.6,18.4,11.7,11.3,3.7,3.1,47793,64412,28.7
0400000US27,Minnesota,27,2109924,5.8,4.5,9.3,9.2,13.3,19.2,14,14.9,5.2,4.7,59791,77337,24
0400000US28,Mississippi,28,1086898,11.8,8.3,14.3,12.1,14.5,17.1,9.4,8.1,2.4,2,38087,53273,32.6
0400000US29,Missouri,29,2353778,8.1,6.1,12.1,11.5,15,18.8,11.5,10.5,3.5,2.9,46640,63090,28.7
0400000US30,Montana,30,405504,7.3,6.7,12.8,11.8,14.9,19.4,11.4,10.3,2.6,2.6,45951,60925,29.2
0400000US31,Nebraska,31,729572,6.3,5.4,11,11,14.9,20,12.9,11.9,3.5,3.2,51370,67151,24.3
0400000US32,Nevada,32,995980,6.8,4.9,10.9,11.2,15.3,19.7,12.1,11.9,3.9,3.2,50773,67701,32.1
0400000US33,New Hampshire,33,518088,4.5,4.2,8.5,8.8,12.6,18.5,14.3,16.7,6.4,5.4,64689,82718,26.7
0400000US34,New Jersey,34,3181152,5.6,4,8.3,7.9,10.8,16.2,12.7,16.9,8.3,9.2,70324,96020,32.9
0400000US35,New Mexico,35,760251,10,6.8,13,11.4,14.2,16.8,11,10.3,3.7,2.8,43747,60875,30.4
0400000US36,New York,36,7214163,8.1,5.3,10.1,9,11.9,16.6,11.8,14,6.1,7,57327,83754,35.1
0400000US37,North Carolina,37,3721358,8.5,6.4,12.2,11.9,14.9,18,11,10.3,3.5,3.3,45696,63399,28.6
0400000US38,North Dakota,38,291468,6.8,4.8,10,10.4,14.1,18.7,13.9,13.4,3.8,4.1,54920,72057,28.5
0400000US39,Ohio,39,4551497,8.4,5.9,11.9,11.2,14.5,18.6,11.7,11.1,3.6,3.1,47782,64206,27.1
0400000US40,Oklahoma,40,1445059,8.3,6.5,12.4,11.9,15.1,18.7,11.2,10.1,3,2.8,45171,61452,29.6
0400000US41,Oregon,41,1516591,7.8,5.6,11.6,10.8,14.5,18.7,12.3,11.7,3.6,3.3,49519,66145,24.8
0400000US42,Pennsylvania,42,4945140,7.1,5.7,11.1,10.5,13.8,18.6,12.3,12.5,4.4,4.2,51953,70628,29.6
0400000US44,Rhode Island,44,410347,7.8,5.6,10.3,9.1,12.6,17.3,12.5,14.3,5.8,4.7,55675,75310,32.4
0400000US45,South Carolina,45,1781957,9.3,6.7,12.7,11.8,14.7,18.1,10.8,10,3.1,2.6,43973,59803,32.1
0400000US46,South Dakota,46,326086,6.4,5.8,11.1,11.4,16,19.9,13.3,10.4,2.8,3,49332,63993,24.9
0400000US47,Tennessee,47,2480467,8.9,6.6,13,12.2,14.9,18,10.8,9.7,3,2.9,43697,61094,28.7
0400000US48,Texas,48,8965352,7.6,5.4,11.1,10.7,13.9,17.8,11.5,12.6,4.7,4.8,51375,72281,30
0400000US49,Utah,49,891240,5.3,4.1,9.1,9.3,14.4,21.3,14.5,14,4.3,3.8,58561,73615,26.8
0400000US50,Vermont,50,256563,5.7,6,10.2,10.3,14.3,19.6,13.8,12.5,4.2,3.5,53853,69814,25.8
0400000US51,Virginia,51,3026761,5.9,4.2,8.6,8.8,12.4,17.7,12.6,15.2,7,7.6,63056,86457,27.6
0400000US53,Washington,53,2634496,6.4,4.4,9.2,9.4,13.3,18.9,13.2,14.7,5.6,5,58592,77329,24.6
0400000US54,West Virginia,54,739759,10.4,7.3,14.4,11.9,14.6,17.4,10.7,8.8,2.5,2,40830,55469,30.6
0400000US55,Wisconsin,55,2281781,6.2,5.5,11.1,10.7,14.7,19.9,13.1,12.3,3.5,3,51768,67051,25.5
0400000US56,Wyoming,56,222679,4.8,5,9.8,10.3,13.9,19.6,14.2,15.1,4.4,2.9,57197,70581,25.2
0400000US72,Puerto Rico,72,1254274,28.9,11.8,18.6,12.3,11.6,9.4,3.5,2.4,0.8,0.6,19366,30037,25.2
Id,Geography,Id2,Households_Estimate_Total
0400000US01,Alabama,1,1837292
0400000US02,Alaska,2,250875
0400000US04,Arizona,4,2381501
0400000US05,Arkansas,5,1130417
0400000US06,California,6,12581722
0400000US08,Colorado,8,1989371
0400000US09,Connecticut,9,1348275
0400000US10,Delaware,10,337245
0400000US11,District of Columbia,11,268015
0400000US12,Florida,12,7168502
0400000US13,Georgia,13,3522934
0400000US15,Hawaii,15,449296
0400000US16,Idaho,16,583452
0400000US17,Illinois,17,4763457
0400000US18,Indiana,18,2482558
0400000US19,Iowa,19,1227201
0400000US20,Kansas,20,1109747
0400000US21,Kentucky,21,1693399
0400000US22,Louisiana,22,1715997
0400000US23,Maine,23,552589
0400000US24,Maryland,24,2149424
0400000US25,Massachusetts,25,2528592
0400000US26,Michigan,26,3815532
0400000US27,Minnesota,27,2109924
0400000US28,Mississippi,28,1086898
0400000US29,Missouri,29,2353778
0400000US30,Montana,30,405504
0400000US31,Nebraska,31,729572
0400000US32,Nevada,32,995980
0400000US33,New Hampshire,33,518088
0400000US34,New Jersey,34,3181152
0400000US35,New Mexico,35,760251
0400000US36,New York,36,7214163
0400000US37,North Carolina,37,3721358
0400000US38,North Dakota,38,291468
0400000US39,Ohio,39,4551497
0400000US40,Oklahoma,40,1445059
0400000US41,Oregon,41,1516591
0400000US42,Pennsylvania,42,4945140
0400000US44,Rhode Island,44,410347
0400000US45,South Carolina,45,1781957
0400000US46,South Dakota,46,326086
0400000US47,Tennessee,47,2480467
0400000US48,Texas,48,8965352
0400000US49,Utah,49,891240
0400000US50,Vermont,50,256563
0400000US51,Virginia,51,3026761
0400000US53,Washington,53,2634496
0400000US54,West Virginia,54,739759
0400000US55,Wisconsin,55,2281781
0400000US56,Wyoming,56,222679
0400000US72,Puerto Rico,72,1254274

0 comments on commit 0685b11

Please sign in to comment.