Skip to content

Instantly share code, notes, and snippets.

@paulgp
Created January 27, 2018 15:25
Show Gist options
  • Save paulgp/22f8847039e281b54a0c330219d55d04 to your computer and use it in GitHub Desktop.
Save paulgp/22f8847039e281b54a0c330219d55d04 to your computer and use it in GitHub Desktop.
data for stacked year graph -- data is long in year, with a variable for each state
actyear,weightAK,weightAL,weightAR,weightAZ,weightCA,weightCO,weightCT,weightDC,weightDE,weightFL,weightGA,weightHI,weightIA,weightID,weightIL,weightIN,weightKS,weightKY,weightLA,weightMA,weightMD,weightME,weightMI,weightMN,weightMO,weightMS,weightMT,weightNC,weightND,weightNE,weightNH,weightNJ,weightNM,weightNV,weightNY,weightOH,weightOK,weightOR,weightPA,weightRI,weightSC,weightSD,weightTN,weightTX,weightUT,weightVA,weightVT,weightWA,weightWI,weightWV,weightWY
1981,.03755028,.02990938,.20703676,0,.04086193,.01945291,.10767708,.06262338,.06350493,.03920498,.00479458,.06658893,.06084494,.06284221,.02269132,.04047319,.08070602,.02967702,.06200945,.0411989,.05829636,.01381558,.04262264,.02045847,.06681184,.04752667,.03490627,.03436573,.04141355,.00596215,.03996021,.0605478,.02732919,.06319549,.01641251,.05705033,.04074663,.14937994,.07915642,.01641021,.15789983,.04026218,.03547503,.0317673,.08546715,.09883956,.0492923,.09792817,.02944991,.07367196,.04073161
1982,.6684013,.02493662,.0422279,0,.30996058,.07911115,.26440424,.17053768,.04759729,.01776581,.00504283,.27555898,.20299432,.01644672,.03102138,.02457272,.02566183,.20570909,.02138795,.21507778,.18976547,.71116045,.29593938,.04725202,.12591395,.03511835,.06186766,.00382462,.44585492,.03336167,.02922225,.19305519,.029988,.02531131,.27167598,.03637002,.39759275,.0311027,.16423117,.04298181,.11212565,.0237956,.01117566,.01739932,.02743861,.03431662,.31169399,.35862488,.00935286,.03890554,.02888337
1983,.065076,.00615817,.01003416,.5102748,.00534898,.02076746,.02374922,.02875338,.02008224,.02276194,.00503531,.02388967,.02764748,.01635642,.02322119,.01303452,.02211145,.01364823,.05043512,.02594316,.03258683,.02020357,.03297363,.05771346,.02531189,.09477591,.3095957,.01531495,.02780471,.0235103,.00488059,.01797123,.01618407,.0745352,.03068343,.01599818,.02251457,.0100387,.02208804,.01774382,.01018889,.00862737,.01020357,.06196259,.34685177,.00853301,.00538584,.04886699,.01489934,.02098763,.0480236
1984,.01027046,.05271333,.03260873,.06467847,.0044502,.03625554,.00870404,.03697145,.03369823,.06760653,.05697463,.05406647,.03860305,.06969241,.17248709,.07326881,.02215963,.01580434,.07039317,.00688128,.01225771,.00725921,.03358684,.25199493,.01989199,.07277001,.07327198,.06515687,.00437899,.03956834,.05888331,.01084649,.07224161,.05977776,.05051339,.13187932,.02700421,.06338146,.11731781,.01636384,.06020733,.0597076,.05637321,.07502824,.01877208,.05560465,.00161459,.40020108,.00342222,.04238039,.07235658
1985,.00746185,.09260742,.12359029,.08942333,.03124912,.04444598,.03734951,.17759323,.05006786,.27398283,.27307295,.02646943,.11455926,.15798585,.17006061,.08829185,.05960371,.05037082,.24642999,.04254337,.14353962,.05863207,.09399502,.01966666,.03602748,.08949178,.11139643,.42271003,.03270202,.15409289,.09375917,.0506861,.0844703,.14518841,.03432163,.17958835,.23967184,.11298536,.17880021,.06011684,.35147502,.09257011,.13351623,.16037371,.03243911,.11187617,.15757144,.12979226,.03267509,.22863478,.0929532
1986,.01000934,.05017687,.02651821,.23176313,.02133529,.19291267,.01140598,.04018455,.03506812,.124737,.14305737,.1564322,.01348287,.07501114,.01962973,.06325281,.03016508,.0289823,.03186367,.04315945,.03789571,.01849442,.16075456,.01566747,.00958258,.41311253,.21811911,.01245214,.02071866,.01263823,.06468416,.01298265,.06187121,.06573142,.03041146,.00950196,.02242666,.07440752,.02620612,.0543761,.20432387,.08745086,.05618832,.18973111,.02119223,.06553696,.01669078,.05448646,.0207595,.03498496,.06463665
1987,.03365789,.03565599,.07635143,.26488418,.00765859,.05392323,.01542916,.00051143,.02327524,.02011854,.01690581,.02372708,.02856283,.05789392,.02974507,.04300929,.09925289,.05199031,.05068024,.09628315,0,.00293377,.08594212,.05234816,.01972572,.02984581,.04505101,.0119004,.02289666,.03415916,.10546729,.00354548,.04455457,.16693587,.03781935,.01049364,.04058203,.16542718,.03563275,.05701125,.11340986,.04383783,.50366708,.0310773,.03470996,.05196409,.01989206,.04605518,.04080479,.04471458,.05056577
1988,.39916493,.05581848,.09102051,.05043277,.03791876,.05011086,0,.03823403,.029977,.05107562,.12381179,.23378698,.0264333,.05735168,.04636561,.0438233,0,.06464826,.01644689,.00058795,.01005707,.02236819,0,.02410138,.04916565,.02796503,.04260059,.30635884,.03283164,.07119267,.05467729,.03420778,.06574162,.04646096,.04417866,.04339384,.01960569,.02825216,.00855225,.04460129,.01209636,.04720513,.04204657,.0331606,.31539616,.04351972,0,.04111523,.0396567,.09499597,.04401853
1989,.39586049,.00827064,.14159546,.03557043,.02483338,.050051,.00902245,.01535223,.04603927,.02875432,.03610953,.03263777,.0554129,.04349495,.05068007,.05913645,.05648652,.39247946,.23923906,.05923087,.07364277,.06611172,.03533516,.08997265,.07505927,.06517857,.03783173,.05312513,.01371635,.02325195,.0285911,.04021397,.05474138,.05696859,.07751629,.01913332,.05886363,.04382328,.03489841,.04610064,.01038588,.02881265,.03281747,.09658717,.0197818,.04656943,.00937917,.06727459,.05801276,.08892024,.04306165
1990,.07213769,.42044381,.16607193,.26270869,.11284558,.23365241,.17586835,.17580825,.30131589,.2047838,.26756447,.0951083,.17245723,.2764451,.29397665,.30042084,.26887243,.26263358,.1663541,.15797048,.11591259,.32650973,.25505461,.12785216,.30607337,.21692267,.28523154,.15923051,.23948976,.18980911,.34343292,.2301541,.3659371,.36694333,.15290809,.22252615,.23101022,.26940253,.17259027,.19803028,.20959499,.35494422,.17998086,.3287821,.18193703,.37119443,.09262359,.25665918,.15476856,.20104553,.36580247
1991,.02627107,.14226662,.13424688,.12393076,.06044336,.15942261,.05756953,.07683249,.10497712,.10666054,.10092292,.04880758,.09295925,.20956418,.0998212,.14211072,.09420415,.08979394,.13536949,.07537426,.09251207,.0002027,.09076286,.0905522,.11133563,.1018511,.07887815,.08282838,.10125069,.10102561,.08998158,.09218838,.09936742,.10876211,.07761447,.09882858,.09332648,.09356094,.08652957,.08013934,.08926578,.08944161,.07881341,.13682528,.08915127,.11445207,.03152917,.2509286,.06582496,.10826436,.34769975
1992,.03377299,.13584412,.11921043,.40866651,.04748241,.09424556,.06340244,.07947225,.50761997,.10115867,.14564419,.04845401,.08636146,.15166867,.09793047,.12040852,.10490245,.20180196,.13121159,.06835787,.11211725,.000692,.07624595,.39226199,.12093516,.10118968,.08857,.1894539,.09557288,.10208602,.08152261,.0944682,.10872202,.11429021,.2383194,.09620619,.09192641,.08780805,.07835758,.07754276,.08828259,.09906881,.2108525,.12801716,.10528929,.11272874,.17975721,.00045616,.06983387,.10880831,.05679925
1993,.03392658,.11473106,.10900756,.03745055,.04278103,.09229751,.05169928,.06361795,.00067173,.0915522,.43752673,.58956459,.11623923,.10847265,.09554463,.10730148,.09461623,.18025869,.10966475,.05118815,.07374049,.00021125,.12424616,.20041175,.46368937,.09318493,.10353004,.17170644,.08382359,.09245552,.19602456,.15339287,.10223003,.09915302,.00385027,.08225057,.1034511,.12839185,.16730531,.0777222,.0829051,.11777252,.19723312,.11616559,.07647003,.44559681,.00076442,.00096444,.06972549,.48367107,.0705484
1994,.02479524,.11669836,.1179398,.00600799,.04327344,.08488273,.10436297,.06363657,.00064243,.09135681,.00038484,.00145362,.11007234,.0934358,.12886819,.1004621,.08569113,.07867949,.11356508,.0682741,.07383918,.00034157,.07746473,.00023929,.0006787,.08863612,.06540996,.07656452,.08177745,.08576228,.19334207,.07129913,.09060476,.08740378,0,.08133545,.09168617,.1248315,0,.05947838,.08085725,.07826496,.08616984,.1138647,.0914885,.00072478,.00440137,.07482809,.0644081,.0003045,.06146175
1995,.02402379,.10304369,.09887011,0,.04280978,.07861309,.03691962,.06065342,0,.238804,0,.00202887,.04512111,.08427247,.068577,.08870722,.24178246,.19035487,.10592302,.04600054,.06886607,0,.28676158,.00307689,0,.07723072,.06268451,.19501008,.21674803,.07978517,0,.06599044,.29386523,.07693795,.04497793,.07676515,.08422759,.20031679,.00006264,.06990989,.07296639,.07235707,.08228397,.10047444,.17560871,.00032989,0,.00031898,.05576112,0,.05711709
1996,.02240259,.10217696,.09809863,.09129707,.04429731,.07442624,.03933593,.06042216,.00258334,.09559908,.00204349,.40438328,.04901909,.07990942,.06392187,.08902438,0,.0704032,.10305692,.06295784,.07265025,.0006315,.13456565,.00086891,.00211774,.07731558,.05902759,.00217224,.00187472,.07719522,.00024631,.06185764,.00032477,.07570847,.06013579,.07409709,.07405749,.0020621,.0371668,.14823687,.07758143,.13613024,.06607742,.10371232,.00206903,.0024486,0,.00035567,.06037539,.05381511,.05482971
1997,.01318177,.08716331,.08808731,.05472081,.03502323,.05552278,.11325252,.05224999,.00007343,.06319731,.000088,.04052827,.04022396,.14732929,.06561481,.10922118,0,.04657732,.07747731,.0944924,.07345631,.00022302,.06704917,1.7567759,.02675285,.05979012,.04751868,.00026994,.00024135,.05826083,.00011694,.04755208,8.361e-06,.05704443,.05084906,.05962672,.04986149,.03767134,.05695842,.10812629,.11456213,.00011042,.12341588,.14907396,.00001631,.00012368,.00326138,.0045651,.04891291,.00009152,.04205021
1998,.01763745,.15127359,.15375912,.08274739,.07654401,.08634099,.33279252,.33719682,.00020397,.12070879,.00004052,.00042122,.05827251,.00128986,.10029343,.05199912,0,.02358021,.11144727,.03997989,.12520283,.02733951,.08619343,.00052401,2.7192094,.02974278,.04232614,.07899133,.00052368,.10863663,0,.09392712,0,.10604394,.07586856,.09359342,.10831395,.09223015,.10707294,.0005625,0,.04133354,0,.00047324,.06915873,.06337514,.32851018,.00009741,.03245761,0,.04309763
1999,.05888964,.00020249,0,.01893626,.0002153,.00010508,.00194126,.00043956,.07879505,.00020445,.08029341,0,.02426494,.00010148,.00005841,0,.07618677,.07944013,.00808133,.00020249,.0000157,.01252584,.00028632,.00258048,.00076939,.00207982,.03416414,.0000949,.04799722,.00014647,.34115099,1.006225,.01065671,.00020249,0,.00010625,.00021607,0,.00016986,.00074074,.00001622,.00408072,.00020249,.00180922,.00020249,.0000923,.00199046,.00029003,.07209878,.06123214,.03537074
2000,0,.00004659,0,.00004659,.01644165,.00041362,.0023827,.00071188,0,.00009361,0,.11207951,.01409762,6.980e-06,.0000386,.02408055,0,.00016978,.00012558,.00004659,0,.00001406,0,.00248596,.00086777,.08076273,.00036154,0,.00035906,.00019464,.00240996,.00001055,0,.00005686,0,.23784981,.00001176,0,0,.00154408,.00001236,.02265669,.09707911,.07827765,.00004659,.00012142,.00248511,.01900582,.00002027,.03810187,.00047984
2001,.00016953,.00010198,.00010137,.00010198,.00018734,.0001922,.00176953,.00190729,.00008255,.00013693,.0002784,.00010198,.00022981,.00003237,0,.00020189,.00028073,.00013455,.02443823,.00010198,.32255323,.00023567,.0003719,.00138176,.00226738,.00002211,.00021058,.00029165,0,.00012752,.00236745,.00001055,.00027371,.00010549,.01997702,.00154305,.00016376,0,.00016729,.00084512,.00001881,.00008705,0,.00037228,.00010198,.01310375,.00213366,.00036218,.00004741,.00011519,.0005595
2002,.00008367,.00004001,.00006369,.00004001,.00090923,0,.00114006,.00074217,.00012353,.0000655,0,.00004001,.00020415,0,.0004242,.0001845,.00005556,.00005296,.00010765,.00004001,.00084627,.00013545,.00015965,.00108521,.00198632,0,0,.00018317,.00006726,0,.00128331,.00043657,0,.00004001,.00090923,.00041295,.00054957,.00004667,0,.00069198,0,0,.00184279,.00009541,.00004001,0,.00092061,.00093671,.00067901,0,.00009027
2003,.00425831,.00460374,.00518464,.00460374,.01537482,.00141341,.04804914,.03226816,.00485379,.00480202,.00315592,.00460374,.00935482,.00011375,.0098343,.00470349,.00471277,.00421478,.00433402,.00460374,.05232481,.00573521,.00494999,.17859725,.14515955,.00444821,.00314761,.00365202,.00362851,.00102058,.05073734,.13990913,.00373516,.00460454,.01537482,.0335668,.00368877,.00316248,.00404589,.03293128,0,.00477767,.1002418,.00479677,.00460374,.00410672,.0500455,.01575779,.00380035,.00436251,.0191546
2004,.01626028,0,.00012105,0,.00019306,.00043043,.00494858,.00292636,.00043588,0,0,0,.0014813,.01221806,.00011362,.00029998,0,.00061158,.00075596,0,.00509193,0,.00034683,.01297138,.01402819,.00035738,.00145988,.00062337,0,.00030835,.00571152,.01667756,0,0,.00019306,.00270285,.00035662,.000481,0,.00277178,.00026265,.00005735,0,.00059341,0,0,.00530983,.0006938,.00032983,0,.0001949
2005,.00082406,.00043346,.00109877,.00043346,.00314989,.00882664,.01061995,.0083418,.00124172,.00055667,.00010017,.00043346,.00185127,.00125836,.00121517,.00126953,.00132267,.00127075,.00137972,.00043346,.00974019,.00038587,.00105214,.0361568,.03827611,.00159848,.00075061,.00149001,.00171881,.00117519,.01274246,.03342906,.00005477,.00043346,.00314989,.00771146,.00108247,.00095295,.00013635,.00449296,.0010871,.0008083,.00043346,.00153002,.00043346,.00092271,.01085857,.00372866,.0009674,0,.0051975
2006,.0002231,.08388154,.00055373,.08822943,.08530339,.08459847,.29528719,.00060045,.09510685,.04665833,.09408956,.2561535,.03024986,.0808609,.03897313,.0192932,.0887862,.02250884,.00052273,.02127448,.28823453,.02164257,.02332329,.00508088,.00464108,.09456685,.04230307,.11328805,.06056854,0,.29901959,.91846644,.0004938,.0599304,.09607315,.00093291,.00052681,.12474799,.09195753,.00105749,.00076863,.02304507,.14022597,.09062511,.08679131,.03474138,.00195332,.00607241,.00050189,.0909473,.06230956
2007,.00306372,.07326743,.01236887,.07761531,.08083667,.07422974,.13924181,1.5924249,.08285969,.03055806,.08214324,.14737697,.02549721,.0759893,.02749514,.00847173,.07672651,.01072023,.0102576,.1300551,.13403544,.00767635,.01199639,.56303423,.75729969,.08289628,.04999197,.0956765,.05614119,.00382869,.1464301,.45021805,0,.04887614,.09161525,.11033938,.00612993,.12038416,.22534368,.02301173,.00818487,.01258586,.13928577,.08007699,.07617719,.02343579,.15626636,.00017205,.00474951,.07955134,.05457151
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment