Skip to content

Instantly share code, notes, and snippets.

We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 5.
"","number","date","series","ground","result","date1","series0","series1","home","away","homeseries","opponent","wld","year","period","position","yearposition"
"1",1,"15/03/1877","1876-1877 Australia v. England","Melbourne Cricket Ground","Australia won by 45 runs",1877-03-15,"1876-1877 Australia v. England"," Australia v England","Australia","England","A","Australia","lose","1877","(1875,1880]",1,1
"2",2,"31/03/1877","1876-1877 Australia v. England","Melbourne Cricket Ground","England won by 4 wickets",1877-03-31,"1876-1877 Australia v. England"," Australia v England","Australia","England","A","Australia","win","1877","(1875,1880]",2,2
"3",3,"02/01/1879","1878-1879 Australia v. England","Melbourne Cricket Ground","Australia won by 10 wickets",1879-01-02,"1878-1879 Australia v. England"," Australia v England","Australia","England","A","Australia","lose","1879","(1875,1880]",3,1
"4",4,"06/09/1880","1880 England v. Australia","Kennington Oval","England won by 5 wickets",1880-09-06,"1880 England v. Australia","
/* ----------------------------------------------------------------------------------------------------
Super Form Reset
A couple of things to watch out for:
- IE8: If a text input doesn't have padding on all sides or none the text won't be centered.
- The default border sizes on text inputs in all UAs seem to be slightly different. You're better off using custom borders.
- You NEED to set the font-size and family on all form elements
- Search inputs need to have their appearance reset and the box-sizing set to content-box to match other UAs
- You can style the upload button in webkit using ::-webkit-file-upload-button
- ::-webkit-file-upload-button selectors can't be used in the same selector as normal ones. FF and IE freak out.
- IE: You don't need to fake inline-block with labels and form controls in IE. They function as inline-block.
council type county region adopted lacode
Adur District Council District West Sussex South East No E07000223
Allerdale Borough Council District Cumbria North West Considering E07000026
Amber Valley Borough Council District Derbyshire East Midlands No E07000032
Arun District Council District West Sussex South East No E07000224
Ashfield District Council District Nottinghamshire East Midlands Yes E07000170
Ashford Borough Council District Kent South East No E07000105
Aylesbury Vale District Council District Buckinghamshire South East Yes E07000004
Babergh District Council District Suffolk East No E07000200
Barking & Dagenham London Borough Greater London Greater London Yes E09000002
@broadpeter
broadpeter / counciltaxtest.csv
Created August 3, 2018 15:37
Council tax test data
lacode transactionscy valuecy transactionspy valuepy averagecy growth
E06000001 1590 206 1346 180 129559.748427673 0.14
E06000002 2290 319 2022 273 139301.310043668 0.17
E06000003 2170 295 2081 274 135944.700460829 0.08
E06000004 3500 531 3209 475 151714.285714286 0.12
E06000005 2040 304 1962 280 149019.607843137 0.09
E06000006 1910 283 1756 247 148167.539267016 0.15
E06000007 4060 800 3912 693 197044.334975369 0.15
E06000008 1990 245 1887 225 123115.577889447 0.09
E06000009 2510 270 2343 251 107569.721115538 0.08
@broadpeter
broadpeter / test2.csv
Last active January 12, 2020 21:01
Test 2
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 6.
"","number","date","series","ground","result","date1","series1","home","away","homeseries","opponent","wld","year","yearposition"
"1",1,"15/03/1877","1876-1877 Australia v. England","Melbourne Cricket Ground","Australia won by 45 runs",1877-03-15," Australia v England","Australia","England","A","Australia","lose","1877",1
"2",2,"31/03/1877","1876-1877 Australia v. England","Melbourne Cricket Ground","England won by 4 wickets",1877-03-31," Australia v England","Australia","England","A","Australia","win","1877",2
"3",3,"02/01/1879","1878-1879 Australia v. England","Melbourne Cricket Ground","Australia won by 10 wickets",1879-01-02," Australia v England","Australia","England","A","Australia","lose","1879",1
"4",4,"06/09/1880","1880 England v. Australia","Kennington Oval","England won by 5 wickets",1880-09-06," England v Australia","England","Australia","H","Australia","win","1880",1
"5",5,"31/12/1881","1881-1882 Australia v. England","Melbourne Cricket Ground","Match Drawn",1881-12-31," Australia v England","Aus
@broadpeter
broadpeter / counciltax2.csv
Created August 3, 2018 18:07
Council tax with numeric
council type county region adopted lacode Number
Adur District Council District West Sussex South East No E07000223 3
Allerdale Borough Council District Cumbria North West Considering E07000026 2
Amber Valley Borough Council District Derbyshire East Midlands No E07000032 3
Arun District Council District West Sussex South East No E07000224 3
Ashfield District Council District Nottinghamshire East Midlands Yes E07000170 1
Ashford Borough Council District Kent South East No E07000105 3
Aylesbury Vale District Council District Buckinghamshire South East Yes E07000004 1
Babergh District Council District Suffolk East No E07000200 3
Barking & Dagenham London Borough Greater London Greater London Yes E09000002 1
@broadpeter
broadpeter / tests3.csv
Created August 6, 2018 15:00
Tests with alternative x position
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 25 columns, instead of 24 in line 3.
"","X","number","date","series","ground","result","date1","series0","series1","home","away","homeseries","opponent","wld","year","period","position","yearposition","y1000","wldnumber","y1000123","unique","xstart","positionnew"
"1",1,1,"15/03/1877","1876-1877 Australia v. England","Melbourne Cricket Ground","Australia won by 45 runs","1877-03-15","1876-1877 Australia v. England"," Australia v England","Australia","England","A","Australia","Lose",1877,"(1875,1880]",1,1,18770,3,18773,1,11,12
"2",2,2,"31/03/1877","1876-1877 Australia v. England","Melbourne Cricket Ground","England won by 4 wickets","1877-03-31","1876-1877 Australia v. England"," Australia v England","Australia","England","A","Australia","Win",1877,"(1875,1880]",2,2,18770,1,18771,1,0,1
"3",3,3,"02/01/1879","1878-1879 Australia v. England","Melbourne Cricket Ground","Australia won by 10 wickets","1879-01-02","1878-1879 Australia v. England"," Australia v England","Australia","England","A","Australia","Lose",1879,"(1875,1880]",3,1,18790,3,18793,1,11
@broadpeter
broadpeter / switching.csv
Last active August 22, 2018 09:46
switching
month region ladcd ladnm pop total largetolarge largetoinde indetolarge indetoinde
April 2018 East Midlands E06000015 Derby 257034 2150 520 768 251 611
April 2018 East Midlands E06000016 Leicester 353540 2354 575 711 288 780
April 2018 East Midlands E06000017 Rutland 39474 309 87 122 34 66
April 2018 East Midlands E06000018 Nottingham 329209 2859 453 852 353 1201
April 2018 East Midlands E07000032 Amber Valley 125898 864 273 318 114 159
April 2018 East Midlands E07000033 Bolsover 79098 563 145 200 60 158
April 2018 East Midlands E07000034 Chesterfield 104579 816 202 320 98 196
April 2018 East Midlands E07000035 Derbyshire Dales 71849 457 143 194 44 76
April 2018 East Midlands E07000036 Erewash 115314 860 298 286 97 179
@broadpeter
broadpeter / testline.csv
Created September 22, 2018 11:16
testline
year month average
1958 3 315.71
1958 4 317.45
1958 5 317.5
1958 6 -99.99
1958 7 315.86
1958 8 314.93
1958 9 313.2
1958 10 -99.99
1958 11 313.33