Add VT2-examples: all 6 chapters of 'Visualize This' (110 files) — data scraping, ETL, trends, categorical, multivariate, spatial, distribution analysis

This commit is contained in:
neo committed 2026-06-24 14:49:15 +05:00
1 parent 088771a9cf
commit b42b866a8c
110 files changed
+400895

No files matched your search

@@ -0,0 +1,51 @@
Rk,Player,Pos,Age,Tm,G,GS,MP,FG,FGA,FGpct,3P,3PA,3Ppct,2P,2PA,2Ppct,eFGpct,FT,FTA,FTpct,ORB,DRB,TRB,AST,STL,BLK,TOV,PF,PTS,Player-additional
1,Joel Embiid,C,28,PHI,66,66,34.6,11.0,20.1,.548,1.0,3.0,.330,10.0,17.1,.587,.573,10.0,11.7,.857,1.7,8.4,10.2,4.2,1.0,1.7,3.4,3.1,33.1,embiijo01
2,Luka Dončić,PG,23,DAL,66,66,36.2,10.9,22.0,.496,2.8,8.2,.342,8.1,13.8,.588,.560,7.8,10.5,.742,0.8,7.8,8.6,8.0,1.4,0.5,3.6,2.5,32.4,doncilu01
3,Damian Lillard,PG,32,POR,58,58,36.3,9.6,20.7,.463,4.2,11.3,.371,5.4,9.4,.574,.564,8.8,9.6,.914,0.8,4.0,4.8,7.3,0.9,0.3,3.3,1.9,32.2,lillada01
4,Shai Gilgeous-Alexander,PG,24,OKC,68,68,35.5,10.4,20.3,.510,0.9,2.5,.345,9.5,17.8,.533,.531,9.8,10.9,.905,0.9,4.0,4.8,5.5,1.6,1.0,2.8,2.8,31.4,gilgesh01
5,Giannis Antetokounmpo,PF,28,MIL,63,63,32.1,11.2,20.3,.553,0.7,2.7,.275,10.5,17.6,.596,.572,7.9,12.3,.645,2.2,9.6,11.8,5.7,0.8,0.8,3.9,3.1,31.1,antetgi01
6,Jayson Tatum,SF,24,BOS,74,74,36.9,9.8,21.1,.466,3.2,9.3,.350,6.6,11.8,.558,.543,7.2,8.4,.854,1.1,7.7,8.8,4.6,1.1,0.7,2.9,2.2,30.1,tatumja01
7,Stephen Curry,PG,34,GSW,56,56,34.7,10.0,20.2,.493,4.9,11.4,.427,5.1,8.8,.579,.614,4.6,5.0,.915,0.7,5.4,6.1,6.3,0.9,0.4,3.2,2.1,29.4,curryst01
8,Kevin Durant,PF,34,TOT,47,47,35.6,10.3,18.3,.560,2.0,4.9,.404,8.3,13.4,.617,.614,6.5,7.1,.919,0.4,6.3,6.7,5.0,0.7,1.4,3.3,2.1,29.1,duranke01
9,LeBron James,PF,38,LAL,55,54,35.5,11.1,22.2,.500,2.2,6.9,.321,8.9,15.3,.580,.549,4.6,5.9,.768,1.2,7.1,8.3,6.8,0.9,0.6,3.2,1.6,28.9,jamesle01
10,Donovan Mitchell,SG,26,CLE,68,68,35.8,10.0,20.6,.484,3.6,9.3,.386,6.4,11.3,.566,.572,4.7,5.4,.867,0.9,3.3,4.3,4.4,1.5,0.4,2.6,2.5,28.3,mitchdo01
11,Devin Booker,SG,26,PHO,53,53,34.6,9.9,20.1,.494,2.1,6.0,.351,7.8,14.2,.554,.546,5.8,6.8,.855,0.9,3.7,4.5,5.5,1.0,0.3,2.7,3.0,27.8,bookede01
12,Kyrie Irving,PG-SG,30,TOT,60,60,37.4,9.9,20.1,.494,3.1,8.3,.379,6.8,11.8,.574,.572,4.1,4.6,.905,1.0,4.1,5.1,5.5,1.1,0.8,2.1,2.8,27.1,irvinky01
13,Jaylen Brown,SF,26,BOS,67,67,35.9,10.1,20.6,.491,2.4,7.3,.335,7.7,13.4,.576,.550,3.9,5.1,.765,1.2,5.7,6.9,3.5,1.1,0.4,2.9,2.6,26.6,brownja02
14,Ja Morant,PG,23,MEM,61,59,31.9,9.3,19.9,.466,1.5,4.9,.307,7.8,15.0,.519,.504,6.1,8.1,.748,1.0,4.9,5.9,8.1,1.1,0.3,3.4,1.6,26.2,moranja01
15,Trae Young,PG,24,ATL,73,73,34.8,8.2,19.0,.429,2.1,6.3,.335,6.1,12.7,.476,.485,7.8,8.8,.886,0.8,2.2,3.0,10.2,1.1,0.1,4.1,1.4,26.2,youngtr01
16,Zion Williamson,PF,22,NOP,29,29,33.0,9.8,16.2,.608,0.2,0.7,.368,9.6,15.5,.618,.615,6.1,8.6,.714,2.0,5.0,7.0,4.6,1.1,0.6,3.4,2.2,26.0,willizi01
17,Anthony Davis,C,29,LAL,56,54,34.0,9.7,17.2,.563,0.3,1.3,.257,9.3,15.9,.589,.573,6.2,7.9,.784,3.5,9.1,12.5,2.6,1.1,2.0,2.2,2.6,25.9,davisan02
18,Lauri Markkanen,PF,25,UTA,66,66,34.4,8.7,17.3,.499,3.0,7.7,.391,5.6,9.6,.585,.586,5.3,6.0,.875,2.0,6.7,8.6,1.9,0.6,0.6,1.9,2.1,25.6,markkla01
19,Julius Randle,PF,28,NYK,77,77,35.5,8.5,18.6,.459,2.8,8.3,.343,5.7,10.3,.553,.536,5.2,6.9,.757,1.8,8.1,10.0,4.1,0.6,0.3,2.8,3.0,25.1,randlju01
20,De'Aaron Fox,PG,25,SAC,73,73,33.4,9.3,18.2,.512,1.6,5.0,.324,7.7,13.2,.584,.557,4.7,6.0,.780,0.5,3.6,4.2,6.1,1.1,0.3,2.5,2.4,25.0,foxde01
21,Zach LaVine,SG,27,CHI,77,77,35.9,8.7,18.0,.485,2.6,7.1,.375,6.1,11.0,.556,.558,4.7,5.6,.848,0.5,3.9,4.5,4.2,0.9,0.2,2.5,2.1,24.8,lavinza01
22,Brandon Ingram,SF,25,NOP,45,45,34.2,9.0,18.6,.484,1.4,3.6,.390,7.6,14.9,.507,.522,5.3,6.0,.882,0.5,5.0,5.5,5.8,0.7,0.4,3.3,2.6,24.7,ingrabr01
23,Anthony Edwards,SG,21,MIN,79,79,36.0,8.9,19.5,.459,2.7,7.3,.369,6.3,12.2,.513,.528,4.0,5.3,.756,0.6,5.2,5.8,4.4,1.6,0.7,3.3,2.4,24.6,edwaran01
24,DeMar DeRozan,SF,33,CHI,74,74,36.2,8.9,17.6,.504,0.6,1.9,.324,8.3,15.7,.526,.522,6.2,7.1,.872,0.5,4.2,4.6,5.1,1.1,0.5,2.1,2.5,24.5,derozde01
25,Nikola Jokić,C,27,DEN,69,69,33.7,9.4,14.8,.632,0.8,2.2,.383,8.5,12.7,.675,.660,4.9,6.0,.822,2.4,9.4,11.8,9.8,1.3,0.7,3.6,2.5,24.5,jokicni01
26,Pascal Siakam,PF,28,TOR,71,71,37.4,8.9,18.5,.480,1.3,4.0,.324,7.6,14.5,.523,.515,5.2,6.7,.774,1.8,6.0,7.8,5.8,0.9,0.5,2.4,3.2,24.2,siakapa01
27,Jalen Brunson,PG,26,NYK,68,68,35.0,8.6,17.6,.491,2.0,4.7,.416,6.7,12.8,.519,.547,4.8,5.8,.829,0.6,3.0,3.5,6.2,0.9,0.2,2.1,2.2,24.0,brunsja01
28,Paul George,SF,32,LAC,56,56,34.6,8.2,17.9,.457,2.8,7.6,.371,5.4,10.3,.521,.536,4.6,5.3,.871,0.8,5.3,6.1,5.1,1.5,0.4,3.1,2.8,23.8,georgpa01
29,Kawhi Leonard,SF,31,LAC,52,50,33.6,8.6,16.8,.512,2.0,4.8,.416,6.6,11.9,.551,.572,4.7,5.4,.871,1.1,5.4,6.5,3.9,1.4,0.5,1.7,1.6,23.8,leonaka01
30,LaMelo Ball,PG,21,CHO,36,36,35.2,8.2,20.0,.411,4.0,10.6,.376,4.2,9.4,.450,.510,2.8,3.4,.836,1.2,5.3,6.4,8.4,1.3,0.3,3.6,3.3,23.3,ballla01
31,Kristaps Porziņģis,C,27,WAS,65,65,32.6,7.8,15.7,.498,2.1,5.5,.385,5.7,10.2,.559,.565,5.4,6.4,.851,1.8,6.6,8.4,2.7,0.9,1.5,2.1,3.0,23.2,porzikr01
32,Bradley Beal,SG,29,WAS,50,50,33.5,8.9,17.6,.506,1.6,4.4,.365,7.3,13.2,.552,.551,3.8,4.6,.842,0.8,3.1,3.9,5.4,0.9,0.7,2.9,2.1,23.2,bealbr01
33,Jimmy Butler,PF,33,MIA,64,64,33.4,7.5,13.9,.539,0.6,1.6,.350,6.9,12.3,.564,.560,7.4,8.7,.850,2.2,3.7,5.9,5.3,1.8,0.3,1.6,1.3,22.9,butleji01
34,Jalen Green,SG,20,HOU,76,76,34.2,7.4,17.9,.416,2.5,7.3,.338,5.0,10.6,.471,.485,4.8,6.1,.786,0.6,3.2,3.7,3.7,0.8,0.2,2.6,1.7,22.1,greenja05
35,Keldon Johnson,SF,23,SAS,63,63,32.7,8.0,17.7,.452,2.1,6.5,.329,5.9,11.2,.523,.512,3.9,5.2,.749,0.9,4.2,5.0,2.9,0.7,0.2,2.1,2.0,22.0,johnske04
36,Klay Thompson,SF,32,GSW,69,69,33.0,7.9,18.1,.436,4.4,10.6,.412,3.6,7.6,.470,.556,1.7,1.9,.879,0.6,3.6,4.1,2.4,0.7,0.4,1.8,1.9,21.9,thompkl01
37,Bojan Bogdanović,PF,33,DET,59,59,32.1,7.3,14.9,.488,2.5,6.0,.411,4.8,9.0,.539,.570,4.5,5.1,.884,0.6,3.2,3.8,2.6,0.6,0.1,2.3,1.9,21.6,bogdabo02
38,Darius Garland,PG,23,CLE,69,69,35.5,7.6,16.4,.462,2.4,6.0,.410,5.1,10.4,.492,.537,4.0,4.7,.863,0.4,2.3,2.7,7.8,1.2,0.1,2.9,2.1,21.6,garlada01
39,Desmond Bane,SG,24,MEM,58,58,31.7,7.8,16.2,.479,2.9,7.0,.408,4.9,9.2,.534,.568,3.1,3.5,.883,0.7,4.3,5.0,4.4,1.0,0.4,2.2,2.6,21.5,banede01
40,Kyle Kuzma,PF,27,WAS,64,64,35.0,8.0,17.8,.448,2.5,7.5,.333,5.5,10.3,.533,.518,2.7,3.7,.730,0.9,6.4,7.2,3.7,0.6,0.5,3.0,2.3,21.2,kuzmaky01
41,Terry Rozier,SG,28,CHO,63,63,35.3,7.8,18.9,.415,2.6,8.0,.327,5.2,10.8,.480,.484,2.8,3.5,.809,0.8,3.3,4.1,5.1,1.2,0.3,2.1,1.9,21.1,roziete01
42,Anfernee Simons,SG,23,POR,62,62,35.0,7.5,16.9,.447,3.4,9.1,.377,4.1,7.8,.528,.548,2.6,2.9,.894,0.3,2.3,2.6,4.1,0.7,0.2,2.1,2.3,21.1,simonan01
43,James Harden,PG,33,PHI,58,58,36.8,6.4,14.5,.441,2.8,7.2,.385,3.6,7.3,.495,.536,5.4,6.2,.867,0.7,5.4,6.1,10.7,1.2,0.5,3.4,1.9,21.0,hardeja01
44,CJ McCollum,SG,31,NOP,75,75,35.3,7.8,17.9,.437,2.8,7.2,.389,5.0,10.7,.469,.515,2.4,3.2,.769,0.7,3.6,4.4,5.7,0.9,0.5,2.4,2.0,20.9,mccolcj01
45,Jordan Clarkson,SG,30,UTA,61,61,32.6,7.5,16.9,.444,2.5,7.5,.338,5.0,9.4,.530,.519,3.3,4.0,.816,1.2,2.9,4.0,4.4,0.5,0.2,3.0,2.0,20.8,clarkjo01
46,Karl-Anthony Towns,PF,27,MIN,29,29,33.0,7.3,14.8,.495,2.1,5.7,.366,5.2,9.1,.576,.565,4.1,4.7,.874,1.7,6.5,8.1,4.8,0.7,0.6,3.0,3.8,20.8,townska01
47,Tyrese Haliburton,PG,22,IND,56,56,33.6,7.4,15.0,.490,2.9,7.2,.400,4.5,7.8,.572,.586,3.1,3.6,.871,0.6,3.1,3.7,10.4,1.6,0.4,2.5,1.2,20.7,halibty01
48,Jerami Grant,PF,28,POR,63,63,35.7,6.9,14.5,.475,2.3,5.7,.401,4.6,8.8,.523,.554,4.4,5.4,.813,0.8,3.7,4.5,2.4,0.8,0.8,1.8,2.4,20.5,grantje01
49,Dejounte Murray,SG,26,ATL,74,74,36.4,8.3,17.8,.464,1.8,5.2,.344,6.5,12.6,.514,.514,2.1,2.6,.832,0.7,4.5,5.3,6.1,1.5,0.3,2.2,1.4,20.5,murrade01
50,Bam Adebayo,C,25,MIA,75,75,34.6,8.0,14.9,.540,0.0,0.2,.083,8.0,14.7,.545,.541,4.3,5.4,.806,2.5,6.7,9.2,3.2,1.2,0.8,2.5,2.8,20.4,adebaba01
1 Rk Player Pos Age Tm G GS MP FG FGA FGpct 3P 3PA 3Ppct 2P 2PA 2Ppct eFGpct FT FTA FTpct ORB DRB TRB AST STL BLK TOV PF PTS Player-additional
2 1 Joel Embiid C 28 PHI 66 66 34.6 11.0 20.1 .548 1.0 3.0 .330 10.0 17.1 .587 .573 10.0 11.7 .857 1.7 8.4 10.2 4.2 1.0 1.7 3.4 3.1 33.1 embiijo01
3 2 Luka Dončić PG 23 DAL 66 66 36.2 10.9 22.0 .496 2.8 8.2 .342 8.1 13.8 .588 .560 7.8 10.5 .742 0.8 7.8 8.6 8.0 1.4 0.5 3.6 2.5 32.4 doncilu01
4 3 Damian Lillard PG 32 POR 58 58 36.3 9.6 20.7 .463 4.2 11.3 .371 5.4 9.4 .574 .564 8.8 9.6 .914 0.8 4.0 4.8 7.3 0.9 0.3 3.3 1.9 32.2 lillada01
5 4 Shai Gilgeous-Alexander PG 24 OKC 68 68 35.5 10.4 20.3 .510 0.9 2.5 .345 9.5 17.8 .533 .531 9.8 10.9 .905 0.9 4.0 4.8 5.5 1.6 1.0 2.8 2.8 31.4 gilgesh01
6 5 Giannis Antetokounmpo PF 28 MIL 63 63 32.1 11.2 20.3 .553 0.7 2.7 .275 10.5 17.6 .596 .572 7.9 12.3 .645 2.2 9.6 11.8 5.7 0.8 0.8 3.9 3.1 31.1 antetgi01
7 6 Jayson Tatum SF 24 BOS 74 74 36.9 9.8 21.1 .466 3.2 9.3 .350 6.6 11.8 .558 .543 7.2 8.4 .854 1.1 7.7 8.8 4.6 1.1 0.7 2.9 2.2 30.1 tatumja01
8 7 Stephen Curry PG 34 GSW 56 56 34.7 10.0 20.2 .493 4.9 11.4 .427 5.1 8.8 .579 .614 4.6 5.0 .915 0.7 5.4 6.1 6.3 0.9 0.4 3.2 2.1 29.4 curryst01
9 8 Kevin Durant PF 34 TOT 47 47 35.6 10.3 18.3 .560 2.0 4.9 .404 8.3 13.4 .617 .614 6.5 7.1 .919 0.4 6.3 6.7 5.0 0.7 1.4 3.3 2.1 29.1 duranke01
10 9 LeBron James PF 38 LAL 55 54 35.5 11.1 22.2 .500 2.2 6.9 .321 8.9 15.3 .580 .549 4.6 5.9 .768 1.2 7.1 8.3 6.8 0.9 0.6 3.2 1.6 28.9 jamesle01
11 10 Donovan Mitchell SG 26 CLE 68 68 35.8 10.0 20.6 .484 3.6 9.3 .386 6.4 11.3 .566 .572 4.7 5.4 .867 0.9 3.3 4.3 4.4 1.5 0.4 2.6 2.5 28.3 mitchdo01
12 11 Devin Booker SG 26 PHO 53 53 34.6 9.9 20.1 .494 2.1 6.0 .351 7.8 14.2 .554 .546 5.8 6.8 .855 0.9 3.7 4.5 5.5 1.0 0.3 2.7 3.0 27.8 bookede01
13 12 Kyrie Irving PG-SG 30 TOT 60 60 37.4 9.9 20.1 .494 3.1 8.3 .379 6.8 11.8 .574 .572 4.1 4.6 .905 1.0 4.1 5.1 5.5 1.1 0.8 2.1 2.8 27.1 irvinky01
14 13 Jaylen Brown SF 26 BOS 67 67 35.9 10.1 20.6 .491 2.4 7.3 .335 7.7 13.4 .576 .550 3.9 5.1 .765 1.2 5.7 6.9 3.5 1.1 0.4 2.9 2.6 26.6 brownja02
15 14 Ja Morant PG 23 MEM 61 59 31.9 9.3 19.9 .466 1.5 4.9 .307 7.8 15.0 .519 .504 6.1 8.1 .748 1.0 4.9 5.9 8.1 1.1 0.3 3.4 1.6 26.2 moranja01
16 15 Trae Young PG 24 ATL 73 73 34.8 8.2 19.0 .429 2.1 6.3 .335 6.1 12.7 .476 .485 7.8 8.8 .886 0.8 2.2 3.0 10.2 1.1 0.1 4.1 1.4 26.2 youngtr01
17 16 Zion Williamson PF 22 NOP 29 29 33.0 9.8 16.2 .608 0.2 0.7 .368 9.6 15.5 .618 .615 6.1 8.6 .714 2.0 5.0 7.0 4.6 1.1 0.6 3.4 2.2 26.0 willizi01
18 17 Anthony Davis C 29 LAL 56 54 34.0 9.7 17.2 .563 0.3 1.3 .257 9.3 15.9 .589 .573 6.2 7.9 .784 3.5 9.1 12.5 2.6 1.1 2.0 2.2 2.6 25.9 davisan02
19 18 Lauri Markkanen PF 25 UTA 66 66 34.4 8.7 17.3 .499 3.0 7.7 .391 5.6 9.6 .585 .586 5.3 6.0 .875 2.0 6.7 8.6 1.9 0.6 0.6 1.9 2.1 25.6 markkla01
20 19 Julius Randle PF 28 NYK 77 77 35.5 8.5 18.6 .459 2.8 8.3 .343 5.7 10.3 .553 .536 5.2 6.9 .757 1.8 8.1 10.0 4.1 0.6 0.3 2.8 3.0 25.1 randlju01
21 20 De'Aaron Fox PG 25 SAC 73 73 33.4 9.3 18.2 .512 1.6 5.0 .324 7.7 13.2 .584 .557 4.7 6.0 .780 0.5 3.6 4.2 6.1 1.1 0.3 2.5 2.4 25.0 foxde01
22 21 Zach LaVine SG 27 CHI 77 77 35.9 8.7 18.0 .485 2.6 7.1 .375 6.1 11.0 .556 .558 4.7 5.6 .848 0.5 3.9 4.5 4.2 0.9 0.2 2.5 2.1 24.8 lavinza01
23 22 Brandon Ingram SF 25 NOP 45 45 34.2 9.0 18.6 .484 1.4 3.6 .390 7.6 14.9 .507 .522 5.3 6.0 .882 0.5 5.0 5.5 5.8 0.7 0.4 3.3 2.6 24.7 ingrabr01
24 23 Anthony Edwards SG 21 MIN 79 79 36.0 8.9 19.5 .459 2.7 7.3 .369 6.3 12.2 .513 .528 4.0 5.3 .756 0.6 5.2 5.8 4.4 1.6 0.7 3.3 2.4 24.6 edwaran01
25 24 DeMar DeRozan SF 33 CHI 74 74 36.2 8.9 17.6 .504 0.6 1.9 .324 8.3 15.7 .526 .522 6.2 7.1 .872 0.5 4.2 4.6 5.1 1.1 0.5 2.1 2.5 24.5 derozde01
26 25 Nikola Jokić C 27 DEN 69 69 33.7 9.4 14.8 .632 0.8 2.2 .383 8.5 12.7 .675 .660 4.9 6.0 .822 2.4 9.4 11.8 9.8 1.3 0.7 3.6 2.5 24.5 jokicni01
27 26 Pascal Siakam PF 28 TOR 71 71 37.4 8.9 18.5 .480 1.3 4.0 .324 7.6 14.5 .523 .515 5.2 6.7 .774 1.8 6.0 7.8 5.8 0.9 0.5 2.4 3.2 24.2 siakapa01
28 27 Jalen Brunson PG 26 NYK 68 68 35.0 8.6 17.6 .491 2.0 4.7 .416 6.7 12.8 .519 .547 4.8 5.8 .829 0.6 3.0 3.5 6.2 0.9 0.2 2.1 2.2 24.0 brunsja01
29 28 Paul George SF 32 LAC 56 56 34.6 8.2 17.9 .457 2.8 7.6 .371 5.4 10.3 .521 .536 4.6 5.3 .871 0.8 5.3 6.1 5.1 1.5 0.4 3.1 2.8 23.8 georgpa01
30 29 Kawhi Leonard SF 31 LAC 52 50 33.6 8.6 16.8 .512 2.0 4.8 .416 6.6 11.9 .551 .572 4.7 5.4 .871 1.1 5.4 6.5 3.9 1.4 0.5 1.7 1.6 23.8 leonaka01
31 30 LaMelo Ball PG 21 CHO 36 36 35.2 8.2 20.0 .411 4.0 10.6 .376 4.2 9.4 .450 .510 2.8 3.4 .836 1.2 5.3 6.4 8.4 1.3 0.3 3.6 3.3 23.3 ballla01
32 31 Kristaps Porziņģis C 27 WAS 65 65 32.6 7.8 15.7 .498 2.1 5.5 .385 5.7 10.2 .559 .565 5.4 6.4 .851 1.8 6.6 8.4 2.7 0.9 1.5 2.1 3.0 23.2 porzikr01
33 32 Bradley Beal SG 29 WAS 50 50 33.5 8.9 17.6 .506 1.6 4.4 .365 7.3 13.2 .552 .551 3.8 4.6 .842 0.8 3.1 3.9 5.4 0.9 0.7 2.9 2.1 23.2 bealbr01
34 33 Jimmy Butler PF 33 MIA 64 64 33.4 7.5 13.9 .539 0.6 1.6 .350 6.9 12.3 .564 .560 7.4 8.7 .850 2.2 3.7 5.9 5.3 1.8 0.3 1.6 1.3 22.9 butleji01
35 34 Jalen Green SG 20 HOU 76 76 34.2 7.4 17.9 .416 2.5 7.3 .338 5.0 10.6 .471 .485 4.8 6.1 .786 0.6 3.2 3.7 3.7 0.8 0.2 2.6 1.7 22.1 greenja05
36 35 Keldon Johnson SF 23 SAS 63 63 32.7 8.0 17.7 .452 2.1 6.5 .329 5.9 11.2 .523 .512 3.9 5.2 .749 0.9 4.2 5.0 2.9 0.7 0.2 2.1 2.0 22.0 johnske04
37 36 Klay Thompson SF 32 GSW 69 69 33.0 7.9 18.1 .436 4.4 10.6 .412 3.6 7.6 .470 .556 1.7 1.9 .879 0.6 3.6 4.1 2.4 0.7 0.4 1.8 1.9 21.9 thompkl01
38 37 Bojan Bogdanović PF 33 DET 59 59 32.1 7.3 14.9 .488 2.5 6.0 .411 4.8 9.0 .539 .570 4.5 5.1 .884 0.6 3.2 3.8 2.6 0.6 0.1 2.3 1.9 21.6 bogdabo02
39 38 Darius Garland PG 23 CLE 69 69 35.5 7.6 16.4 .462 2.4 6.0 .410 5.1 10.4 .492 .537 4.0 4.7 .863 0.4 2.3 2.7 7.8 1.2 0.1 2.9 2.1 21.6 garlada01
40 39 Desmond Bane SG 24 MEM 58 58 31.7 7.8 16.2 .479 2.9 7.0 .408 4.9 9.2 .534 .568 3.1 3.5 .883 0.7 4.3 5.0 4.4 1.0 0.4 2.2 2.6 21.5 banede01
41 40 Kyle Kuzma PF 27 WAS 64 64 35.0 8.0 17.8 .448 2.5 7.5 .333 5.5 10.3 .533 .518 2.7 3.7 .730 0.9 6.4 7.2 3.7 0.6 0.5 3.0 2.3 21.2 kuzmaky01
42 41 Terry Rozier SG 28 CHO 63 63 35.3 7.8 18.9 .415 2.6 8.0 .327 5.2 10.8 .480 .484 2.8 3.5 .809 0.8 3.3 4.1 5.1 1.2 0.3 2.1 1.9 21.1 roziete01
43 42 Anfernee Simons SG 23 POR 62 62 35.0 7.5 16.9 .447 3.4 9.1 .377 4.1 7.8 .528 .548 2.6 2.9 .894 0.3 2.3 2.6 4.1 0.7 0.2 2.1 2.3 21.1 simonan01
44 43 James Harden PG 33 PHI 58 58 36.8 6.4 14.5 .441 2.8 7.2 .385 3.6 7.3 .495 .536 5.4 6.2 .867 0.7 5.4 6.1 10.7 1.2 0.5 3.4 1.9 21.0 hardeja01
45 44 CJ McCollum SG 31 NOP 75 75 35.3 7.8 17.9 .437 2.8 7.2 .389 5.0 10.7 .469 .515 2.4 3.2 .769 0.7 3.6 4.4 5.7 0.9 0.5 2.4 2.0 20.9 mccolcj01
46 45 Jordan Clarkson SG 30 UTA 61 61 32.6 7.5 16.9 .444 2.5 7.5 .338 5.0 9.4 .530 .519 3.3 4.0 .816 1.2 2.9 4.0 4.4 0.5 0.2 3.0 2.0 20.8 clarkjo01
47 46 Karl-Anthony Towns PF 27 MIN 29 29 33.0 7.3 14.8 .495 2.1 5.7 .366 5.2 9.1 .576 .565 4.1 4.7 .874 1.7 6.5 8.1 4.8 0.7 0.6 3.0 3.8 20.8 townska01
48 47 Tyrese Haliburton PG 22 IND 56 56 33.6 7.4 15.0 .490 2.9 7.2 .400 4.5 7.8 .572 .586 3.1 3.6 .871 0.6 3.1 3.7 10.4 1.6 0.4 2.5 1.2 20.7 halibty01
49 48 Jerami Grant PF 28 POR 63 63 35.7 6.9 14.5 .475 2.3 5.7 .401 4.6 8.8 .523 .554 4.4 5.4 .813 0.8 3.7 4.5 2.4 0.8 0.8 1.8 2.4 20.5 grantje01
50 49 Dejounte Murray SG 26 ATL 74 74 36.4 8.3 17.8 .464 1.8 5.2 .344 6.5 12.6 .514 .514 2.1 2.6 .832 0.7 4.5 5.3 6.1 1.5 0.3 2.2 1.4 20.5 murrade01
51 50 Bam Adebayo C 25 MIA 75 75 34.6 8.0 14.9 .540 0.0 0.2 .083 8.0 14.7 .545 .541 4.3 5.4 .806 2.5 6.7 9.2 3.2 1.2 0.8 2.5 2.8 20.4 adebaba01
@@ -0,0 +1,570 @@
"code" "name"
"0" "N/A (not applicable)"
"10" "Chief executives"
"20" "General and operations managers"
"30" "Legislators"
"40" "Advertising and promotions managers"
"50" "Marketing and sales managers"
"60" "Public relations managers"
"100" "Administrative services managers"
"110" "Computer and information systems managers"
"120" "Financial managers"
"135" "Compensation and Benefits Managers"
"136" "Human Resources Managers"
"137" "Training and Development Managers"
"140" "Industrial production managers"
"150" "Purchasing managers"
"160" "Transportation, storage, and distribution managers"
"205" "Farmers, Ranchers, and Other Agricultural Managers"
"220" "Construction managers"
"230" "Education administrators"
"300" "Engineering managers"
"310" "Food service managers"
"325" "Funeral service managers"
"330" "Gaming managers"
"340" "Lodging managers"
"350" "Medical and health services managers"
"360" "Natural sciences managers"
"400" "Postmasters and mail superintendents"
"410" "Property, real estate, and community association managers"
"420" "Social and community service managers"
"425" "Emergency Management Directors"
"430" "Managers, all other"
"500" "Agents and business managers of artists, performers, and athletes"
"510" "Purchasing agents and buyers, farm products"
"520" "Wholesale and retail buyers, except farm products"
"530" "Purchasing agents, except wholesale, retail, and farm products"
"540" "Claims adjusters, appraisers, examiners, and investigators"
"550" "Not used"
"565" "Compliance officers"
"600" "Cost estimators"
"610" "Not used"
"630" "Human resource workers"
"640" "Compensation, benefits, and job analysis specialists"
"650" "Training and development specialists"
"700" "Logisticians"
"710" "Management analysts"
"725" "Meeting, convention, and event planners"
"726" "Fundraisers"
"735" "Market research analysts and marketing specialists"
"740" "Business operations specialists, all other"
"800" "Accountants and auditors"
"810" "Appraisers and assessors of real estate"
"820" "Budget analysts"
"830" "Credit analysts"
"840" "Financial analysts"
"850" "Personal financial advisors"
"860" "Insurance underwriters"
"900" "Financial examiners"
"910" "Loan counselors and officers"
"920" "Not used"
"930" "Tax examiners, collectors, and revenue agents"
"940" "Tax preparers"
"950" "Financial specialists, all other"
"1000" "Computer scientists and systems analysts"
"1005" "Computer and information research scientists"
"1006" "Computer systems analysts"
"1007" "Information security analysts"
"1010" "Computer programmers"
"1020" "Software developers, applications and systems software"
"1030" "Web developers"
"1050" "Computer support specialists"
"1060" "Database administrators"
"1105" "Network and computer systems administrators"
"1106" "Computer network architects"
"1107" "Computer occupations, all other"
"1200" "Actuaries"
"1210" "Mathematicians"
"1220" "Operations research analysts"
"1230" "Statisticians"
"1240" "Miscellaneous mathematical science occupations"
"1300" "Architects, except naval"
"1310" "Surveyors, cartographers, and photogrammetrists"
"1320" "Aerospace engineers"
"1330" "Agricultural engineers"
"1340" "Biomedical engineers"
"1350" "Chemical engineers"
"1360" "Civil engineers"
"1400" "Computer hardware engineers"
"1410" "Electrical and electronics engineers"
"1420" "Environmental engineers"
"1430" "Industrial engineers, including health and safety"
"1440" "Marine engineers and naval architects"
"1450" "Materials engineers"
"1460" "Mechanical engineers"
"1500" "Mining and geological engineers, including mining safety engineers"
"1510" "Nuclear engineers"
"1520" "Petroleum engineers"
"1530" "Engineers, all other"
"1540" "Drafters"
"1550" "Engineering technicians, except drafters"
"1560" "Surveying and mapping technicians"
"1600" "Agricultural and food scientists"
"1610" "Biological scientists"
"1640" "Conservation scientists and foresters"
"1650" "Medical scientists"
"1660" "Life scientists, all other"
"1700" "Astronomers and physicists"
"1710" "Atmospheric and space scientists"
"1720" "Chemists and materials scientists"
"1730" "Not used"
"1740" "Environmental scientists and geoscientists"
"1750" "Not used"
"1760" "Physical scientists, all other"
"1800" "Economists"
"1815" "Survey researchers"
"1820" "Psychologists"
"1830" "Sociologists"
"1840" "Urban and regional planners"
"1850" "Not used"
"1860" "Miscellaneous social scientists and related workers"
"1900" "Agricultural and food science technicians"
"1910" "Biological technicians"
"1920" "Chemical technicians"
"1930" "Geological and petroleum technicians"
"1940" "Nuclear technicians"
"1950" "Social science research assistants"
"1965" "Miscellaneous life, physical, and social science technicians"
"2000" "Counselors"
"2010" "Social workers"
"2015" "Probation officers and correctional treatment specialists"
"2016" "Social and human service assistants"
"2025" "Miscellaneous community and social service specialists, including health educators and community health workers"
"2030" "Not used"
"2040" "Clergy"
"2050" "Directors, religious activities and education"
"2060" "Religious workers, all other"
"2100" "Lawyers, Judges, magistrates, and other judicial workers"
"2105" "Judicial law clerks"
"2110" "Judges, magistrates, and other judicial workers"
"2145" "Paralegals and legal assistants"
"2160" "Miscellaneous legal support workers"
"2200" "Postsecondary teachers"
"2300" "Preschool and kindergarten teachers"
"2310" "Elementary and middle school teachers"
"2320" "Secondary school teachers"
"2330" "Special education teachers"
"2340" "Other teachers and instructors"
"2400" "Archivists, curators, and museum technicians"
"2430" "Librarians"
"2440" "Library technicians"
"2540" "Teacher assistants"
"2550" "Other education, training, and library workers"
"2600" "Artists and related workers"
"2630" "Designers"
"2700" "Actors"
"2710" "Producers and directors"
"2720" "Athletes, coaches, umpires, and related workers"
"2730" "Not used"
"2740" "Dancers and choreographers"
"2750" "Musicians, singers, and related workers"
"2760" "Entertainers and performers, sports and related workers, all other"
"2800" "Announcers"
"2810" "News analysts, reporters, and correspondents"
"2825" "Public relations specialists"
"2830" "Editors"
"2840" "Technical writers"
"2850" "Writers and authors"
"2860" "Miscellaneous media and communications workers"
"2900" "Broadcast and sound engineering technicians and radio operators"
"2910" "Photographers"
"2920" "Television, video, and motion picture camera operators and editors"
"2960" "Media and communications workers, all other"
"3000" "Chiropractors"
"3010" "Dentists"
"3020" "Not used"
"3030" "Dietitians and nutritionists"
"3040" "Optometrists"
"3050" "Pharmacists"
"3060" "Physicians and surgeons"
"3110" "Physician assistants"
"3120" "Podiatrists"
"3140" "Audiologists"
"3150" "Occupational therapists"
"3160" "Physical therapists"
"3200" "Radiation therapists"
"3210" "Recreational therapists"
"3220" "Respiratory therapists"
"3230" "Speech-language pathologists"
"3235" "Exercise Physiologists"
"3245" "Therapists, all other"
"3250" "Veterinarians"
"3255" "Registered nurses"
"3256" "Nurse anesthetists"
"3257" "Nurse midwives"
"3258" "Nurse practitioners"
"3260" "Health diagnosing and treating practitioners, all other"
"3300" "Clinical laboratory technologists and technicians"
"3310" "Dental hygienists"
"3320" "Diagnostic related technologists and technicians"
"3400" "Emergency medical technicians and paramedics"
"3420" "Health practitioner support technologists and technicians "
"3500" "Licensed practical and licensed vocational nurses"
"3510" "Medical records and health information technicians"
"3520" "Opticians, dispensing"
"3535" "Miscellaneous health technologists and technicians"
"3540" "Other healthcare practitioners and technical occupations"
"3600" "Nursing, psychiatric, and home health aides"
"3610" "Occupational therapist assistants and aides"
"3620" "Physical therapist assistants and aides"
"3630" "Massage therapists"
"3640" "Dental assistants"
"3645" "Medical assistants"
"3646" "Medical transcriptionists"
"3647" "Pharmacy aides"
"3648" "Veterinary assistants and labratory animal caretakers"
"3649" "Phlebotmists"
"3655" "Miscellaneous healthcare support occupations, including medical equipment preparers"
"3700" "First-line supervisors/managers of correctional officers"
"3710" "First-line supervisors/managers of police and detectives"
"3720" "First-line supervisors/managers of fire fighting and preventions workers"
"3730" "Supervisors, protective service workers, all other"
"3740" "Fire fighters"
"3750" "Fire inspectors"
"3800" "Bailiffs, correctional officers, and jailers"
"3810" "Not used"
"3820" "Detectives and criminal investigators"
"3830" "Fish and game wardens"
"3840" "Parking enforcement workers"
"3850" "Police and sheriff's patrol officers"
"3860" "Transit and railroad police"
"3900" "Animal control workers"
"3910" "Private detectives and investigators"
"3930" "Security guards and gaming surveillance officers"
"3940" "Crossing guards"
"3945" "Transportation security screeners"
"3955" "Lifeguards and other recreational, and all other protective service workers"
"4000" "Chefs and head cooks"
"4010" "First-line supervisors/managers of food preparation and serving workers"
"4020" "Cooks"
"4030" "Food preparation workers"
"4040" "Bartenders"
"4050" "Combined food preparation and serving workers, including fast food"
"4060" "Counter attendants, cafeteria, food concession, and coffee shop"
"4110" "Waiters and waitresses"
"4120" "Food servers, nonrestaurant"
"4130" "Dining room, cafeteria attendants, and misc. food preparation workers"
"4140" "Dishwashers"
"4150" "Hosts and hostesses, restaurant, lounge, and coffee shop"
"4160" "Food preparation and serving related workers, all other"
"4200" "First-line supervisors/managers of housekeeping and janitorial workers"
"4210" "First-line supervisors/managers of landscaping workers"
"4220" "Janitors and building cleaners"
"4230" "Maids and housekeeping cleaners"
"4240" "Pest control workers"
"4250" "Grounds maintenance workers"
"4300" "First-line supervisors/managers of gaming workers"
"4310" "Not used"
"4320" "First-line supervisors/managers of personal service workers"
"4330" "Not used"
"4340" "Animal trainers"
"4350" "Nonfarm animal caretakers"
"4400" "Gaming services workers"
"4410" "Motion picture projectionists"
"4420" "Ushers, lobby attendants, and ticket takers"
"4430" "Miscellaneous entertainment attendants and related workers"
"4460" "Funeral service workers "
"4465" "Morticians, undertakers, and funeral directors (2011 forward)"
"4500" "Barbers"
"4510" "Hairdressers, hairstylists, and cosmetologists"
"4520" "Miscellaneous personal appearance workers"
"4530" "Baggage porters, bellhops, and concierges"
"4540" "Tour and travel guides"
"4550" "Transportation attendants"
"4600" "Child care workers"
"4610" "Personal and home care aides"
"4620" "Recreation and fitness workers"
"4630" "Not used"
"4640" "Residential advisors"
"4650" "Personal care and service workers, all other"
"4700" "First-line supervisors/managers of retail sales workers"
"4710" "First-line supervisors/managers of non-retail sales workers"
"4720" "Cashiers"
"4730" "Not used"
"4740" "Counter and rental clerks"
"4750" "Parts salespersons"
"4760" "Retail salespersons"
"4800" "Advertising sales agents"
"4810" "Insurance sales agents"
"4820" "Securities, commodities, and financial services sales agents"
"4830" "Travel agents"
"4840" "Sales representatives, services, all other"
"4850" "Sales representatives, wholesale and manufacturing"
"4900" "Models, demonstrators, and product promoters"
"4910" "Not used"
"4920" "Real estate brokers and sales agents"
"4930" "Sales engineers"
"4940" "Telemarketers"
"4950" "Door-to-door sales workers, news and street vendors, and related workers"
"4965" "Sales and related workers, all other"
"5000" "First-line supervisors/managers of office and administrative support workers"
"5010" "Switchboard operators, including answering service"
"5020" "Telephone operators"
"5030" "Communications equipment operators, all other"
"5100" "Bill and account collectors"
"5110" "Billing and posting clerks and machine operators"
"5120" "Bookkeeping, accounting, and auditing clerks"
"5130" "Gaming cage workers"
"5140" "Payroll and timekeeping clerks"
"5150" "Procurement clerks"
"5160" "Tellers"
"5165" "Financial clerks, all other"
"5200" "Brokerage clerks"
"5210" "Correspondence clerks"
"5220" "Court, municipal, and license clerks"
"5230" "Credit authorizers, checkers, and clerks"
"5240" "Customer service representatives"
"5250" "Eligibility interviewers, government programs"
"5260" "File clerks"
"5300" "Hotel, motel, and resort desk clerks"
"5310" "Interviewers, except eligibility and loan"
"5320" "Library assistants, clerical"
"5330" "Loan interviewers and clerks"
"5340" "New accounts clerks"
"5350" "Order clerks"
"5360" "Human resources assistants, except payroll and timekeeping"
"5400" "Receptionists and information clerks"
"5410" "Reservation and transportation ticket agents and travel clerks"
"5420" "Information and record clerks, all other"
"5500" "Cargo and freight agents"
"5510" "Couriers and messengers"
"5520" "Dispatchers"
"5530" "Meter readers, utilities"
"5540" "Postal service clerks"
"5550" "Postal service mail carriers"
"5560" "Postal service mail sorters, processors, and processing machine operators"
"5600" "Production, planning and expediting clerks"
"5610" "Shipping, receiving, and traffic clerks"
"5620" "Stock clerks and order fillers"
"5630" "Weighers, measurers, checkers, and samplers, record keeping"
"5700" "Secretaries and administrative assistants"
"5800" "Computer operators"
"5810" "Data entry keyers"
"5820" "Word processors and typists"
"5830" "Desktop publishers"
"5840" "Insurance claims and policy processing clerks"
"5850" "Mail clerks and mail machine operators, except postal service"
"5860" "Office clerks, general"
"5900" "Office machine operators, except computer"
"5910" "Proofreaders and copy markers"
"5920" "Statistical assistants"
"5940" "Office and administrative support workers, all other"
"6005" "First-line supervisors of farming, fishing, and forestry workers"
"6010" "Agricultural inspectors"
"6020" "Animal breeders"
"6030" "Not used"
"6040" "Graders and sorters, agricultural products"
"6050" "Miscellaneous agricultural workers"
"6100" "Fishers and related fishing workers"
"6110" "Hunters and trappers"
"6120" "Forest and conservation workers"
"6130" "Logging workers"
"6200" "First-line supervisors/managers of construction trades and extraction workers"
"6210" "Boilermakers"
"6220" "Brickmasons, blockmasons, and stonemasons"
"6230" "Carpenters"
"6240" "Carpet, floor, and tile installers and finishers"
"6250" "Cement masons, concrete finishers, and terrazzo workers"
"6260" "Construction laborers"
"6300" "Paving, surfacing, and tamping equipment operators"
"6310" "Pile-driver operators"
"6320" "Operating engineers and other construction equipment operators"
"6330" "Drywall installers, ceiling tile installers, and tapers"
"6340" "Not used"
"6355" "Electricians"
"6360" "Glaziers"
"6400" "Insulation workers"
"6410" "Not used"
"6420" "Painters, construction and maintenance"
"6430" "Paperhangers"
"6440" "Pipelayers, plumbers, pipefitters, and steamfitters"
"6450" "Not used"
"6460" "Plasterers and stucco masons"
"6500" "Reinforcing iron and rebar workers"
"6515" "Roofers"
"6520" "Sheet metal workers"
"6530" "Solar Photovoltaic Installers"
"6540" "Structural iron and steel workers"
"6600" "Helpers, construction trades"
"6660" "Construction and building inspectors"
"6700" "Elevator installers and repairers"
"6710" "Fence erectors"
"6720" "Hazardous materials removal workers"
"6730" "Highway maintenance workers"
"6740" "Rail-track laying and maintenance equipment operators"
"6750" "Septic tank servicers and sewer pipe cleaners"
"6765" "Miscellaneous construction and related workers"
"6800" "Derrick, rotary drill, and service unit operators, oil, gas, and mining"
"6810" "Not used"
"6820" "Earth drillers, except oil and gas"
"6830" "Explosives workers, ordnance handling experts, and blasters"
"6840" "Mining machine operators"
"6910" "Roof bolters, mining"
"6920" "Roustabouts, oil and gas"
"6930" "Helpers -- extraction workers"
"6940" "Other extraction workers"
"7000" "First-line supervisors/managers of mechanics, installers, and repairers"
"7010" "Computer, automated teller, and office machine repairers"
"7020" "Radio and telecommunications equipment installers and repairers"
"7030" "Avionics technicians"
"7040" "Electric motor, power tool, and related repairers"
"7050" "Electrical and electronics installers and repairers, transportation equipment"
"7100" "Electrical and electronics repairers, industrial and utility"
"7110" "Electronic equipment installers and repairers, motor vehicles"
"7120" "Electronic home entertainment equipment installers and repairers"
"7130" "Security and fire alarm systems installers"
"7140" "Aircraft mechanics and service technicians"
"7150" "Automotive body and related repairers"
"7160" "Automotive glass installers and repairers"
"7200" "Automotive service technicians and mechanics"
"7210" "Bus and truck mechanics and diesel engine specialists"
"7220" "Heavy vehicle and mobile equipment service technicians and mechanics"
"7230" "Not used"
"7240" "Small engine mechanics"
"7250" "Not used"
"7260" "Miscellaneous vehicle and mobile equipment mechanics, installers, and repairers"
"7300" "Control and valve installers and repairers"
"7315" "Heating, air conditioning, and refrigeration mechanics and installers"
"7320" "Home appliance repairers"
"7330" "Industrial and refractory machinery mechanics"
"7340" "Maintenance and repair workers, general"
"7350" "Maintenance workers, machinery"
"7360" "Millwrights"
"7410" "Electrical power-line installers and repairers"
"7420" "Telecommunications line installers and repairers"
"7430" "Precision instrument and equipment repairers"
"7440" "Wind turbine service technicians"
"7510" "Coin, vending, and amusement machine servicers and repairers"
"7520" "Commercial divers"
"7530" "Not used"
"7540" "Locksmiths and safe repairers"
"7550" "Manufactured building and mobile home installers"
"7560" "Riggers"
"7600" "Signal and track switch repairers"
"7610" "Helpers--installation, maintenance, and repair workers"
"7630" "Other installation, maintenance, and repair workers"
"7700" "First-line supervisors/managers of production and operating workers"
"7710" "Aircraft structure, surfaces, rigging, and systems assemblers"
"7720" "Electrical, electronics, and electromechanical assemblers"
"7730" "Engine and other machine assemblers"
"7740" "Structural metal fabricators and fitters"
"7750" "Miscellaneous assemblers and fabricators"
"7800" "Bakers"
"7810" "Butchers and other meat, poultry, and fish processing workers"
"7820" "Not used"
"7830" "Food and tobacco roasting, baking, and drying machine operators and tenders"
"7840" "Food batchmakers"
"7850" "Food cooking machine operators and tenders"
"7855" "Food processing workers, all other"
"7900" "Computer control programmers and operators"
"7910" "Not used"
"7920" "Extruding and drawing machine setters, operators, and tenders, metal and plastic"
"7930" "Forging machine setters, operators, and tenders, metal and plastic"
"7940" "Rolling machine setters, operators, and tenders, metal and plastic"
"7950" "Cutting, punching, and press machine setters, operators, and tenders, metal and plastic"
"7960" "Drilling and boring machine tool setters, operators, and tenders, metal and plastic"
"8000" "Grinding, lapping, polishing, and buffing machine tool setters, operators, and tenders, metal and plastic"
"8010" "Lathe and turning machine tool setters, operators, and tenders, metal and plastic"
"8020" "Milling and planing machine setters, operators, and tenders, metal and plastic"
"8030" "Machinists"
"8040" "Metal furnace and kiln operators and tenders"
"8050" "Not used"
"8060" "Model makers and patternmakers, metal and plastic"
"8100" "Molders and molding machine setters, operators, and tenders, metal and plastic"
"8110" "Not used"
"8120" "Multiple machine tool setters, operators, and tenders, metal and plastic"
"8130" "Tool and die makers"
"8140" "Welding, soldering, and brazing workers"
"8150" "Heat treating equipment setters, operators, and tenders, metal and plastic"
"8160" "Lay-out workers, metal and plastic"
"8200" "Plating and coating machine setters, operators, and tenders, metal and plastic"
"8210" "Tool grinders, filers, and sharpeners"
"8220" "Metalworkers and plastic workers,all others"
"8250" "Prepress technicians and workers"
"8255" "Printing machine operators"
"8256" "Print binding and finishing workers"
"8300" "Laundry and dry-cleaning workers"
"8310" "Pressers, textile, garment, and related materials"
"8320" "Sewing machine operators"
"8330" "Shoe and leather workers and repairers"
"8340" "Shoe machine operators and tenders"
"8350" "Tailors, dressmakers, and sewers"
"8360" "Textile bleaching and dyeing machine operators and tenders"
"8400" "Textile cutting machine setters, operators, and tenders"
"8410" "Textile knitting and weaving machine setters, operators, and tenders"
"8420" "Textile winding, twisting, and drawing out machine setters, operators, and tenders"
"8430" "Extruding and forming machine setters, operators, and tenders, synthetic and glass fibers"
"8440" "Fabric and apparel patternmakers"
"8450" "Upholsterers"
"8460" "Textile, apparel, and furnishings workers, all others"
"8500" "Cabinetmakers and bench carpenters"
"8510" "Furniture finishers"
"8520" "Model makers and patternmakers, wood"
"8530" "Sawing machine setters, operators, and tenders, wood"
"8540" "Woodworking machine setters, operators, and tenders, except sawing"
"8550" "Woodworkers, all others"
"8600" "Power plant operators, distributors, and dispatchers"
"8610" "Stationary engineers and boiler operators"
"8620" "Water and liquid waste treatment plant and system operators"
"8630" "Miscellaneous plant and system operators"
"8640" "Chemical processing machine setters, operators, and tenders"
"8650" "Crushing, grinding, polishing, mixing, and blending workers"
"8710" "Cutting workers"
"8720" "Extruding, forming, pressing, and compacting machine setters, operators, and tenders"
"8730" "Furnace, kiln, oven, drier, and kettle operators and tenders"
"8740" "Inspectors, testers, sorters, samplers, and weighers"
"8750" "Jewelers and precious stone and metal workers"
"8760" "Medical, dental, and ophthalmic laboratory technicians"
"8800" "Packaging and filling machine operators and tenders"
"8810" "Painting workers"
"8820" "Not used"
"8830" "Photographic process workers and processing machine operators"
"8840" "Semiconductor processors"
"8850" "Cementing and gluing machine operators and tenders"
"8860" "Cleaning, washing, and metal pickling equipment operators and tenders"
"8900" "Cooling and freezing equipment operators and tenders"
"8910" "Etchers and engravers"
"8920" "Molders, shapers, and casters, except metal and plastic"
"8930" "Paper goods machine setters, operators, and tenders"
"8940" "Tire builders"
"8950" "Helpers--production workers"
"8965" "Production workers, all other"
"9000" "Supervisors, transportation and material moving workers"
"9030" "Aircraft pilots and flight engineers"
"9040" "Air traffic controllers and airfield operations specialists"
"9050" "Flight attendants"
"9110" "Ambulance drivers and attendants, except emergency medical technicians"
"9120" "Bus drivers"
"9130" "Driver/sales workers and truck drivers"
"9140" "Taxi drivers and chauffeurs"
"9150" "Motor vehicle operators, all other"
"9200" "Locomotive engineers and operators"
"9230" "Railroad brake, signal, and switch operators"
"9240" "Railroad conductors and yardmasters"
"9250" "Not used"
"9260" "Subway, streetcar, and other rail transportation workers"
"9300" "Sailors and marine oilers"
"9310" "Ship and boat captains and operators"
"9320" "Not used"
"9330" "Ship engineers"
"9340" "Bridge and lock tenders"
"9350" "Parking lot attendants"
"9360" "Service station attendants"
"9410" "Transportation inspectors"
"9415" "Transportation attendants, except flight attendants"
"9420" "Other transportation workers"
"9500" "Conveyor operators and tenders"
"9510" "Crane and tower operators"
"9520" "Dredge, excavating, and loading machine operators"
"9560" "Hoist and winch operators"
"9600" "Industrial truck and tractor operators"
"9610" "Cleaners of vehicles and equipment"
"9620" "Laborers and freight, stock, and material movers, hand"
"9630" "Machine feeders and offbearers"
"9640" "Packers and packagers, hand"
"9650" "Pumping station operators"
"9720" "Refuse and recyclable material collectors"
"9730" "Shuttle car operators"
"9740" "Tank car, truck, and ship loaders"
"9750" "Material moving workers, all other"
"9840" "Armed forces"
1 code name
2 0 N/A (not applicable)
3 10 Chief executives
4 20 General and operations managers
5 30 Legislators
6 40 Advertising and promotions managers
7 50 Marketing and sales managers
8 60 Public relations managers
9 100 Administrative services managers
10 110 Computer and information systems managers
11 120 Financial managers
12 135 Compensation and Benefits Managers
13 136 Human Resources Managers
14 137 Training and Development Managers
15 140 Industrial production managers
16 150 Purchasing managers
17 160 Transportation, storage, and distribution managers
18 205 Farmers, Ranchers, and Other Agricultural Managers
19 220 Construction managers
20 230 Education administrators
21 300 Engineering managers
22 310 Food service managers
23 325 Funeral service managers
24 330 Gaming managers
25 340 Lodging managers
26 350 Medical and health services managers
27 360 Natural sciences managers
28 400 Postmasters and mail superintendents
29 410 Property, real estate, and community association managers
30 420 Social and community service managers
31 425 Emergency Management Directors
32 430 Managers, all other
33 500 Agents and business managers of artists, performers, and athletes
34 510 Purchasing agents and buyers, farm products
35 520 Wholesale and retail buyers, except farm products
36 530 Purchasing agents, except wholesale, retail, and farm products
37 540 Claims adjusters, appraisers, examiners, and investigators
38 550 Not used
39 565 Compliance officers
40 600 Cost estimators
41 610 Not used
42 630 Human resource workers
43 640 Compensation, benefits, and job analysis specialists
44 650 Training and development specialists
45 700 Logisticians
46 710 Management analysts
47 725 Meeting, convention, and event planners
48 726 Fundraisers
49 735 Market research analysts and marketing specialists
50 740 Business operations specialists, all other
51 800 Accountants and auditors
52 810 Appraisers and assessors of real estate
53 820 Budget analysts
54 830 Credit analysts
55 840 Financial analysts
56 850 Personal financial advisors
57 860 Insurance underwriters
58 900 Financial examiners
59 910 Loan counselors and officers
60 920 Not used
61 930 Tax examiners, collectors, and revenue agents
62 940 Tax preparers
63 950 Financial specialists, all other
64 1000 Computer scientists and systems analysts
65 1005 Computer and information research scientists
66 1006 Computer systems analysts
67 1007 Information security analysts
68 1010 Computer programmers
69 1020 Software developers, applications and systems software
70 1030 Web developers
71 1050 Computer support specialists
72 1060 Database administrators
73 1105 Network and computer systems administrators
74 1106 Computer network architects
75 1107 Computer occupations, all other
76 1200 Actuaries
77 1210 Mathematicians
78 1220 Operations research analysts
79 1230 Statisticians
80 1240 Miscellaneous mathematical science occupations
81 1300 Architects, except naval
82 1310 Surveyors, cartographers, and photogrammetrists
83 1320 Aerospace engineers
84 1330 Agricultural engineers
85 1340 Biomedical engineers
86 1350 Chemical engineers
87 1360 Civil engineers
88 1400 Computer hardware engineers
89 1410 Electrical and electronics engineers
90 1420 Environmental engineers
91 1430 Industrial engineers, including health and safety
92 1440 Marine engineers and naval architects
93 1450 Materials engineers
94 1460 Mechanical engineers
95 1500 Mining and geological engineers, including mining safety engineers
96 1510 Nuclear engineers
97 1520 Petroleum engineers
98 1530 Engineers, all other
99 1540 Drafters
100 1550 Engineering technicians, except drafters
101 1560 Surveying and mapping technicians
102 1600 Agricultural and food scientists
103 1610 Biological scientists
104 1640 Conservation scientists and foresters
105 1650 Medical scientists
106 1660 Life scientists, all other
107 1700 Astronomers and physicists
108 1710 Atmospheric and space scientists
109 1720 Chemists and materials scientists
110 1730 Not used
111 1740 Environmental scientists and geoscientists
112 1750 Not used
113 1760 Physical scientists, all other
114 1800 Economists
115 1815 Survey researchers
116 1820 Psychologists
117 1830 Sociologists
118 1840 Urban and regional planners
119 1850 Not used
120 1860 Miscellaneous social scientists and related workers
121 1900 Agricultural and food science technicians
122 1910 Biological technicians
123 1920 Chemical technicians
124 1930 Geological and petroleum technicians
125 1940 Nuclear technicians
126 1950 Social science research assistants
127 1965 Miscellaneous life, physical, and social science technicians
128 2000 Counselors
129 2010 Social workers
130 2015 Probation officers and correctional treatment specialists
131 2016 Social and human service assistants
132 2025 Miscellaneous community and social service specialists, including health educators and community health workers
133 2030 Not used
134 2040 Clergy
135 2050 Directors, religious activities and education
136 2060 Religious workers, all other
137 2100 Lawyers, Judges, magistrates, and other judicial workers
138 2105 Judicial law clerks
139 2110 Judges, magistrates, and other judicial workers
140 2145 Paralegals and legal assistants
141 2160 Miscellaneous legal support workers
142 2200 Postsecondary teachers
143 2300 Preschool and kindergarten teachers
144 2310 Elementary and middle school teachers
145 2320 Secondary school teachers
146 2330 Special education teachers
147 2340 Other teachers and instructors
148 2400 Archivists, curators, and museum technicians
149 2430 Librarians
150 2440 Library technicians
151 2540 Teacher assistants
152 2550 Other education, training, and library workers
153 2600 Artists and related workers
154 2630 Designers
155 2700 Actors
156 2710 Producers and directors
157 2720 Athletes, coaches, umpires, and related workers
158 2730 Not used
159 2740 Dancers and choreographers
160 2750 Musicians, singers, and related workers
161 2760 Entertainers and performers, sports and related workers, all other
162 2800 Announcers
163 2810 News analysts, reporters, and correspondents
164 2825 Public relations specialists
165 2830 Editors
166 2840 Technical writers
167 2850 Writers and authors
168 2860 Miscellaneous media and communications workers
169 2900 Broadcast and sound engineering technicians and radio operators
170 2910 Photographers
171 2920 Television, video, and motion picture camera operators and editors
172 2960 Media and communications workers, all other
173 3000 Chiropractors
174 3010 Dentists
175 3020 Not used
176 3030 Dietitians and nutritionists
177 3040 Optometrists
178 3050 Pharmacists
179 3060 Physicians and surgeons
180 3110 Physician assistants
181 3120 Podiatrists
182 3140 Audiologists
183 3150 Occupational therapists
184 3160 Physical therapists
185 3200 Radiation therapists
186 3210 Recreational therapists
187 3220 Respiratory therapists
188 3230 Speech-language pathologists
189 3235 Exercise Physiologists
190 3245 Therapists, all other
191 3250 Veterinarians
192 3255 Registered nurses
193 3256 Nurse anesthetists
194 3257 Nurse midwives
195 3258 Nurse practitioners
196 3260 Health diagnosing and treating practitioners, all other
197 3300 Clinical laboratory technologists and technicians
198 3310 Dental hygienists
199 3320 Diagnostic related technologists and technicians
200 3400 Emergency medical technicians and paramedics
201 3420 Health practitioner support technologists and technicians
202 3500 Licensed practical and licensed vocational nurses
203 3510 Medical records and health information technicians
204 3520 Opticians, dispensing
205 3535 Miscellaneous health technologists and technicians
206 3540 Other healthcare practitioners and technical occupations
207 3600 Nursing, psychiatric, and home health aides
208 3610 Occupational therapist assistants and aides
209 3620 Physical therapist assistants and aides
210 3630 Massage therapists
211 3640 Dental assistants
212 3645 Medical assistants
213 3646 Medical transcriptionists
214 3647 Pharmacy aides
215 3648 Veterinary assistants and labratory animal caretakers
216 3649 Phlebotmists
217 3655 Miscellaneous healthcare support occupations, including medical equipment preparers
218 3700 First-line supervisors/managers of correctional officers
219 3710 First-line supervisors/managers of police and detectives
220 3720 First-line supervisors/managers of fire fighting and preventions workers
221 3730 Supervisors, protective service workers, all other
222 3740 Fire fighters
223 3750 Fire inspectors
224 3800 Bailiffs, correctional officers, and jailers
225 3810 Not used
226 3820 Detectives and criminal investigators
227 3830 Fish and game wardens
228 3840 Parking enforcement workers
229 3850 Police and sheriff's patrol officers
230 3860 Transit and railroad police
231 3900 Animal control workers
232 3910 Private detectives and investigators
233 3930 Security guards and gaming surveillance officers
234 3940 Crossing guards
235 3945 Transportation security screeners
236 3955 Lifeguards and other recreational, and all other protective service workers
237 4000 Chefs and head cooks
238 4010 First-line supervisors/managers of food preparation and serving workers
239 4020 Cooks
240 4030 Food preparation workers
241 4040 Bartenders
242 4050 Combined food preparation and serving workers, including fast food
243 4060 Counter attendants, cafeteria, food concession, and coffee shop
244 4110 Waiters and waitresses
245 4120 Food servers, nonrestaurant
246 4130 Dining room, cafeteria attendants, and misc. food preparation workers
247 4140 Dishwashers
248 4150 Hosts and hostesses, restaurant, lounge, and coffee shop
249 4160 Food preparation and serving related workers, all other
250 4200 First-line supervisors/managers of housekeeping and janitorial workers
251 4210 First-line supervisors/managers of landscaping workers
252 4220 Janitors and building cleaners
253 4230 Maids and housekeeping cleaners
254 4240 Pest control workers
255 4250 Grounds maintenance workers
256 4300 First-line supervisors/managers of gaming workers
257 4310 Not used
258 4320 First-line supervisors/managers of personal service workers
259 4330 Not used
260 4340 Animal trainers
261 4350 Nonfarm animal caretakers
262 4400 Gaming services workers
263 4410 Motion picture projectionists
264 4420 Ushers, lobby attendants, and ticket takers
265 4430 Miscellaneous entertainment attendants and related workers
266 4460 Funeral service workers
267 4465 Morticians, undertakers, and funeral directors (2011 forward)
268 4500 Barbers
269 4510 Hairdressers, hairstylists, and cosmetologists
270 4520 Miscellaneous personal appearance workers
271 4530 Baggage porters, bellhops, and concierges
272 4540 Tour and travel guides
273 4550 Transportation attendants
274 4600 Child care workers
275 4610 Personal and home care aides
276 4620 Recreation and fitness workers
277 4630 Not used
278 4640 Residential advisors
279 4650 Personal care and service workers, all other
280 4700 First-line supervisors/managers of retail sales workers
281 4710 First-line supervisors/managers of non-retail sales workers
282 4720 Cashiers
283 4730 Not used
284 4740 Counter and rental clerks
285 4750 Parts salespersons
286 4760 Retail salespersons
287 4800 Advertising sales agents
288 4810 Insurance sales agents
289 4820 Securities, commodities, and financial services sales agents
290 4830 Travel agents
291 4840 Sales representatives, services, all other
292 4850 Sales representatives, wholesale and manufacturing
293 4900 Models, demonstrators, and product promoters
294 4910 Not used
295 4920 Real estate brokers and sales agents
296 4930 Sales engineers
297 4940 Telemarketers
298 4950 Door-to-door sales workers, news and street vendors, and related workers
299 4965 Sales and related workers, all other
300 5000 First-line supervisors/managers of office and administrative support workers
301 5010 Switchboard operators, including answering service
302 5020 Telephone operators
303 5030 Communications equipment operators, all other
304 5100 Bill and account collectors
305 5110 Billing and posting clerks and machine operators
306 5120 Bookkeeping, accounting, and auditing clerks
307 5130 Gaming cage workers
308 5140 Payroll and timekeeping clerks
309 5150 Procurement clerks
310 5160 Tellers
311 5165 Financial clerks, all other
312 5200 Brokerage clerks
313 5210 Correspondence clerks
314 5220 Court, municipal, and license clerks
315 5230 Credit authorizers, checkers, and clerks
316 5240 Customer service representatives
317 5250 Eligibility interviewers, government programs
318 5260 File clerks
319 5300 Hotel, motel, and resort desk clerks
320 5310 Interviewers, except eligibility and loan
321 5320 Library assistants, clerical
322 5330 Loan interviewers and clerks
323 5340 New accounts clerks
324 5350 Order clerks
325 5360 Human resources assistants, except payroll and timekeeping
326 5400 Receptionists and information clerks
327 5410 Reservation and transportation ticket agents and travel clerks
328 5420 Information and record clerks, all other
329 5500 Cargo and freight agents
330 5510 Couriers and messengers
331 5520 Dispatchers
332 5530 Meter readers, utilities
333 5540 Postal service clerks
334 5550 Postal service mail carriers
335 5560 Postal service mail sorters, processors, and processing machine operators
336 5600 Production, planning and expediting clerks
337 5610 Shipping, receiving, and traffic clerks
338 5620 Stock clerks and order fillers
339 5630 Weighers, measurers, checkers, and samplers, record keeping
340 5700 Secretaries and administrative assistants
341 5800 Computer operators
342 5810 Data entry keyers
343 5820 Word processors and typists
344 5830 Desktop publishers
345 5840 Insurance claims and policy processing clerks
346 5850 Mail clerks and mail machine operators, except postal service
347 5860 Office clerks, general
348 5900 Office machine operators, except computer
349 5910 Proofreaders and copy markers
350 5920 Statistical assistants
351 5940 Office and administrative support workers, all other
352 6005 First-line supervisors of farming, fishing, and forestry workers
353 6010 Agricultural inspectors
354 6020 Animal breeders
355 6030 Not used
356 6040 Graders and sorters, agricultural products
357 6050 Miscellaneous agricultural workers
358 6100 Fishers and related fishing workers
359 6110 Hunters and trappers
360 6120 Forest and conservation workers
361 6130 Logging workers
362 6200 First-line supervisors/managers of construction trades and extraction workers
363 6210 Boilermakers
364 6220 Brickmasons, blockmasons, and stonemasons
365 6230 Carpenters
366 6240 Carpet, floor, and tile installers and finishers
367 6250 Cement masons, concrete finishers, and terrazzo workers
368 6260 Construction laborers
369 6300 Paving, surfacing, and tamping equipment operators
370 6310 Pile-driver operators
371 6320 Operating engineers and other construction equipment operators
372 6330 Drywall installers, ceiling tile installers, and tapers
373 6340 Not used
374 6355 Electricians
375 6360 Glaziers
376 6400 Insulation workers
377 6410 Not used
378 6420 Painters, construction and maintenance
379 6430 Paperhangers
380 6440 Pipelayers, plumbers, pipefitters, and steamfitters
381 6450 Not used
382 6460 Plasterers and stucco masons
383 6500 Reinforcing iron and rebar workers
384 6515 Roofers
385 6520 Sheet metal workers
386 6530 Solar Photovoltaic Installers
387 6540 Structural iron and steel workers
388 6600 Helpers, construction trades
389 6660 Construction and building inspectors
390 6700 Elevator installers and repairers
391 6710 Fence erectors
392 6720 Hazardous materials removal workers
393 6730 Highway maintenance workers
394 6740 Rail-track laying and maintenance equipment operators
395 6750 Septic tank servicers and sewer pipe cleaners
396 6765 Miscellaneous construction and related workers
397 6800 Derrick, rotary drill, and service unit operators, oil, gas, and mining
398 6810 Not used
399 6820 Earth drillers, except oil and gas
400 6830 Explosives workers, ordnance handling experts, and blasters
401 6840 Mining machine operators
402 6910 Roof bolters, mining
403 6920 Roustabouts, oil and gas
404 6930 Helpers -- extraction workers
405 6940 Other extraction workers
406 7000 First-line supervisors/managers of mechanics, installers, and repairers
407 7010 Computer, automated teller, and office machine repairers
408 7020 Radio and telecommunications equipment installers and repairers
409 7030 Avionics technicians
410 7040 Electric motor, power tool, and related repairers
411 7050 Electrical and electronics installers and repairers, transportation equipment
412 7100 Electrical and electronics repairers, industrial and utility
413 7110 Electronic equipment installers and repairers, motor vehicles
414 7120 Electronic home entertainment equipment installers and repairers
415 7130 Security and fire alarm systems installers
416 7140 Aircraft mechanics and service technicians
417 7150 Automotive body and related repairers
418 7160 Automotive glass installers and repairers
419 7200 Automotive service technicians and mechanics
420 7210 Bus and truck mechanics and diesel engine specialists
421 7220 Heavy vehicle and mobile equipment service technicians and mechanics
422 7230 Not used
423 7240 Small engine mechanics
424 7250 Not used
425 7260 Miscellaneous vehicle and mobile equipment mechanics, installers, and repairers
426 7300 Control and valve installers and repairers
427 7315 Heating, air conditioning, and refrigeration mechanics and installers
428 7320 Home appliance repairers
429 7330 Industrial and refractory machinery mechanics
430 7340 Maintenance and repair workers, general
431 7350 Maintenance workers, machinery
432 7360 Millwrights
433 7410 Electrical power-line installers and repairers
434 7420 Telecommunications line installers and repairers
435 7430 Precision instrument and equipment repairers
436 7440 Wind turbine service technicians
437 7510 Coin, vending, and amusement machine servicers and repairers
438 7520 Commercial divers
439 7530 Not used
440 7540 Locksmiths and safe repairers
441 7550 Manufactured building and mobile home installers
442 7560 Riggers
443 7600 Signal and track switch repairers
444 7610 Helpers--installation, maintenance, and repair workers
445 7630 Other installation, maintenance, and repair workers
446 7700 First-line supervisors/managers of production and operating workers
447 7710 Aircraft structure, surfaces, rigging, and systems assemblers
448 7720 Electrical, electronics, and electromechanical assemblers
449 7730 Engine and other machine assemblers
450 7740 Structural metal fabricators and fitters
451 7750 Miscellaneous assemblers and fabricators
452 7800 Bakers
453 7810 Butchers and other meat, poultry, and fish processing workers
454 7820 Not used
455 7830 Food and tobacco roasting, baking, and drying machine operators and tenders
456 7840 Food batchmakers
457 7850 Food cooking machine operators and tenders
458 7855 Food processing workers, all other
459 7900 Computer control programmers and operators
460 7910 Not used
461 7920 Extruding and drawing machine setters, operators, and tenders, metal and plastic
462 7930 Forging machine setters, operators, and tenders, metal and plastic
463 7940 Rolling machine setters, operators, and tenders, metal and plastic
464 7950 Cutting, punching, and press machine setters, operators, and tenders, metal and plastic
465 7960 Drilling and boring machine tool setters, operators, and tenders, metal and plastic
466 8000 Grinding, lapping, polishing, and buffing machine tool setters, operators, and tenders, metal and plastic
467 8010 Lathe and turning machine tool setters, operators, and tenders, metal and plastic
468 8020 Milling and planing machine setters, operators, and tenders, metal and plastic
469 8030 Machinists
470 8040 Metal furnace and kiln operators and tenders
471 8050 Not used
472 8060 Model makers and patternmakers, metal and plastic
473 8100 Molders and molding machine setters, operators, and tenders, metal and plastic
474 8110 Not used
475 8120 Multiple machine tool setters, operators, and tenders, metal and plastic
476 8130 Tool and die makers
477 8140 Welding, soldering, and brazing workers
478 8150 Heat treating equipment setters, operators, and tenders, metal and plastic
479 8160 Lay-out workers, metal and plastic
480 8200 Plating and coating machine setters, operators, and tenders, metal and plastic
481 8210 Tool grinders, filers, and sharpeners
482 8220 Metalworkers and plastic workers,all others
483 8250 Prepress technicians and workers
484 8255 Printing machine operators
485 8256 Print binding and finishing workers
486 8300 Laundry and dry-cleaning workers
487 8310 Pressers, textile, garment, and related materials
488 8320 Sewing machine operators
489 8330 Shoe and leather workers and repairers
490 8340 Shoe machine operators and tenders
491 8350 Tailors, dressmakers, and sewers
492 8360 Textile bleaching and dyeing machine operators and tenders
493 8400 Textile cutting machine setters, operators, and tenders
494 8410 Textile knitting and weaving machine setters, operators, and tenders
495 8420 Textile winding, twisting, and drawing out machine setters, operators, and tenders
496 8430 Extruding and forming machine setters, operators, and tenders, synthetic and glass fibers
497 8440 Fabric and apparel patternmakers
498 8450 Upholsterers
499 8460 Textile, apparel, and furnishings workers, all others
500 8500 Cabinetmakers and bench carpenters
501 8510 Furniture finishers
502 8520 Model makers and patternmakers, wood
503 8530 Sawing machine setters, operators, and tenders, wood
504 8540 Woodworking machine setters, operators, and tenders, except sawing
505 8550 Woodworkers, all others
506 8600 Power plant operators, distributors, and dispatchers
507 8610 Stationary engineers and boiler operators
508 8620 Water and liquid waste treatment plant and system operators
509 8630 Miscellaneous plant and system operators
510 8640 Chemical processing machine setters, operators, and tenders
511 8650 Crushing, grinding, polishing, mixing, and blending workers
512 8710 Cutting workers
513 8720 Extruding, forming, pressing, and compacting machine setters, operators, and tenders
514 8730 Furnace, kiln, oven, drier, and kettle operators and tenders
515 8740 Inspectors, testers, sorters, samplers, and weighers
516 8750 Jewelers and precious stone and metal workers
517 8760 Medical, dental, and ophthalmic laboratory technicians
518 8800 Packaging and filling machine operators and tenders
519 8810 Painting workers
520 8820 Not used
521 8830 Photographic process workers and processing machine operators
522 8840 Semiconductor processors
523 8850 Cementing and gluing machine operators and tenders
524 8860 Cleaning, washing, and metal pickling equipment operators and tenders
525 8900 Cooling and freezing equipment operators and tenders
526 8910 Etchers and engravers
527 8920 Molders, shapers, and casters, except metal and plastic
528 8930 Paper goods machine setters, operators, and tenders
529 8940 Tire builders
530 8950 Helpers--production workers
531 8965 Production workers, all other
532 9000 Supervisors, transportation and material moving workers
533 9030 Aircraft pilots and flight engineers
534 9040 Air traffic controllers and airfield operations specialists
535 9050 Flight attendants
536 9110 Ambulance drivers and attendants, except emergency medical technicians
537 9120 Bus drivers
538 9130 Driver/sales workers and truck drivers
539 9140 Taxi drivers and chauffeurs
540 9150 Motor vehicle operators, all other
541 9200 Locomotive engineers and operators
542 9230 Railroad brake, signal, and switch operators
543 9240 Railroad conductors and yardmasters
544 9250 Not used
545 9260 Subway, streetcar, and other rail transportation workers
546 9300 Sailors and marine oilers
547 9310 Ship and boat captains and operators
548 9320 Not used
549 9330 Ship engineers
550 9340 Bridge and lock tenders
551 9350 Parking lot attendants
552 9360 Service station attendants
553 9410 Transportation inspectors
554 9415 Transportation attendants, except flight attendants
555 9420 Other transportation workers
556 9500 Conveyor operators and tenders
557 9510 Crane and tower operators
558 9520 Dredge, excavating, and loading machine operators
559 9560 Hoist and winch operators
560 9600 Industrial truck and tractor operators
561 9610 Cleaners of vehicles and equipment
562 9620 Laborers and freight, stock, and material movers, hand
563 9630 Machine feeders and offbearers
564 9640 Packers and packagers, hand
565 9650 Pumping station operators
566 9720 Refuse and recyclable material collectors
567 9730 Shuttle car operators
568 9740 Tank car, truck, and ship loaders
569 9750 Material moving workers, all other
570 9840 Armed forces
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,521 @@
"id","grp","nwt"
"530","Business Operations",3249.4
"4720","Sales and Related",32032.3
"4760","Sales and Related",29531.3
"4700","Sales and Related",27463.5
"430","Management",33320.7
"4710","Sales and Related",9713.4
"4220","Building and Grounds Cleaning and Maintenance",20360.4
"4020","Food Preparation and Serving",18940.5
"4230","Building and Grounds Cleaning and Maintenance",13073.6
"9130","Transportation and Material Moving",28642.3
"9620","Transportation and Material Moving",17218.6
"5700","Office and Administrative Support",25750.9
"310","Management",9200.1
"4030","Food Preparation and Serving",8313.4
"4010","Food Preparation and Serving",4952
"20","Management",8041.3
"4110","Food Preparation and Serving",19203.9
"2310","Education, Training, and Library",27008.8
"4250","Building and Grounds Cleaning and Maintenance",12301.9
"10","Management",12449.8
"5240","Office and Administrative Support",18948.3
"4850","Sales and Related",10785.1
"4610","Personal Care and Service",11144.6
"2320","Education, Training, and Library",9598
"4600","Personal Care and Service",11797.6
"3600","Healthcare Support",17944.7
"5860","Office and Administrative Support",10749.4
"2340","Education, Training, and Library",7791.7
"4000","Food Preparation and Serving",3515.2
"5400","Office and Administrative Support",11378.5
"3645","Healthcare Support",3868.9
"2010","Community and Social Services",6455.6
"3420","Healthcare Practitioners and Technicians",4821.3
"2000","Community and Social Services",6475
"5620","Office and Administrative Support",14086.5
"6320","Construction",3297.8
"205","Management",7331.7
"4510","Personal Care and Service",6357.5
"120","Management",10195.4
"3255","Healthcare Practitioners and Technicians",24520.9
"2300","Education, Training, and Library",6052.8
"9640","Transportation and Material Moving",5039.9
"50","Management",8098.4
"230","Management",7283.6
"4810","Sales and Related",5092.2
"4920","Sales and Related",7038.5
"5120","Office and Administrative Support",10748.2
"6260","Construction",14730.5
"410","Management",5415.9
"220","Management",6818
"4040","Food Preparation and Serving",3625.9
"350","Management",4901.2
"3655",NA,1392.3
"9120","Transportation and Material Moving",4999.3
"710","Business Operations",7044.1
"110","Management",5328.8
"1020","Computer and Mathematical",10129.6
"4050","Food Preparation and Serving",3378
"9600","Transportation and Material Moving",4966
"4840","Sales and Related",3958.6
"3640","Healthcare Support",2458
"2630","Arts, Design, Entertainment, Sports, and Media",7155.8
"5610","Office and Administrative Support",4996.7
"3500","Healthcare Practitioners and Technicians",5085
"4300","Personal Care and Service",1325.7
"2160",NA,1642
"2550","Education, Training, and Library",1546.4
"6420","Construction",4952.5
"2145","Legal",3457.2
"2540","Education, Training, and Library",8392.3
"3060","Healthcare Practitioners and Technicians",7573.6
"6440","Construction",5117.7
"420","Management",3193.6
"7200","Installation, Maintenance, and Repair",7290.3
"9140","Transportation and Material Moving",3630
"4200","Building and Grounds Cleaning and Maintenance",2445.7
"2040","Community and Social Services",3602.3
"3930","Protective Service",8288.2
"4320","Personal Care and Service",1588.9
"4620","Personal Care and Service",4094.6
"4210","Building and Grounds Cleaning and Maintenance",1819.6
"2720","Arts, Design, Entertainment, Sports, and Media",3010.2
"2600","Arts, Design, Entertainment, Sports, and Media",1676.9
"3050","Healthcare Practitioners and Technicians",2358.6
"4130","Food Preparation and Serving",3270.9
"4140","Food Preparation and Serving",2639.2
"4800","Sales and Related",2046.9
"5550","Office and Administrative Support",2781.5
"8140","Production",5152.8
"5940","Office and Administrative Support",4557.6
"6330","Construction",1330.6
"3820","Protective Service",1339.6
"8740","Production",6374.1
"8965","Production",7954.9
"1050","Computer and Mathematical",4327.2
"3630","Healthcare Support",1467.3
"7750","Production",8789.7
"6040","Farming, Fishing, and Forestry",1109.7
"5160","Office and Administrative Support",3023.8
"4150","Food Preparation and Serving",2631.9
"4060","Food Preparation and Serving",2374.7
"140","Management",2236.8
"3010","Healthcare Practitioners and Technicians",1416.3
"6240","Construction",1351.1
"3150","Healthcare Practitioners and Technicians",1030.5
"1550","Technicians",3143.6
"4965","Sales and Related",2138.6
"850","Financial Specialists",3780.8
"1540","Architecture and Engineering",1117.5
"910","Financial Specialists",2857.5
"2430","Education, Training, and Library",1586.9
"3800","Protective Service",3359.1
"630","Business Operations",5179.6
"2330","Education, Training, and Library",2946.8
"1006","Computer and Mathematical",4280.2
"840","Financial Specialists",1634.1
"4520","Personal Care and Service",2435.5
"3160","Healthcare Practitioners and Technicians",1969.3
"3910","Protective Service",737.8
"1530","Architecture and Engineering",3418.6
"5510","Office and Administrative Support",1923.4
"800","Financial Specialists",14715.4
"5110","Office and Administrative Support",3934
"2830","Arts, Design, Entertainment, Sports, and Media",1529
"3245","Healthcare Practitioners and Technicians",1428.5
"160","Management",2154.1
"9000","Transportation and Material Moving",1639.7
"1010","Computer and Mathematical",3690.6
"3300","Healthcare Practitioners and Technicians",2980.9
"9610","Transportation and Material Moving",3007
"5540","Office and Administrative Support",1025.8
"7340","Installation, Maintenance, and Repair",4101.2
"5810","Office and Administrative Support",2809.2
"2016","Community and Social Services",1499.9
"4120","Food Preparation and Serving",1768.2
"5520","Office and Administrative Support",2280.5
"3710","Protective Service",950.8
"8220","Production",3348.8
"7420","Installation, Maintenance, and Repair",1669
"5260","Office and Administrative Support",2305.7
"7810","Production",2685.6
"3700","Protective Service",412.5
"3320","Healthcare Practitioners and Technicians",2646.4
"5600","Office and Administrative Support",2145.1
"7210","Installation, Maintenance, and Repair",2717.9
"7800","Production",1931.6
"1107","Computer and Mathematical",3637.7
"7720","Production",1358.5
"1410","Architecture and Engineering",2566.5
"7330","Installation, Maintenance, and Repair",3579.5
"6050","Farming, Fishing, and Forestry",7606.1
"5300","Office and Administrative Support",1098.8
"340","Management",1179.3
"8950","Production",350.4
"100","Management",1287.4
"9150","Transportation and Material Moving",613.4
"5100","Office and Administrative Support",1490.5
"6940","Extraction",664.9
"1360","Architecture and Engineering",2969.5
"1460","Architecture and Engineering",2555.7
"1560","Technicians",597
"3730","Protective Service",743.5
"5000","Office and Administrative Support",11775.6
"6250","Construction",547.4
"1030","Computer and Mathematical",1682.3
"540","Business Operations",2732.2
"6230","Construction",11326.7
"300","Management",916
"2050","Community and Social Services",569
"740",NA,2138.5
"9840",NA,6353.6
"3400","Healthcare Practitioners and Technicians",1695.4
"1105","Computer and Mathematical",1854.6
"2825","Arts, Design, Entertainment, Sports, and Media",1237.8
"735",NA,2133.8
"2025","Community and Social Services",865.8
"2850","Arts, Design, Entertainment, Sports, and Media",1930
"6130","Farming, Fishing, and Forestry",633.8
"8030","Production",3262.8
"1965","Life, Physical, and Social Science",1383.5
"3649","Healthcare Support",875.9
"1860","Life, Physical, and Social Science",537.8
"5360","Office and Administrative Support",714.1
"4740","Sales and Related",1018.5
"8800","Production",2236.2
"1920","Life, Physical, and Social Science",575
"4820","Sales and Related",2275.4
"4430","Personal Care and Service",1903.7
"4350","Personal Care and Service",1654.3
"4950","Sales and Related",1567.9
"2750","Arts, Design, Entertainment, Sports, and Media",1641.9
"3647","Healthcare Support",444.4
"136","Management",2048.1
"6800","Extraction",428.6
"565","Business Operations",1792.6
"5840","Office and Administrative Support",2291.6
"810","Financial Specialists",659.2
"4940","Sales and Related",794.5
"6515","Construction",1953.9
"950","Financial Specialists",632.9
"4400","Personal Care and Service",865.6
"2810","Arts, Design, Entertainment, Sports, and Media",695
"2200","Education, Training, and Library",11838.2
"5560","Office and Administrative Support",571.3
"5140","Office and Administrative Support",1215.9
"9350","Transportation and Material Moving",707.4
"2400","Education, Training, and Library",468.8
"3955",NA,1850.6
"2710","Arts, Design, Entertainment, Sports, and Media",1349
"7220","Installation, Maintenance, and Repair",1709.6
"1650","Life, Physical, and Social Science",1275.4
"725","Business Operations",1228.3
"8320","Production",1670.9
"3510","Healthcare Practitioners and Technicians",1110.7
"3220","Healthcare Practitioners and Technicians",773.9
"7315","Installation, Maintenance, and Repair",3203.5
"9420","Transportation and Material Moving",261.5
"5310","Office and Administrative Support",1593.8
"3310","Healthcare Practitioners and Technicians",1459.7
"3535","Healthcare Practitioners and Technicians",956.2
"9050","Transportation and Material Moving",713.4
"8640","Production",469.3
"3540","Healthcare Practitioners and Technicians",817.8
"1760","Life, Physical, and Social Science",1723
"3230","Healthcare Practitioners and Technicians",1206.3
"4750","Sales and Related",850
"6460","Construction",272.1
"7630","Installation, Maintenance, and Repair",1709.3
"6100","Farming, Fishing, and Forestry",376.1
"860","Financial Specialists",865.9
"7010","Installation, Maintenance, and Repair",2290.4
"9720","Transportation and Material Moving",726.1
"6520","Construction",1018.4
"2015","Community and Social Services",811.9
"5850","Office and Administrative Support",764.2
"1240","Computer and Mathematical",623.2
"8300","Production",1540.3
"2910","Arts, Design, Entertainment, Sports, and Media",1450.2
"2900","Arts, Design, Entertainment, Sports, and Media",929.8
"1106","Computer and Mathematical",918
"7020","Installation, Maintenance, and Repair",1302.8
"3258","Healthcare Practitioners and Technicians",1148.4
"9030","Transportation and Material Moving",895.3
"150","Management",1733.2
"4900","Sales and Related",717
"3648","Healthcare Support",387.7
"5820","Office and Administrative Support",873.1
"1430","Architecture and Engineering",1439.2
"3720","Protective Service",423.4
"1610","Life, Physical, and Social Science",840.5
"600","Business Operations",1004.9
"4650","Personal Care and Service",1066.1
"9510","Transportation and Material Moving",584.3
"7840","Production",821.8
"2860","Arts, Design, Entertainment, Sports, and Media",858.8
"650","Business Operations",1131.2
"940","Financial Specialists",1295.5
"6840","Extraction",549.8
"4240","Building and Grounds Cleaning and Maintenance",581.3
"3620","Healthcare Support",602.8
"5350","Office and Administrative Support",860.6
"2920","Arts, Design, Entertainment, Sports, and Media",579.6
"2700","Arts, Design, Entertainment, Sports, and Media",525
"4500","Personal Care and Service",868.4
"8810","Production",1214.5
"2800","Arts, Design, Entertainment, Sports, and Media",424
"4530","Personal Care and Service",655.4
"1220","Computer and Mathematical",1086.8
"3030","Healthcare Practitioners and Technicians",947.7
"2100","Legal",8809.5
"6710","Construction",333.2
"520","Business Operations",844.3
"3110","Healthcare Practitioners and Technicians",795.3
"6730","Construction",1014.1
"1060","Computer and Mathematical",904.4
"1350","Architecture and Engineering",571.7
"3840","Protective Service",117.7
"5410","Office and Administrative Support",871.7
"4540","Personal Care and Service",453.2
"7855","Production",974.3
"9750","Transportation and Material Moving",451.4
"1820","Life, Physical, and Social Science",1644.8
"8650","Production",688.3
"1007","Computer and Mathematical",483.5
"1310","Architecture and Engineering",327.3
"6400","Construction",392.7
"8710","Production",633.9
"6200","Construction",5730.6
"1720","Life, Physical, and Social Science",851.5
"5020","Office and Administrative Support",295.1
"4830","Sales and Related",622.6
"1320","Architecture and Engineering",1148.7
"6355","Construction",6414.2
"5800","Office and Administrative Support",727.1
"5420","Office and Administrative Support",1132.5
"5330","Office and Administrative Support",1111.1
"2440","Education, Training, and Library",370.5
"8750","Production",406.1
"1200","Computer and Mathematical",195.8
"7410","Installation, Maintenance, and Repair",964.7
"7260","Installation, Maintenance, and Repair",837.6
"8760","Production",754.5
"1400","Architecture and Engineering",678.2
"8255","Production",1541
"4640","Personal Care and Service",459.5
"8620","Production",643.1
"2760","Arts, Design, Entertainment, Sports, and Media",348.6
"4340","Personal Care and Service",320.4
"3940","Protective Service",653.5
"820","Financial Specialists",459.9
"40","Management",499.8
"8500","Production",473.9
"7360","Installation, Maintenance, and Repair",514.2
"7140","Installation, Maintenance, and Repair",1216.4
"726","Business Operations",603.5
"1420","Architecture and Engineering",389
"3646","Healthcare Support",423.9
"5220","Office and Administrative Support",775.2
"7150","Installation, Maintenance, and Repair",1187.4
"5500","Office and Administrative Support",187.2
"5165","Office and Administrative Support",516.7
"8350","Production",827.8
"6220","Construction",1284.3
"6820","Extraction",215.5
"2840","Arts, Design, Entertainment, Sports, and Media",513.5
"9360","Transportation and Material Moving",819.6
"640","Business Operations",569.9
"7120","Installation, Maintenance, and Repair",392.1
"6765","Construction",371
"930","Financial Specialists",582.6
"6600","Construction",498.8
"1005","Computer and Mathematical",178.9
"1900","Life, Physical, and Social Science",206
"6120","Farming, Fishing, and Forestry",207.8
"4420","Personal Care and Service",483.6
"2060","Community and Social Services",636.7
"60","Management",541.4
"6360","Construction",389.4
"7040","Installation, Maintenance, and Repair",240.3
"8130","Production",548.9
"7830","Production",160.1
"1520","Architecture and Engineering",302.5
"8600","Production",366
"3945","Protective Service",296.3
"5900","Office and Administrative Support",386
"1840","Life, Physical, and Social Science",210.3
"1740","Life, Physical, and Social Science",802.7
"9040","Transportation and Material Moving",286.6
"8000","Production",456.7
"7000","Installation, Maintenance, and Repair",2368.6
"5320","Office and Administrative Support",792.5
"6720","Construction",271.9
"6210","Construction",193.6
"3520","Healthcare Practitioners and Technicians",404
"7110","Installation, Maintenance, and Repair",182.3
"3040","Healthcare Practitioners and Technicians",331.1
"6530","Construction",598.9
"7950","Production",723.1
"8830","Production",345.8
"7350","Installation, Maintenance, and Repair",259.3
"7700","Production",6384.5
"7240","Installation, Maintenance, and Repair",405.6
"8930","Production",326.2
"500","Business Operations",370.3
"700","Business Operations",716.3
"5630","Office and Administrative Support",586.3
"1700","Life, Physical, and Social Science",172.5
"7130","Installation, Maintenance, and Repair",504.4
"137","Management",370.3
"7710","Production",108.1
"8400","Production",60
"7900","Production",670.1
"5250","Office and Administrative Support",636
"900","Financial Specialists",128
"6830","Extraction",98.4
"7320","Installation, Maintenance, and Repair",404.5
"8730","Production",97.2
"8310","Production",379.6
"1340","Architecture and Engineering",120.3
"5920","Office and Administrative Support",202.3
"4930","Sales and Related",374.2
"5010","Office and Administrative Support",234.2
"3750","Protective Service",120.7
"7430","Installation, Maintenance, and Repair",522.1
"6660","Construction",749.9
"7850","Production",144.1
"8100","Production",344.8
"7540","Installation, Maintenance, and Repair",214.8
"6010","Farming, Fishing, and Forestry",201
"9415","Transportation and Material Moving",252.6
"9310","Transportation and Material Moving",365.9
"3850","Protective Service",5540.5
"8630","Production",322.5
"1600","Life, Physical, and Social Science",336.2
"3140","Healthcare Practitioners and Technicians",129
"3610","Healthcare Support",163.1
"3740","Protective Service",2370.3
"1440","Architecture and Engineering",94.1
"7510","Installation, Maintenance, and Repair",333.9
"360","Management",126.3
"6740","Construction",79.2
"1930","Life, Physical, and Social Science",204.8
"9630","Transportation and Material Moving",212.5
"7100","Installation, Maintenance, and Repair",172
"4465","Personal Care and Service",255.7
"2105","Legal",98.7
"7610","Installation, Maintenance, and Repair",153.5
"8450","Production",316.2
"6300","Construction",130.6
"6700","Construction",241.2
"8530","Production",221.9
"3000","Healthcare Practitioners and Technicians",377.2
"8540","Production",214.6
"1640","Life, Physical, and Social Science",219.7
"330","Management",140.4
"5530","Office and Administrative Support",214.2
"9240","Transportation and Material Moving",432.3
"1450","Architecture and Engineering",297.7
"5200","Office and Administrative Support",34.2
"9200","Transportation and Material Moving",336.8
"9300","Transportation and Material Moving",249.6
"8720","Production",273
"8610","Production",687.5
"8040","Production",199.3
"8940","Production",100.4
"8256","Production",151.2
"3260","Healthcare Practitioners and Technicians",197.2
"5340","Office and Administrative Support",186.2
"8410","Production",133.1
"3900","Protective Service",75.7
"1300","Architecture and Engineering",1645.6
"9520","Transportation and Material Moving",313
"5230","Office and Administrative Support",349.1
"425","Management",47.9
"8250","Production",262.7
"7160","Installation, Maintenance, and Repair",181.3
"8330","Production",97.9
"7730","Production",131.9
"8420","Production",96
"7920","Production",112.3
"135","Management",174.9
"8200","Production",154.4
"8510","Production",113.1
"9650","Transportation and Material Moving",167.1
"8920","Production",322.8
"5030","Office and Administrative Support",90.4
"9110","Transportation and Material Moving",120.7
"6005","Farming, Fishing, and Forestry",429.5
"7300","Installation, Maintenance, and Repair",194.5
"9560","Transportation and Material Moving",89.8
"830","Financial Specialists",227.5
"7740","Production",236.9
"7550","Installation, Maintenance, and Repair",52.6
"8550","Production",225
"9410","Transportation and Material Moving",328.1
"2740","Arts, Design, Entertainment, Sports, and Media",143.8
"5150","Office and Administrative Support",223.8
"3250","Healthcare Practitioners and Technicians",648.1
"5910","Office and Administrative Support",70.2
"1800","Life, Physical, and Social Science",284.1
"7940","Production",111.7
"8860","Production",65.1
"5130","Office and Administrative Support",82.5
"8020","Production",11.8
"1710","Life, Physical, and Social Science",90.7
"3200","Healthcare Practitioners and Technicians",136.9
"7560","Installation, Maintenance, and Repair",112.4
"1910","Life, Physical, and Social Science",180.4
"8910","Production",93.3
"6920","Extraction",91.2
"8850","Production",63.5
"4460","Personal Care and Service",120
"8460","Production",209.4
"8060","Production",15.8
"7030","Installation, Maintenance, and Repair",59
"4410","Personal Care and Service",43.5
"8010","Production",99.4
"6500","Construction",54.3
"8340","Production",19.8
"7960","Production",16.3
"6750","Construction",59.4
"7440","Installation, Maintenance, and Repair",4
"1500","Architecture and Engineering",98.9
"1230","Computer and Mathematical",78.7
"7930","Production",15
"6540","Construction",9.9
"5210","Office and Administrative Support",19
"3210","Healthcare Practitioners and Technicians",80.1
"3256","Healthcare Practitioners and Technicians",196.9
"8210","Production",42.9
"3830","Protective Service",6.8
"510","Business Operations",121
"7050","Installation, Maintenance, and Repair",11.5
"9740","Transportation and Material Moving",8.2
"9260","Transportation and Material Moving",94.7
"1330","Architecture and Engineering",8
"4160",NA,6
"6020","Farming, Fishing, and Forestry",12
"6430","Construction",2.4
"325","Management",32.4
"3120","Healthcare Practitioners and Technicians",13.3
"8900","Production",5.3
"3257","Healthcare Practitioners and Technicians",6.1
"1830","Life, Physical, and Social Science",3.8
"5830","Office and Administrative Support",1.9
"6930","Extraction",9.4
"9340","Transportation and Material Moving",9.3
"9500","Transportation and Material Moving",9.6
"1950","Life, Physical, and Social Science",0.8
"8120","Production",4.2
"1510","Architecture and Engineering",70
"9230","Transportation and Material Moving",21.5
"8440","Production",5.8
"8840","Production",9.5
"9330","Transportation and Material Moving",17.8
"6910","Extraction",5.7
"8360","Production",6.2
"7520","Installation, Maintenance, and Repair",1.2
"7600","Installation, Maintenance, and Repair",9.1
"1815","Life, Physical, and Social Science",12.7
1 id grp nwt
2 530 Business Operations 3249.4
3 4720 Sales and Related 32032.3
4 4760 Sales and Related 29531.3
5 4700 Sales and Related 27463.5
6 430 Management 33320.7
7 4710 Sales and Related 9713.4
8 4220 Building and Grounds Cleaning and Maintenance 20360.4
9 4020 Food Preparation and Serving 18940.5
10 4230 Building and Grounds Cleaning and Maintenance 13073.6
11 9130 Transportation and Material Moving 28642.3
12 9620 Transportation and Material Moving 17218.6
13 5700 Office and Administrative Support 25750.9
14 310 Management 9200.1
15 4030 Food Preparation and Serving 8313.4
16 4010 Food Preparation and Serving 4952
17 20 Management 8041.3
18 4110 Food Preparation and Serving 19203.9
19 2310 Education, Training, and Library 27008.8
20 4250 Building and Grounds Cleaning and Maintenance 12301.9
21 10 Management 12449.8
22 5240 Office and Administrative Support 18948.3
23 4850 Sales and Related 10785.1
24 4610 Personal Care and Service 11144.6
25 2320 Education, Training, and Library 9598
26 4600 Personal Care and Service 11797.6
27 3600 Healthcare Support 17944.7
28 5860 Office and Administrative Support 10749.4
29 2340 Education, Training, and Library 7791.7
30 4000 Food Preparation and Serving 3515.2
31 5400 Office and Administrative Support 11378.5
32 3645 Healthcare Support 3868.9
33 2010 Community and Social Services 6455.6
34 3420 Healthcare Practitioners and Technicians 4821.3
35 2000 Community and Social Services 6475
36 5620 Office and Administrative Support 14086.5
37 6320 Construction 3297.8
38 205 Management 7331.7
39 4510 Personal Care and Service 6357.5
40 120 Management 10195.4
41 3255 Healthcare Practitioners and Technicians 24520.9
42 2300 Education, Training, and Library 6052.8
43 9640 Transportation and Material Moving 5039.9
44 50 Management 8098.4
45 230 Management 7283.6
46 4810 Sales and Related 5092.2
47 4920 Sales and Related 7038.5
48 5120 Office and Administrative Support 10748.2
49 6260 Construction 14730.5
50 410 Management 5415.9
51 220 Management 6818
52 4040 Food Preparation and Serving 3625.9
53 350 Management 4901.2
54 3655 NA 1392.3
55 9120 Transportation and Material Moving 4999.3
56 710 Business Operations 7044.1
57 110 Management 5328.8
58 1020 Computer and Mathematical 10129.6
59 4050 Food Preparation and Serving 3378
60 9600 Transportation and Material Moving 4966
61 4840 Sales and Related 3958.6
62 3640 Healthcare Support 2458
63 2630 Arts, Design, Entertainment, Sports, and Media 7155.8
64 5610 Office and Administrative Support 4996.7
65 3500 Healthcare Practitioners and Technicians 5085
66 4300 Personal Care and Service 1325.7
67 2160 NA 1642
68 2550 Education, Training, and Library 1546.4
69 6420 Construction 4952.5
70 2145 Legal 3457.2
71 2540 Education, Training, and Library 8392.3
72 3060 Healthcare Practitioners and Technicians 7573.6
73 6440 Construction 5117.7
74 420 Management 3193.6
75 7200 Installation, Maintenance, and Repair 7290.3
76 9140 Transportation and Material Moving 3630
77 4200 Building and Grounds Cleaning and Maintenance 2445.7
78 2040 Community and Social Services 3602.3
79 3930 Protective Service 8288.2
80 4320 Personal Care and Service 1588.9
81 4620 Personal Care and Service 4094.6
82 4210 Building and Grounds Cleaning and Maintenance 1819.6
83 2720 Arts, Design, Entertainment, Sports, and Media 3010.2
84 2600 Arts, Design, Entertainment, Sports, and Media 1676.9
85 3050 Healthcare Practitioners and Technicians 2358.6
86 4130 Food Preparation and Serving 3270.9
87 4140 Food Preparation and Serving 2639.2
88 4800 Sales and Related 2046.9
89 5550 Office and Administrative Support 2781.5
90 8140 Production 5152.8
91 5940 Office and Administrative Support 4557.6
92 6330 Construction 1330.6
93 3820 Protective Service 1339.6
94 8740 Production 6374.1
95 8965 Production 7954.9
96 1050 Computer and Mathematical 4327.2
97 3630 Healthcare Support 1467.3
98 7750 Production 8789.7
99 6040 Farming, Fishing, and Forestry 1109.7
100 5160 Office and Administrative Support 3023.8
101 4150 Food Preparation and Serving 2631.9
102 4060 Food Preparation and Serving 2374.7
103 140 Management 2236.8
104 3010 Healthcare Practitioners and Technicians 1416.3
105 6240 Construction 1351.1
106 3150 Healthcare Practitioners and Technicians 1030.5
107 1550 Technicians 3143.6
108 4965 Sales and Related 2138.6
109 850 Financial Specialists 3780.8
110 1540 Architecture and Engineering 1117.5
111 910 Financial Specialists 2857.5
112 2430 Education, Training, and Library 1586.9
113 3800 Protective Service 3359.1
114 630 Business Operations 5179.6
115 2330 Education, Training, and Library 2946.8
116 1006 Computer and Mathematical 4280.2
117 840 Financial Specialists 1634.1
118 4520 Personal Care and Service 2435.5
119 3160 Healthcare Practitioners and Technicians 1969.3
120 3910 Protective Service 737.8
121 1530 Architecture and Engineering 3418.6
122 5510 Office and Administrative Support 1923.4
123 800 Financial Specialists 14715.4
124 5110 Office and Administrative Support 3934
125 2830 Arts, Design, Entertainment, Sports, and Media 1529
126 3245 Healthcare Practitioners and Technicians 1428.5
127 160 Management 2154.1
128 9000 Transportation and Material Moving 1639.7
129 1010 Computer and Mathematical 3690.6
130 3300 Healthcare Practitioners and Technicians 2980.9
131 9610 Transportation and Material Moving 3007
132 5540 Office and Administrative Support 1025.8
133 7340 Installation, Maintenance, and Repair 4101.2
134 5810 Office and Administrative Support 2809.2
135 2016 Community and Social Services 1499.9
136 4120 Food Preparation and Serving 1768.2
137 5520 Office and Administrative Support 2280.5
138 3710 Protective Service 950.8
139 8220 Production 3348.8
140 7420 Installation, Maintenance, and Repair 1669
141 5260 Office and Administrative Support 2305.7
142 7810 Production 2685.6
143 3700 Protective Service 412.5
144 3320 Healthcare Practitioners and Technicians 2646.4
145 5600 Office and Administrative Support 2145.1
146 7210 Installation, Maintenance, and Repair 2717.9
147 7800 Production 1931.6
148 1107 Computer and Mathematical 3637.7
149 7720 Production 1358.5
150 1410 Architecture and Engineering 2566.5
151 7330 Installation, Maintenance, and Repair 3579.5
152 6050 Farming, Fishing, and Forestry 7606.1
153 5300 Office and Administrative Support 1098.8
154 340 Management 1179.3
155 8950 Production 350.4
156 100 Management 1287.4
157 9150 Transportation and Material Moving 613.4
158 5100 Office and Administrative Support 1490.5
159 6940 Extraction 664.9
160 1360 Architecture and Engineering 2969.5
161 1460 Architecture and Engineering 2555.7
162 1560 Technicians 597
163 3730 Protective Service 743.5
164 5000 Office and Administrative Support 11775.6
165 6250 Construction 547.4
166 1030 Computer and Mathematical 1682.3
167 540 Business Operations 2732.2
168 6230 Construction 11326.7
169 300 Management 916
170 2050 Community and Social Services 569
171 740 NA 2138.5
172 9840 NA 6353.6
173 3400 Healthcare Practitioners and Technicians 1695.4
174 1105 Computer and Mathematical 1854.6
175 2825 Arts, Design, Entertainment, Sports, and Media 1237.8
176 735 NA 2133.8
177 2025 Community and Social Services 865.8
178 2850 Arts, Design, Entertainment, Sports, and Media 1930
179 6130 Farming, Fishing, and Forestry 633.8
180 8030 Production 3262.8
181 1965 Life, Physical, and Social Science 1383.5
182 3649 Healthcare Support 875.9
183 1860 Life, Physical, and Social Science 537.8
184 5360 Office and Administrative Support 714.1
185 4740 Sales and Related 1018.5
186 8800 Production 2236.2
187 1920 Life, Physical, and Social Science 575
188 4820 Sales and Related 2275.4
189 4430 Personal Care and Service 1903.7
190 4350 Personal Care and Service 1654.3
191 4950 Sales and Related 1567.9
192 2750 Arts, Design, Entertainment, Sports, and Media 1641.9
193 3647 Healthcare Support 444.4
194 136 Management 2048.1
195 6800 Extraction 428.6
196 565 Business Operations 1792.6
197 5840 Office and Administrative Support 2291.6
198 810 Financial Specialists 659.2
199 4940 Sales and Related 794.5
200 6515 Construction 1953.9
201 950 Financial Specialists 632.9
202 4400 Personal Care and Service 865.6
203 2810 Arts, Design, Entertainment, Sports, and Media 695
204 2200 Education, Training, and Library 11838.2
205 5560 Office and Administrative Support 571.3
206 5140 Office and Administrative Support 1215.9
207 9350 Transportation and Material Moving 707.4
208 2400 Education, Training, and Library 468.8
209 3955 NA 1850.6
210 2710 Arts, Design, Entertainment, Sports, and Media 1349
211 7220 Installation, Maintenance, and Repair 1709.6
212 1650 Life, Physical, and Social Science 1275.4
213 725 Business Operations 1228.3
214 8320 Production 1670.9
215 3510 Healthcare Practitioners and Technicians 1110.7
216 3220 Healthcare Practitioners and Technicians 773.9
217 7315 Installation, Maintenance, and Repair 3203.5
218 9420 Transportation and Material Moving 261.5
219 5310 Office and Administrative Support 1593.8
220 3310 Healthcare Practitioners and Technicians 1459.7
221 3535 Healthcare Practitioners and Technicians 956.2
222 9050 Transportation and Material Moving 713.4
223 8640 Production 469.3
224 3540 Healthcare Practitioners and Technicians 817.8
225 1760 Life, Physical, and Social Science 1723
226 3230 Healthcare Practitioners and Technicians 1206.3
227 4750 Sales and Related 850
228 6460 Construction 272.1
229 7630 Installation, Maintenance, and Repair 1709.3
230 6100 Farming, Fishing, and Forestry 376.1
231 860 Financial Specialists 865.9
232 7010 Installation, Maintenance, and Repair 2290.4
233 9720 Transportation and Material Moving 726.1
234 6520 Construction 1018.4
235 2015 Community and Social Services 811.9
236 5850 Office and Administrative Support 764.2
237 1240 Computer and Mathematical 623.2
238 8300 Production 1540.3
239 2910 Arts, Design, Entertainment, Sports, and Media 1450.2
240 2900 Arts, Design, Entertainment, Sports, and Media 929.8
241 1106 Computer and Mathematical 918
242 7020 Installation, Maintenance, and Repair 1302.8
243 3258 Healthcare Practitioners and Technicians 1148.4
244 9030 Transportation and Material Moving 895.3
245 150 Management 1733.2
246 4900 Sales and Related 717
247 3648 Healthcare Support 387.7
248 5820 Office and Administrative Support 873.1
249 1430 Architecture and Engineering 1439.2
250 3720 Protective Service 423.4
251 1610 Life, Physical, and Social Science 840.5
252 600 Business Operations 1004.9
253 4650 Personal Care and Service 1066.1
254 9510 Transportation and Material Moving 584.3
255 7840 Production 821.8
256 2860 Arts, Design, Entertainment, Sports, and Media 858.8
257 650 Business Operations 1131.2
258 940 Financial Specialists 1295.5
259 6840 Extraction 549.8
260 4240 Building and Grounds Cleaning and Maintenance 581.3
261 3620 Healthcare Support 602.8
262 5350 Office and Administrative Support 860.6
263 2920 Arts, Design, Entertainment, Sports, and Media 579.6
264 2700 Arts, Design, Entertainment, Sports, and Media 525
265 4500 Personal Care and Service 868.4
266 8810 Production 1214.5
267 2800 Arts, Design, Entertainment, Sports, and Media 424
268 4530 Personal Care and Service 655.4
269 1220 Computer and Mathematical 1086.8
270 3030 Healthcare Practitioners and Technicians 947.7
271 2100 Legal 8809.5
272 6710 Construction 333.2
273 520 Business Operations 844.3
274 3110 Healthcare Practitioners and Technicians 795.3
275 6730 Construction 1014.1
276 1060 Computer and Mathematical 904.4
277 1350 Architecture and Engineering 571.7
278 3840 Protective Service 117.7
279 5410 Office and Administrative Support 871.7
280 4540 Personal Care and Service 453.2
281 7855 Production 974.3
282 9750 Transportation and Material Moving 451.4
283 1820 Life, Physical, and Social Science 1644.8
284 8650 Production 688.3
285 1007 Computer and Mathematical 483.5
286 1310 Architecture and Engineering 327.3
287 6400 Construction 392.7
288 8710 Production 633.9
289 6200 Construction 5730.6
290 1720 Life, Physical, and Social Science 851.5
291 5020 Office and Administrative Support 295.1
292 4830 Sales and Related 622.6
293 1320 Architecture and Engineering 1148.7
294 6355 Construction 6414.2
295 5800 Office and Administrative Support 727.1
296 5420 Office and Administrative Support 1132.5
297 5330 Office and Administrative Support 1111.1
298 2440 Education, Training, and Library 370.5
299 8750 Production 406.1
300 1200 Computer and Mathematical 195.8
301 7410 Installation, Maintenance, and Repair 964.7
302 7260 Installation, Maintenance, and Repair 837.6
303 8760 Production 754.5
304 1400 Architecture and Engineering 678.2
305 8255 Production 1541
306 4640 Personal Care and Service 459.5
307 8620 Production 643.1
308 2760 Arts, Design, Entertainment, Sports, and Media 348.6
309 4340 Personal Care and Service 320.4
310 3940 Protective Service 653.5
311 820 Financial Specialists 459.9
312 40 Management 499.8
313 8500 Production 473.9
314 7360 Installation, Maintenance, and Repair 514.2
315 7140 Installation, Maintenance, and Repair 1216.4
316 726 Business Operations 603.5
317 1420 Architecture and Engineering 389
318 3646 Healthcare Support 423.9
319 5220 Office and Administrative Support 775.2
320 7150 Installation, Maintenance, and Repair 1187.4
321 5500 Office and Administrative Support 187.2
322 5165 Office and Administrative Support 516.7
323 8350 Production 827.8
324 6220 Construction 1284.3
325 6820 Extraction 215.5
326 2840 Arts, Design, Entertainment, Sports, and Media 513.5
327 9360 Transportation and Material Moving 819.6
328 640 Business Operations 569.9
329 7120 Installation, Maintenance, and Repair 392.1
330 6765 Construction 371
331 930 Financial Specialists 582.6
332 6600 Construction 498.8
333 1005 Computer and Mathematical 178.9
334 1900 Life, Physical, and Social Science 206
335 6120 Farming, Fishing, and Forestry 207.8
336 4420 Personal Care and Service 483.6
337 2060 Community and Social Services 636.7
338 60 Management 541.4
339 6360 Construction 389.4
340 7040 Installation, Maintenance, and Repair 240.3
341 8130 Production 548.9
342 7830 Production 160.1
343 1520 Architecture and Engineering 302.5
344 8600 Production 366
345 3945 Protective Service 296.3
346 5900 Office and Administrative Support 386
347 1840 Life, Physical, and Social Science 210.3
348 1740 Life, Physical, and Social Science 802.7
349 9040 Transportation and Material Moving 286.6
350 8000 Production 456.7
351 7000 Installation, Maintenance, and Repair 2368.6
352 5320 Office and Administrative Support 792.5
353 6720 Construction 271.9
354 6210 Construction 193.6
355 3520 Healthcare Practitioners and Technicians 404
356 7110 Installation, Maintenance, and Repair 182.3
357 3040 Healthcare Practitioners and Technicians 331.1
358 6530 Construction 598.9
359 7950 Production 723.1
360 8830 Production 345.8
361 7350 Installation, Maintenance, and Repair 259.3
362 7700 Production 6384.5
363 7240 Installation, Maintenance, and Repair 405.6
364 8930 Production 326.2
365 500 Business Operations 370.3
366 700 Business Operations 716.3
367 5630 Office and Administrative Support 586.3
368 1700 Life, Physical, and Social Science 172.5
369 7130 Installation, Maintenance, and Repair 504.4
370 137 Management 370.3
371 7710 Production 108.1
372 8400 Production 60
373 7900 Production 670.1
374 5250 Office and Administrative Support 636
375 900 Financial Specialists 128
376 6830 Extraction 98.4
377 7320 Installation, Maintenance, and Repair 404.5
378 8730 Production 97.2
379 8310 Production 379.6
380 1340 Architecture and Engineering 120.3
381 5920 Office and Administrative Support 202.3
382 4930 Sales and Related 374.2
383 5010 Office and Administrative Support 234.2
384 3750 Protective Service 120.7
385 7430 Installation, Maintenance, and Repair 522.1
386 6660 Construction 749.9
387 7850 Production 144.1
388 8100 Production 344.8
389 7540 Installation, Maintenance, and Repair 214.8
390 6010 Farming, Fishing, and Forestry 201
391 9415 Transportation and Material Moving 252.6
392 9310 Transportation and Material Moving 365.9
393 3850 Protective Service 5540.5
394 8630 Production 322.5
395 1600 Life, Physical, and Social Science 336.2
396 3140 Healthcare Practitioners and Technicians 129
397 3610 Healthcare Support 163.1
398 3740 Protective Service 2370.3
399 1440 Architecture and Engineering 94.1
400 7510 Installation, Maintenance, and Repair 333.9
401 360 Management 126.3
402 6740 Construction 79.2
403 1930 Life, Physical, and Social Science 204.8
404 9630 Transportation and Material Moving 212.5
405 7100 Installation, Maintenance, and Repair 172
406 4465 Personal Care and Service 255.7
407 2105 Legal 98.7
408 7610 Installation, Maintenance, and Repair 153.5
409 8450 Production 316.2
410 6300 Construction 130.6
411 6700 Construction 241.2
412 8530 Production 221.9
413 3000 Healthcare Practitioners and Technicians 377.2
414 8540 Production 214.6
415 1640 Life, Physical, and Social Science 219.7
416 330 Management 140.4
417 5530 Office and Administrative Support 214.2
418 9240 Transportation and Material Moving 432.3
419 1450 Architecture and Engineering 297.7
420 5200 Office and Administrative Support 34.2
421 9200 Transportation and Material Moving 336.8
422 9300 Transportation and Material Moving 249.6
423 8720 Production 273
424 8610 Production 687.5
425 8040 Production 199.3
426 8940 Production 100.4
427 8256 Production 151.2
428 3260 Healthcare Practitioners and Technicians 197.2
429 5340 Office and Administrative Support 186.2
430 8410 Production 133.1
431 3900 Protective Service 75.7
432 1300 Architecture and Engineering 1645.6
433 9520 Transportation and Material Moving 313
434 5230 Office and Administrative Support 349.1
435 425 Management 47.9
436 8250 Production 262.7
437 7160 Installation, Maintenance, and Repair 181.3
438 8330 Production 97.9
439 7730 Production 131.9
440 8420 Production 96
441 7920 Production 112.3
442 135 Management 174.9
443 8200 Production 154.4
444 8510 Production 113.1
445 9650 Transportation and Material Moving 167.1
446 8920 Production 322.8
447 5030 Office and Administrative Support 90.4
448 9110 Transportation and Material Moving 120.7
449 6005 Farming, Fishing, and Forestry 429.5
450 7300 Installation, Maintenance, and Repair 194.5
451 9560 Transportation and Material Moving 89.8
452 830 Financial Specialists 227.5
453 7740 Production 236.9
454 7550 Installation, Maintenance, and Repair 52.6
455 8550 Production 225
456 9410 Transportation and Material Moving 328.1
457 2740 Arts, Design, Entertainment, Sports, and Media 143.8
458 5150 Office and Administrative Support 223.8
459 3250 Healthcare Practitioners and Technicians 648.1
460 5910 Office and Administrative Support 70.2
461 1800 Life, Physical, and Social Science 284.1
462 7940 Production 111.7
463 8860 Production 65.1
464 5130 Office and Administrative Support 82.5
465 8020 Production 11.8
466 1710 Life, Physical, and Social Science 90.7
467 3200 Healthcare Practitioners and Technicians 136.9
468 7560 Installation, Maintenance, and Repair 112.4
469 1910 Life, Physical, and Social Science 180.4
470 8910 Production 93.3
471 6920 Extraction 91.2
472 8850 Production 63.5
473 4460 Personal Care and Service 120
474 8460 Production 209.4
475 8060 Production 15.8
476 7030 Installation, Maintenance, and Repair 59
477 4410 Personal Care and Service 43.5
478 8010 Production 99.4
479 6500 Construction 54.3
480 8340 Production 19.8
481 7960 Production 16.3
482 6750 Construction 59.4
483 7440 Installation, Maintenance, and Repair 4
484 1500 Architecture and Engineering 98.9
485 1230 Computer and Mathematical 78.7
486 7930 Production 15
487 6540 Construction 9.9
488 5210 Office and Administrative Support 19
489 3210 Healthcare Practitioners and Technicians 80.1
490 3256 Healthcare Practitioners and Technicians 196.9
491 8210 Production 42.9
492 3830 Protective Service 6.8
493 510 Business Operations 121
494 7050 Installation, Maintenance, and Repair 11.5
495 9740 Transportation and Material Moving 8.2
496 9260 Transportation and Material Moving 94.7
497 1330 Architecture and Engineering 8
498 4160 NA 6
499 6020 Farming, Fishing, and Forestry 12
500 6430 Construction 2.4
501 325 Management 32.4
502 3120 Healthcare Practitioners and Technicians 13.3
503 8900 Production 5.3
504 3257 Healthcare Practitioners and Technicians 6.1
505 1830 Life, Physical, and Social Science 3.8
506 5830 Office and Administrative Support 1.9
507 6930 Extraction 9.4
508 9340 Transportation and Material Moving 9.3
509 9500 Transportation and Material Moving 9.6
510 1950 Life, Physical, and Social Science 0.8
511 8120 Production 4.2
512 1510 Architecture and Engineering 70
513 9230 Transportation and Material Moving 21.5
514 8440 Production 5.8
515 8840 Production 9.5
516 9330 Transportation and Material Moving 17.8
517 6910 Extraction 5.7
518 8360 Production 6.2
519 7520 Installation, Maintenance, and Repair 1.2
520 7600 Installation, Maintenance, and Repair 9.1
521 1815 Life, Physical, and Social Science 12.7
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
@@ -0,0 +1,42 @@
#
# Load data
#
players <- read.csv("data/nba-top50scorers-2022-23.csv")
head(players)
play20 <- players[1:20,]
#
# Heatmap
#
# Four columns
heatmap(as.matrix(play20[,c("MP", "FG", "FGpct", "PTS")]),
scale = "column",
Rowv = NA, Colv = NA)
# Names
heatmap(as.matrix(play20[,c("MP", "FG", "FGpct", "PTS")]),
scale = "column",
labRow = play20$Player,
Rowv = NA, Colv = NA)
# Change order
playrev <- play20[order(play20$PTS, decreasing = FALSE),]
heatmap(as.matrix(playrev[,c("MP", "FG", "FGpct", "PTS")]),
scale = "column",
labRow = playrev$Player,
Rowv = NA, Colv = NA)
# Color
playrev <- play20[order(play20$PTS, decreasing = FALSE),]
heatmap(as.matrix(playrev[,c("MP", "FG", "FGpct", "X2Ppct", "X3Ppct", "FTpct", "PTS")]),
scale = "column",
labRow = playrev$Player,
cexCol = 1,
col = rev(hcl.colors(20, palette = "Blues 3")),
Rowv = NA, Colv = NA)
@@ -0,0 +1,98 @@
# install.packages("igraph")
library(igraph)
# Empty graph
g <- make_empty_graph(directed=FALSE)
#
# Add vertices
#
g <- g %>% add_vertices(1, color="#a3b8a3", size=50)
g <- g %>% add_vertices(1, color = "#d7c668", size=50)
g <- g %>% add_vertices(10, color = "#cccccc", size=20)
plot(g)
#
# Add edges (to connect vertices)
#
# Connect the two first vertices
g <- g %>% add_edges(c(1,2), weight=0.01, color="#cccccc")
plot(g)
# Connect 8 to 10 and 7
g <- g %>% add_edges(c(8,10, 8,7), weight=0.01, color="#cccccc")
plot(g)
# Connect 3, 4, and 5 to 1
g <- g %>% add_edges(c(3,1, 4,1, 5,1), weight=0.01, color="#cccccc")
plot(g)
# Connect 11 and 12 to 2 with more weight
g <- g %>% add_edges(c(12,2, 11,2), weight=1, color="#cccccc")
plot(g)
# Layouts
par(mfrow=c(2,2), mar=c(2,0,4,0))
plot(g, vertex.label=NA, layout=layout_with_fr, main="Force-directed")
plot(g, vertex.label=NA, layout=layout_on_grid, main="Grid")
plot(g, vertex.label=NA, layout=layout_in_circle, main="Circle")
plot(g, vertex.label=NA, layout=layout_nicely, main="Nicely")
#
# Example with more data: Job Switching Network
#
# Load data
occs <- read.csv("data/occ_codes.tsv", sep="\t")
occverts <- read.csv("data/occverts.csv")
occlinks <- read.csv("data/occlinks.csv")
occgrps <- unique(occverts$grp)
head(occverts)
head(occlinks)
# Subsetting and weights
occlinks$relwt <- occlinks$value / max(occlinks$value)
occlinks_sub <- occlinks[occlinks$relwt >= .01,]
occverts_sub <- occverts[occverts$id %in% occlinks_sub$source | occverts$id %in% occlinks_sub$target,]
# Vertices colors
occverts_sub$color <- colors()[match(occverts_sub$grp, occgrps)*2]
# Form the graph
g <- make_empty_graph(directed=FALSE)
g <- g %>%
add_vertices(dim(occverts_sub)[1], color=occverts_sub$color, size=sqrt(occverts_sub$nwt)/10) %>%
set_vertex_attr("occid", value = occverts_sub$id) %>%
set_vertex_attr("grp", value = occverts_sub$grp)
# Get id of added vertices
occverts_sub$vid <- match(occverts_sub$id, V(g)$occid)
occverts_sub$name <- occs$name[match(occverts_sub$id, occs$code)]
g <- g %>% set_vertex_attr("name", value = occverts_sub$name)
# Join ids
occlinks_sub$vid_source <- occverts_sub$vid[match(occlinks_sub$source, occverts_sub$id)]
occlinks_sub$vid_target <- occverts_sub$vid[match(occlinks_sub$target, occverts_sub$id)]
# Add edges
for (i in 1:dim(occlinks_sub)[1]) {
g <- g %>% add_edges(c(occlinks_sub$vid_source[i], occlinks_sub$vid_target[i]),
weight=occlinks_sub$relwt[i]*20,
color="#f0f0f0")
}
# Plot
plot(g, vertex.label = NA)
@@ -0,0 +1,40 @@
# install.packages("MASS")
library(MASS)
#
# Load data
#
players <- read.csv("data/nba-top50scorers-2022-23.csv")
head(players)
#
# Parallel coordinates
#
fnames <- c("MP", "FG", "FGpct", "X2Ppct", "X3Ppct", "FTpct", "PTS")
psub <- players[,fnames]
# Parallel coordinates
parcoord(psub)
# Pick out player
curr_players <- c("Joel Embiid", "Giannis Antetokounmpo",
"Stephen Curry", "LeBron James")
par(mfrow=c(2,2))
for (pl in curr_players) {
col <- rep("gray", dim(players)[1])
lwd <- rep(.5, dim(players)[1])
i <- which(players$Player == pl)
col[i] <- "blue"
lwd[i] <- 3
parcoord(psub, col=col, lwd=lwd, main=pl)
}
# Scatterplot Matrix
par(las=1)
plot(psub)
@@ -0,0 +1,16 @@
"code" "pctnokidsf" "pctkidsf" "pctnokidsm" "pctkidsm" "desc" "durmedkidsf" "durmednokidsf" "durmedkidsm" "durmednokidsm"
30201 0.2 20.7 0.2 10.3 "Homework" 45 0 45 0
30101 0.9 71.2 0.6 46.8 "Physical care" 50 0 31 0
30103 0.8 21.6 0.3 21.4 "Playing, not sports" 70 0 60 0
30112 0.9 48 0.3 27.2 "Picking up/dropping off" 10 0 10 0
30102 0.2 14.5 0 9.1 "Reading to/with" 20 0 20 0
30302 0.1 3 0 0.6 "Obtaining medical care" 60 0 50 0
30301 0.1 3 0 0.8 "Providing medical care" 15 0 30 0
30111 0.2 11.7 0.2 4.9 "Waiting for/with" 15 0 15 0
30202 0 1.7 0 0.5 "Meetings and school conferences" 25 0 30 0
30106 0.3 13.8 0.2 5.7 "Talking with/listening" 25 0 25 0
30110 0.1 4.8 0 2.6 "Attending events" 71 0 85 0
30109 0.3 12.1 0.1 5.1 "Looking after (as a pri. activity)" 40 0 45 0
30105 0 1.3 0 1 "Playing sports" 43 0 60 0
30108 0 6.4 0 1.6 "Organization and planning" 10 0 15 0
30303 0.1 1.4 0 0.3 "Waiting for children's health" 20 0 30 0
1 code pctnokidsf pctkidsf pctnokidsm pctkidsm desc durmedkidsf durmednokidsf durmedkidsm durmednokidsm
2 30201 0.2 20.7 0.2 10.3 Homework 45 0 45 0
3 30101 0.9 71.2 0.6 46.8 Physical care 50 0 31 0
4 30103 0.8 21.6 0.3 21.4 Playing, not sports 70 0 60 0
5 30112 0.9 48 0.3 27.2 Picking up/dropping off 10 0 10 0
6 30102 0.2 14.5 0 9.1 Reading to/with 20 0 20 0
7 30302 0.1 3 0 0.6 Obtaining medical care 60 0 50 0
8 30301 0.1 3 0 0.8 Providing medical care 15 0 30 0
9 30111 0.2 11.7 0.2 4.9 Waiting for/with 15 0 15 0
10 30202 0 1.7 0 0.5 Meetings and school conferences 25 0 30 0
11 30106 0.3 13.8 0.2 5.7 Talking with/listening 25 0 25 0
12 30110 0.1 4.8 0 2.6 Attending events 71 0 85 0
13 30109 0.3 12.1 0.1 5.1 Looking after (as a pri. activity) 40 0 45 0
14 30105 0 1.3 0 1 Playing sports 43 0 60 0
15 30108 0 6.4 0 1.6 Organization and planning 10 0 15 0
16 30303 0.1 1.4 0 0.3 Waiting for children's health 20 0 30 0
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>Who Takes Care of the Kids</title>
<link rel="stylesheet" href="style/style.css" type="text/css" media="screen" />
</head>
<div id="main-wrapper">
<h1>Time with the Kids</h1>
<div id="chart"></div>
</div>
<script src="js/d3.v7.min.js"></script>
<script src="js/barbell.js"></script>
@@ -0,0 +1,114 @@
// Dimensions of chart.
let margin = { top: 20, right: 20, bottom: 50, left: 290 },
// width = parseInt(d3.select('#chart').style('width'), 10) - margin.left - margin.right,
width = 650 - margin.left - margin.right,
height = 550 - margin.top - margin.bottom;
// Start SVG
let svg = d3.select("#chart").append("svg")
.attr("width", width + margin.left + margin.right)
.attr("height", height + margin.top + margin.bottom)
.append("g")
.attr("transform", "translate(" + margin.left + "," + margin.top + ")");
// Scales: x and y
let x = d3.scaleLinear()
.domain([0, 80])
.range([0, width]);
let y = d3.scaleBand()
// .domain([3, 6])
.range([height, 0]);
let activities;
let xAxis, yAxis, xAxisEl, yAxisEl;
let barbell;
// Load data
const activitiesData = Promise.all([
d3.tsv("data/hh-activities-withkids.tsv", d3.autoType)
]);
activitiesData.then(function(data) {
activities = data[0].sort((a, b) => a.pctkidsf - b.pctkidsf);
// console.log(activities);
// Initialize chart now that data is loaded.
initChart();
});
function initChart() {
// x-axis
xAxis = d3.axisBottom(x)
.tickFormat(d => d + "%")
.ticks(5)
.tickSize(-height-8)
.tickPadding(5);
xAxisEl = svg.append("g")
.attr("class", "x axis bottom")
.attr("transform", "translate(0,"+(height+8)+")");
xAxisEl.append("text")
.attr("class", "axistitle")
.attr("text-anchor", "start")
.attr("x", 0).attr("y", 0)
.attr("dx", "-.75em").attr("dy", "2.5em")
.text("Engaged in Activity");
xAxisEl.call(xAxis);
// y-axis
y.domain(activities.map(d => d.desc));
yAxis = d3.axisLeft(y)
.tickSize(0);
yAxisEl = svg.append("g")
.attr("class", "y axis left")
.attr("transform", "translate("+(-8)+",0)");
yAxisEl.call(yAxis);
// barbells
barbell = svg.selectAll(".barbell")
.data(activities)
.join("g")
.attr("class", "barbell")
.attr("transform", d =>
"translate(0,"+(y(d.desc)+(y.bandwidth()/2))+")")
.attr("id", d => "act"+d.code);
// connecting lines
barbell.append("line")
.attr("x1", d => x(d.pctkidsm))
.attr("x2", d => x(d.pctkidsf))
.attr("y1", 0).attr("y2", 0)
.attr("stroke", "#000000");
// circles
barbell.append("circle")
.attr("class", "men")
.attr("cx", d => x(d.pctkidsm))
.attr("cy", 0)
.attr("r", 6);
barbell.append("circle")
.attr("class", "women")
.attr("cx", d => x(d.pctkidsf))
.attr("cy", 0)
.attr("r", 6);
// labels
svg.append("text")
.attr("x", x(activities[14].pctkidsm))
.attr("y", y(activities[14].desc))
.attr("text-anchor", "middle")
.text("MEN");
svg.append("text")
.attr("x", x(activities[14].pctkidsf))
.attr("y", y(activities[14].desc))
.attr("text-anchor", "middle")
.text("WOMEN");
}
@@ -0,0 +1,2 @@
// https://d3js.org v7.4.0 Copyright 2010-2022 Mike Bostock
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).d3=t.d3||{})}(this,(function(t){"use strict";function n(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function e(t){let e=t,r=t,i=t;function o(t,n,e=0,o=t.length){if(e<o){if(0!==r(n,n))return o;do{const r=e+o>>>1;i(t[r],n)<0?e=r+1:o=r}while(e<o)}return e}return 2!==t.length&&(e=(n,e)=>t(n)-e,r=n,i=(e,r)=>n(t(e),r)),{left:o,center:function(t,n,r=0,i=t.length){const a=o(t,n,r,i-1);return a>r&&e(t[a-1],n)>-e(t[a],n)?a-1:a},right:function(t,n,e=0,o=t.length){if(e<o){if(0!==r(n,n))return o;do{const r=e+o>>>1;i(t[r],n)<=0?e=r+1:o=r}while(e<o)}return e}}}function r(t){return null===t?NaN:+t}const i=e(n),o=i.right,a=i.left,u=e(r).center;var c=o;function f(t,n){let e=0;if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&++e;else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(i=+i)>=i&&++e}return e}function s(t){return 0|t.length}function l(t){return!(t>0)}function h(t){return"object"!=typeof t||"length"in t?t:Array.from(t)}function d(t,n){let e,r=0,i=0,o=0;if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(e=n-i,i+=e/++r,o+=e*(n-i));else{let a=-1;for(let u of t)null!=(u=n(u,++a,t))&&(u=+u)>=u&&(e=u-i,i+=e/++r,o+=e*(u-i))}if(r>1)return o/(r-1)}function p(t,n){const e=d(t,n);return e?Math.sqrt(e):e}function g(t,n){let e,r;if(void 0===n)for(const n of t)null!=n&&(void 0===e?n>=n&&(e=r=n):(e>n&&(e=n),r<n&&(r=n)));else{let i=-1;for(let o of t)null!=(o=n(o,++i,t))&&(void 0===e?o>=o&&(e=r=o):(e>o&&(e=o),r<o&&(r=o)))}return[e,r]}class y{constructor(){this._partials=new Float64Array(32),this._n=0}add(t){const n=this._partials;let e=0;for(let r=0;r<this._n&&r<32;r++){const i=n[r],o=t+i,a=Math.abs(t)<Math.abs(i)?t-(o-i):i-(o-t);a&&(n[e++]=a),t=o}return n[e]=t,this._n=e+1,this}valueOf(){const t=this._partials;let n,e,r,i=this._n,o=0;if(i>0){for(o=t[--i];i>0&&(n=o,e=t[--i],o=n+e,r=e-(o-n),!r););i>0&&(r<0&&t[i-1]<0||r>0&&t[i-1]>0)&&(e=2*r,n=o+e,e==n-o&&(o=n))}return o}}class InternMap extends Map{constructor(t,n=m){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const[n,e]of t)this.set(n,e)}get(t){return super.get(v(this,t))}has(t){return super.has(v(this,t))}set(t,n){return super.set(_(this,t),n)}delete(t){return super.delete(b(this,t))}}class InternSet extends Set{constructor(t,n=m){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const n of t)this.add(n)}has(t){return super.has(v(this,t))}add(t){return super.add(_(this,t))}delete(t){return super.delete(b(this,t))}}function v({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):e}function _({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):(t.set(r,e),e)}function b({_intern:t,_key:n},e){const r=n(e);return t.has(r)&&(e=t.get(r),t.delete(r)),e}function m(t){return null!==t&&"object"==typeof t?t.valueOf():t}function x(t){return t}function w(t,...n){return k(t,x,x,n)}function M(t,...n){return k(t,Array.from,x,n)}function A(t,n){for(let e=1,r=n.length;e<r;++e)t=t.flatMap((t=>t.pop().map((([n,e])=>[...t,n,e]))));return t}function T(t,n,...e){return k(t,x,n,e)}function S(t,n,...e){return k(t,Array.from,n,e)}function E(t){if(1!==t.length)throw new Error("duplicate key");return t[0]}function k(t,n,e,r){return function t(i,o){if(o>=r.length)return e(i);const a=new InternMap,u=r[o++];let c=-1;for(const t of i){const n=u(t,++c,i),e=a.get(n);e?e.push(t):a.set(n,[t])}for(const[n,e]of a)a.set(n,t(e,o));return n(a)}(t,0)}function N(t,n){return Array.from(n,(n=>t[n]))}function C(t,...n){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");t=Array.from(t);let[e]=n;if(e&&2!==e.length||n.length>1){const r=Uint32Array.from(t,((t,n)=>n));return n.length>1?(n=n.map((n=>t.map(n))),r.sort(((t,e)=>{for(const r of n){const n=z(r[t],r[e]);if(n)return n}}))):(e=t.map(e),r.sort(((t,n)=>z(e[t],e[n])))),N(t,r)}return t.sort(P(e))}function P(t=n){if(t===n)return z;if("function"!=typeof t)throw new TypeError("compare is not a function");return(n,e)=>{const r=t(n,e);return r||0===r?r:(0===t(e,e))-(0===t(n,n))}}function z(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(t<n?-1:t>n?1:0)}var D=Array.prototype.slice;function R(t){return()=>t}var F=Math.sqrt(50),q=Math.sqrt(10),O=Math.sqrt(2);function U(t,n,e){var r,i,o,a,u=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n<t)&&(i=t,t=n,n=i),0===(a=I(t,n,e))||!isFinite(a))return[];if(a>0){let e=Math.round(t/a),r=Math.round(n/a);for(e*a<t&&++e,r*a>n&&--r,o=new Array(i=r-e+1);++u<i;)o[u]=(e+u)*a}else{a=-a;let e=Math.round(t*a),r=Math.round(n*a);for(e/a<t&&++e,r/a>n&&--r,o=new Array(i=r-e+1);++u<i;)o[u]=(e+u)/a}return r&&o.reverse(),o}function I(t,n,e){var r=(n-t)/Math.max(0,e),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=F?10:o>=q?5:o>=O?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=F?10:o>=q?5:o>=O?2:1)}funLine truncated
@@ -0,0 +1,91 @@
/* #Reset & Basics (Inspired by E. Meyers)
================================================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block; }
body {
line-height: 1; }
ol, ul {
list-style: none; }
blockquote, q {
quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none; }
table {
border-collapse: collapse;
border-spacing: 0; }
/* Main layout
============================ */
#main-wrapper {
width: 600px;
margin: 40px auto;
font-family: Georgia, serif;
}
h1 {
font-family: Georgia, serif;
font-size: 1.45em;
text-align: center;
}
/* Chart
============================ */
#chart {
position: relative;
margin: 0 auto;
}
text {
font-family: "Courier New", Courier, monospace;
font-size: .8rem;
}
.axis .axistitle {
text-transform: uppercase;
fill: #333;
font-size: .8rem;
}
.axis path,
.axis line {
fill: none;
stroke: #e0e0e0;
stroke-width: .5px;
shape-rendering: crispEdges;
}
.x.axis path, .y.axis path {
display: none;
}
.barbell line {
stroke-width: 1px;
}
.barbell circle {
stroke: #000;
stroke-width: 1px;
}
.barbell circle.men {
fill: #317e7f;
}
.barbell circle.women {
fill: #f98e1a;
}
/* Interaction
============================ */
circle.current {
stroke: #000;
stroke-width: 3px;
}
@@ -0,0 +1,292 @@
"activity" "schappy_mean" "meaning_mean" "descrip" "relwt"
"010301" 3.65 5.2875 "Health-related self care" 0.3437
"010399" 0.4441 4.332 "Self care, misc." 0.0022
"020101" 4.3016 5.0383 "Interior cleaning" 1.362
"020102" 4.1979 4.866 "Laundry" 0.806
"020103" 4.8934 5.4284 "Sewing, repairing, and maintaining textiles" 0.076
"020104" 4.5711 4.8468 "Storing interior household items, inc. food" 0.2002
"020201" 4.6729 5.1604 "Food and drink prep." 3.8685
"020202" 4.9016 5.5208 "Food presentation" 0.0659
"020203" 4.3252 4.9249 "Kitchen and food clean-up" 0.9425
"020301" 4.5569 5.2724 "Interior arrangement, decoration, and repairs" 0.1527
"020302" 4.7587 4.8901 "Building and repairing furniture" 0.0073
"020303" 4.2926 5.29 "Heating and cooling" 0.0446
"020401" 4.1507 5.0967 "Exterior cleaning" 0.1179
"020402" 4.8953 5.3774 "Exterior repair, improvements, and decoration" 0.0696
"020501" 4.6695 5.2066 "Lawn, garden, and houseplant care" 0.6958
"020502" 4.0334 5.083 "Ponds, pools, and hot tubs" 0.0143
"020602" 4.591 5.3077 "Care for animals and pets" 0.6464
"020603" 4.9233 5.2797 "Walking, exercising, playing with animals" 0.4182
"020699" 4.4816 4.6297 "Pet and animal care, misc." 0.0032
"020701" 4.3308 5.1412 "Vehicle repair and maintenance (by self)" 0.14
"020801" 4.3562 5.1824 "App, tool, toy set-up, repair, and maint (by self)" 0.0589
"020901" 3.715 4.999 "Financial management" 0.1445
"020902" 4.386 4.9614 "Household and personal organization" 0.6869
"020903" 4.3574 4.8634 "Household and personal mail and messages (except e-mail)" 0.1483
"020904" 4.1977 4.3381 "Household and personal e-mail and messages" 0.2182
"020905" 4.0463 4.9778 "Home security" 0.023
"029999" 4.4219 4.895 "Household activities, misc." 0.0023
"030101" 4.8037 5.4819 "Care for household children" 1.7066
"030102" 5.3559 5.7285 "Reading to/with household children" 0.1706
"030103" 5.5047 5.7429 "Playing with household children" 0.5338
"030104" 5.4589 5.6239 "Arts and crafts with household children" 0.0131
"030105" 5.3366 5.712 "Playing sports with household children" 0.0246
"030106" 4.997 5.5712 "Talking with/listening to household children" 0.1503
"030108" 4.4771 5.0912 "Organization for household children" 0.0445
"030109" 5.0333 5.5065 "Looking after household children" 0.1501
"030110" 5.0778 5.615 "Attending household children's events" 0.0925
"030111" 4.7433 5.3825 "Waiting for/with household children" 0.0482
"030112" 4.7327 5.3525 "Picking up/dropping off household children" 0.3373
"030199" 5.0626 5.4164 "Caring for and helping household children, misc." 0.0058
"030201" 4.5065 5.5892 "Homework (household children)" 0.1711
"030202" 4.062 5.6243 "Meetings and school conferences (household children)" 0.0058
"030203" 5.0198 5.808 "Home schooling of household children" 0.0062
"030299" 3.4516 5.3227 "Activities related to household child's education, misc." 0.0037
"030301" 3.2966 5.5604 "Providing medical care to household children" 0.0218
"030302" 3.484 5.545 "Obtaining medical care for household children" 0.0127
"030303" 2.7979 5.6905 "Waiting associated with household children's health" 0.0101
"030401" 4.3313 5.5832 "Care for household adults" 0.0634
"030402" 4.6669 5.0003 "Looking after household adult (as a primary activity)" 0.0043
"030403" 3.7147 5.525 "Providing medical care to household adult" 0.021
"030404" 4.71 5.7405 "Obtaining medical and care services for household adult" 0.0075
"030405" 4.234 5.476 "Waiting associated with caring for household adults" 0.006
"030501" 4.3418 5.0822 "Helping household adults" 0.0088
"030502" 3.9261 5.5183 "Organization and planning for household adults" 0.0032
"030503" 4.6838 5.0713 "Picking up/dropping off household adult" 0.0368
"030504" 4.8728 5.4733 "Waiting associated with helping household adults" 0.0247
"030599" 4.7353 5.1179 "Helping household adults, misc." 0.0041
"040101" 5.3144 5.6892 "Care for non-household children" 0.0835
"040102" 5.632 5.8949 "Reading to/with non-household children" 0.0091
"040103" 5.7316 5.8642 "Playing with non-household children" 0.116
"040105" 4.7162 6 "Playing sports with non-household children" 0.005
"040106" 5.632 5.8326 "Talking with/listening to non-household children" 0.0251
"040108" 4.6278 5.5581 "Organization and planning for non-household children" 0.0052
"040109" 5.3345 5.8355 "Looking after non-household children (as primary activity)" 0.033
"040110" 5.5768 5.7883 "Attending non-household children's events" 0.0165
"040111" 5.1291 5.322 "Waiting for/with non-household children" 0.0074
"040112" 5.0798 5.5207 "Dropping off/picking up non-household children" 0.0691
"040199" 5.5774 5.7106 "Caring for and helping non-household children, misc." 0.0054
"040201" 4.8287 5.8439 "Homework (non-household children)" 0.0077
"040401" 4.5175 5.6303 "Care for non-household adults" 0.0244
"040402" 3.6183 5.4763 "Looking after non-household adult" 0.005
"040403" 4.3324 5.7824 "Providing medical care to non-household adult" 0.0083
"040404" 3.697 5.7815 "Obtaining medical and care svcs for non-household adult" 0.0028
"040405" 3.8136 5.5421 "Waiting associated with caring for non-household adults" 0.0045
"040501" 4.7363 5.3113 "Hswrk, cooking, and shopping asst, non-household adults" 0.0447
"040502" 4.6688 5.368 "House and lawn maint and repair asst, non-household adults" 0.0436
"040503" 5.3119 4.9995 "Animal and pet care assistance for non-household adults" 0.0134
"040504" 4.5605 5.2475 "Vehicle/appliance maint/repair asst, non-household adults" 0.0201
"040505" 4.4638 4.9507 "Financial mgmt asst for non-household adults" 0.0049
"040506" 4.1688 5.3376 "household mgmt and paperwork asst, non-household adults" 0.0255
"040507" 4.9319 5.3192 "Picking up/dropping off non-household adult" 0.1284
"040508" 4.2182 5.2695 "Waiting associated with helping non-household adults" 0.023
"040599" 4.3443 5.2868 "Helping non-household adults, misc." 0.015
"050101" 4.2106 5.0372 "Work, main job" 3.8671
"050102" 4.2169 5.0135 "Work, other job(s)" 0.1346
"050104" 4.1585 4.952 "Waiting associated with working" 0.0258
"050199" 3.502 3.8063 "Working, misc." 0.0012
"050201" 4.8683 4.8224 "Socializing, relaxing, and leisure as part of job" 0.0028
"050202" 4.6143 4.9853 "Eating and drinking as part of job" 0.0178
"050301" 5.1982 5.486 "Income-generating hobbies, crafts, and food" 0.0079
"050303" 4.7095 4.9767 "Income-generating services" 0.0307
"050304" 3.7731 5.3123 "Income-generating rental property activities" 0.0053
"050399" 4.5872 5.2503 "Other income-generating activities, misc." 0.0391
"050401" 3.4136 5.4454 "Job search activities" 0.1018
"050403" 4.4473 5.6315 "Job interviewing" 0.0046
"060101" 4.0938 4.9396 "Taking class for degree, certification, or lic" 0.1708
"060102" 4.8102 5.4599 "Taking class for personal interest" 0.0199
"060103" 3.7852 5.4278 "Waiting associated with taking classes" 0.005
"060201" 5.3468 5.7823 "Extracurricular club activities" 0.0028
"060202" 4.7063 5.0467 "Extracurricular music and performance activities" 0.0049
"060299" 4.8569 3.7138 "Education-related extracurricular activities, misc." 0.0017
"060301" 3.3418 4.9021 "Homework for class, for degree" 0.2883
"060302" 4.9457 5.6787 "Homework for class, for personal interest" 0.0067
"060399" 3.0733 4.7988 "Research/homework misc." 0.0048
"060401" 5.1 5.8001 "Admin activities: class for degree, cert, or lic" 0.0048
"069999" 3.8977 5.3269 "Education, misc." 0.0103
"070101" 4.3286 4.8367 "Grocery shopping" 0.5658
"070102" 4.2173 4.872 "Purchasing gas" 0.0943
"070103" 4.6715 4.8424 "Purchasing food (not groceries)" 0.3922
"070104" 4.6217 4.9111 "Shopping" 1.0884
"070105" 3.8775 5.1629 "Waiting associated with shopping" 0.0118
"070201" 4.6118 4.9319 "Comparison shopping" 0.0037
"080101" 5.0985 5.5574 "Using paid childcare services" 0.0073
"080201" 4.2378 4.9952 "Banking" 0.0579
"080202" 4.6522 5.3043 "Using other financial services" 0.0055
"080203" 4.5258 5.3144 "Waiting associated w/banking/financial services" 0.0023
"080401" 3.5839 5.4735 "Using health and care services outside the home" 0.1335
"080402" 3.5935 4.8952 "Using in-home health and care services" 0.0068
"080403" 3.3676 5.2215 "Waiting associated with medical services" 0.031
"080501" 4.8617 5.0354 "Using personal care services" 0.0583
"080502" 4.809 3.6661 "Waiting associated w/personal care services" 0.0025
"080601" 3.9619 5.0571 "Activities rel. to purchasing/selling real estate" 0.0125
"080701" 3.0977 5.7036 "Using veterinary services" 0.0085
"080702" 4.4371 5.4764 "Waiting associated with veterinary services" 0.003
"089999" 4.8267 5.1165 "Professional and personal services, misc." 0.0083
"090103" 4.9078 5.18 "Using clothing repair and cleaning services" 0.0066
"090201" 4.0885 5.0779 "Using home maint/repair/décor/construction svcs" 0.0121
"090202" 4.866 5.2007 "Wtg assoc w/ home main/repair/décor/constr" 0.0058
"090301" 4.139 4.4996 "Using pet services" 0.0043
"090401" 5.0353 5.5002 "Using lawn and garden services" 0.0034
"090501" 3.5476 4.8717 "Using vehicle maintenance or repair services" 0.021
"090502" 4.4548 4.9964 "Waiting assoc with vehicle main. or repair svcs" 0.0087
"100102" 4.036 5.3569 "Using social services" 0.0034
"100103" 3.6129 5.5428 "Obtaining licenses and paying fines, fees, taxes" 0.0071
"100201" 3.8247 5.8242 "Civic obligations and participation" 0.0055
"100304" 4.2609 4.9115 "Waiting associated with using government services" 0.0028
"110101" 4.8524 5.1731 "Eating and drinking" 10
"110201" 4.6021 4.9123 "Waiting associated w/eating and drinking" 0.0332
"120101" 5.0809 5.424 "Socializing and communicating" 2.5822
"120201" 5.4271 5.486 "Attending or hosting parties/receptions/ceremonies" 0.164
"120202" 4.4307 5.3018 "Attending meetings for personal interest (not volunteering)" 0.0262
"120301" 4.6856 5.1863 "Relaxing, thinking" 1.0886
"120302" 4.5497 5.0903 "Tobacco and drug use" 0.0602
"120303" 4.634 4.7545 "Television and movies" 5.058
"120304" 4.6446 5.4465 "Television (religious)" 0.0193
"120305" 4.5594 5.1203 "Listening to the radio" 0.0842
"120306" 4.9839 5.1187 "Listening to/playing music" 0.112
"120307" 4.9215 4.6528 "Playing games" 0.4886
"120308" 4.274 4.4493 "Computer use for leisure (exc. Games)" 0.5267
"120309" 4.9311 5.2819 "Arts and crafts as a hobby" 0.0832
"120311" 4.9605 5.5621 "Hobbies, except arts and crafts and collecting" 0.0094
"120312" 4.5865 4.8958 "Reading for personal interest" 1.1138
"120313" 4.8226 5.2921 "Writing for personal interest" 0.0148
"120399" 5.3157 5.4208 "Relaxing and leisure, misc." 0.0091
"120401" 5.2838 5.2415 "Attending performing arts" 0.0313
"120402" 5.2915 5.4177 "Attending museums" 0.019
"120403" 5.1679 5.0339 "Attending movies/film" 0.0597
"120404" 4.9542 4.7208 "Attending gambling establishments" 0.0142
"120499" 5.3123 5.3884 "Arts and entertainment, misc." 0.0612
"120504" 5.3712 5.571 "Waiting associated with arts and entertainment" 0.0042
"130101" 5.1623 5.4596 "Doing aerobics" 0.0089
"130102" 5.2133 4.9253 "Playing baseball" 0.0034
"130103" 5.3224 5.1499 "Playing basketball" 0.0297
"130104" 5.3086 5.3288 "Biking" 0.0459
"130105" 5.1553 4.7978 "Playing billiards" 0.0084
"130106" 5.5945 5.2725 "Boating" 0.0158
"130107" 4.257 4.9967 "Bowling" 0.0098
"130109" 5.2666 5.6163 "Dancing" 0.0144
"130110" 4.1328 5.5767 "Participating in equestrian sports" 0.0054
"130112" 5.1375 5.3017 "Fishing" 0.0328
"130113" 5.1277 4.4822 "Playing football" 0.0075
"130114" 5.1526 5.1615 "Golfing" 0.0337
"130116" 5.3033 5.4277 "Hiking" 0.0162
"130117" 4.9474 5.6306 "Playing hockey" 0.0046
"130118" 4.6138 5.5714 "Hunting" 0.0177
"130119" 5 5.878 "Participating in martial arts" 0.0049
"130120" 5.2921 5.1088 "Playing racquet sports" 0.0087
"130122" 5.2786 4.8898 "Rollerblading" 0.0065
"130124" 4.8552 5.4258 "Running" 0.0721
"130125" 5.7289 5.2832 "Skiing, ice skating, snowboarding" 0.0084
"130126" 5.3031 5.3535 "Playing soccer" 0.0116
"130127" 4.7308 5.2851 "Playing softball" 0.0067
"130128" 4.4901 5.4879 "Using cardiovascular equipment" 0.0678
"130129" 5.8696 5.5908 "Vehicle touring/racing" 0.0065
"130130" 5.8128 5.4136 "Playing volleyball" 0.0058
"130131" 4.9928 5.4046 "Walking" 0.3685
"130132" 5.4465 5.4959 "Participating in water sports" 0.0895
"130133" 4.8286 5.4693 "Weightlifting/strength training" 0.0689
"130134" 4.6372 5.3806 "Working out, unspecified" 0.2212
"130136" 4.567 5.4904 "Doing yoga" 0.0186
"130199" 5.1362 5.4151 "Playing sports misc." 0.0416
"130202" 4.9877 5.1101 "Watching baseball" 0.0108
"130203" 5.5753 5.0357 "Watching basketball" 0.0063
"130213" 5.238 5.4997 "Watching football" 0.0096
"130216" 4.6272 5.2029 "Watching hockey" 0.0071
"130218" 4.8914 4.4692 "Watching racquet sports" 0.0023
"130224" 5.5379 5.3283 "Watching soccer" 0.0081
"130227" 5.499 4.9985 "Watching volleyball" 0.0022
"130299" 4.818 5.182 "Attending sporting events, misc." 0.0053
"140101" 5.1801 5.7656 "Attending religious services" 0.5128
"140102" 5.1242 5.8226 "Participation in religious practices" 0.3447
"140103" 5.3894 5.4142 "Waiting assoc w/religious and spiritual activities" 0.0098
"140105" 5.294 5.8076 "Religious education activities" 0.0787
"149999" 5.4999 6 "Religious and spiritual activities, misc." 0.0029
"150101" 4.3872 5.1186 "Computer use" 0.0465
"150102" 4.892 5.3698 "Organizing and preparing" 0.0538
"150103" 5.1465 5.8767 "Reading" 0.0049
"150104" 3.9379 5.2894 "Telephone calls (except hotline counseling)" 0.0174
"150105" 5.0888 4.8161 "Writing" 0.0026
"150106" 5.5408 5.6845 "Fundraising" 0.0133
"150199" 5.2515 5.4781 "Administrative and support activities, misc." 0.0196
"150201" 5.0504 5.6601 "Food preparation, presentation, clean-up" 0.036
"150202" 4.4875 5.4283 "Collecting and delivering clothing and other goods" 0.0101
"150203" 5.1426 5.5682 "Providing care" 0.0195
"150204" 5.2749 5.6544 "Teaching, leading, counseling, mentoring" 0.0525
"150299" 4.7265 5.6233 "Social service and care activities, misc." 0.0093
"150302" 4.833 5.3045 "Indoor and outdoor maintenance, repair, and clean-up" 0.0173
"150401" 5.2987 5.6969 "Performing" 0.0265
"150402" 5.037 5.5589 "Serving at volunteer events and cultural activities" 0.0194
"150501" 4.5845 5.3972 "Attending meetings, conferences, and training" 0.0507
"150701" 4.5999 5.2999 "Waiting associated with volunteer activities" 0.0024
"159999" 5.2785 5.6518 "Volunteer activities, misc." 0.1119
"160101" 4.7783 5.5471 "Telephone calls to/from family members" 0.3752
"160102" 4.795 5.1776 "Phone calls to/from friends, neighbors" 0.2003
"160103" 2.2221 5.5185 "Telephone calls to/from education svcs providers" 0.0032
"160104" 3.4873 5.4081 "Telephone calls to/from salespeople" 0.0059
"160105" 2.6467 4.8562 "Phone calls to/from prof, personal svcs providers" 0.0167
"160106" 2.1017 5.3628 "Phone calls to/from household services providers" 0.0106
"160108" 3.7003 5.8925 "Telephone calls to/from government officials" 0.0056
"160199" 4.5566 5.211 "Telephone calls (to or from), misc." 0.1438
"180101" 4.674 5.1188 "Travel for personal care" 0.0959
"180201" 4.4686 5.0219 "Travel for housework" 0.0524
"180202" 4.8177 5.1817 "Travel for food and drink prep" 0.0526
"180203" 4.4063 5.4387 "Travel for int. maint, repair, and decoration" 0.0109
"180204" 4.6292 4.7371 "Travel for ext. maint, repair, and decoration" 0.0055
"180205" 4.7036 5.5364 "Travel for lawn, garden, and houseplants" 0.013
"180206" 4.7082 5.0638 "Travel for care for animals (not vet care)" 0.0486
"180207" 5.0427 5.0209 "Travel for vehicle care and maint (by self)" 0.0223
"180208" 5.8333 6 "Travel for tool, repair, and maintenance" 0.0043
"180209" 4.6447 5.0846 "Travel for household management" 0.2689
"180302" 4.797 5.2995 "Travel for caring for and helping household children" 0.859
"180303" 4.2 5.0188 "Travel for household children's education" 0.0126
"180304" 4.1476 5.2791 "Travel for household children's health" 0.0163
"180305" 3.8614 5.8019 "Travel for caring for household adults" 0.0206
"180306" 4.5551 5.1211 "Travel for helping household adults" 0.1177
"180402" 4.8915 5.2767 "Travel for helping non-household kids" 0.1991
"180404" 3.6108 5.3335 "Travel for non-household children's health" 0.0043
"180405" 4.352 5.2076 "Travel for caring for non-household adults" 0.015
"180406" 4.8412 5.1668 "Travel for helping non-household adults" 0.4152
"180501" 4.433 4.9649 "Travel for working" 2.2379
"180502" 3.9999 4.9312 "Travel for work-related activities" 0.007
"180503" 4.5506 5.4222 "Travel for income-generating activities" 0.0318
"180504" 3.8844 5.2982 "Travel for job search and interviewing" 0.0322
"180601" 4.2031 4.8203 "Travel for taking class" 0.125
"180602" 4.9581 4.6657 "Travel for extracurricular activities (ex. Sports)" 0.0058
"180603" 4.4433 4.6157 "Travel for research/homework" 0.0171
"180604" 4.1596 4.7597 "Travel for registration/admin activities" 0.003
"180701" 4.596 4.8843 "Traveling to/from the grocery store" 0.8789
"180703" 4.7388 4.952 "Travel for purchasing food (not groceries)" 0.5882
"180704" 4.6983 5.0044 "Travel for shopping, not groceries" 1.433
"180705" 4.5856 5.0456 "Traveling to/from gas station" 0.1591
"180801" 4.8568 6 "Travel for using childcare services" 0.005
"180802" 4.3214 5.0572 "Travel for using financial svcs and banking" 0.0787
"180804" 3.6482 5.3131 "Travel for using medical services" 0.1596
"180805" 4.8084 4.9991 "Travel for using personal care services" 0.057
"180806" 4.1981 4.8519 "Travel for using real estate services" 0.0163
"180807" 3.4253 5.2574 "Travel for using veterinary services" 0.013
"180899" 5.0215 4.9994 "Travel rel. to using prof, personal care svcs misc." 0.0055
"180901" 4.4148 5.1697 "Travel for using household services" 0.0113
"180902" 3.6941 5.7827 "Travel for home maintenance" 0.0028
"180903" 4.5553 4.2484 "Travel for using pet services (not vet)" 0.0086
"180905" 4.3643 5.0414 "Travel for vehicle maintenance" 0.0455
"181001" 4.543 5.2496 "Travel for using government services" 0.0124
"181002" 4.9754 5.6815 "Travel for civic obligations and participation" 0.0049
"181101" 4.9796 5.0953 "Travel for eating and drinking" 1.4294
"181201" 4.8021 5.1563 "Travel for socializing" 1.1308
"181202" 5.1019 5.1226 "Trvl related to attending or hosting social events" 0.1871
"181204" 5.0067 5.073 "Travel for arts and entertainment" 0.1724
"181205" 5.1206 5.0307 "Travel as a form of entertainment" 0.0582
"181206" 4.7928 5.0097 "Travel for relaxing and leisure" 0.3648
"181301" 4.8777 5.071 "Travel for sports, exercise, or recreation" 0.5078
"181302" 4.8429 5.0556 "Travel for attending sporting events" 0.0643
"181401" 5.0299 5.5472 "Travel for religious practices" 0.5638
"181501" 4.8462 5.2251 "Travel for volunteering" 0.2669
"181599" 5.0713 5.285 "Travel for volunteer activities, misc." 0.0084
"181601" 4.356 4.9264 "Travel for phone calls" 0.0229
"181801" 4.7595 4.3052 "Security procedures related to traveling" 0.009
"189999" 4.6894 5.1014 "Traveling, misc." 0.2231
"500101" 4.5424 5.223 "Insufficient detail in verbatim" 0.5265
"500103" 4.907 5.2302 "Missing travel or destination" 0.0964
"500104" 4.4997 5.2727 "Recorded simultaneous activities incorrectly" 0.0315
"500107" 4.6635 5.3266 "Unable to code activity at 1st tier" 0.0125
1 activity schappy_mean meaning_mean descrip relwt
2 010301 3.65 5.2875 Health-related self care 0.3437
3 010399 0.4441 4.332 Self care, misc. 0.0022
4 020101 4.3016 5.0383 Interior cleaning 1.362
5 020102 4.1979 4.866 Laundry 0.806
6 020103 4.8934 5.4284 Sewing, repairing, and maintaining textiles 0.076
7 020104 4.5711 4.8468 Storing interior household items, inc. food 0.2002
8 020201 4.6729 5.1604 Food and drink prep. 3.8685
9 020202 4.9016 5.5208 Food presentation 0.0659
10 020203 4.3252 4.9249 Kitchen and food clean-up 0.9425
11 020301 4.5569 5.2724 Interior arrangement, decoration, and repairs 0.1527
12 020302 4.7587 4.8901 Building and repairing furniture 0.0073
13 020303 4.2926 5.29 Heating and cooling 0.0446
14 020401 4.1507 5.0967 Exterior cleaning 0.1179
15 020402 4.8953 5.3774 Exterior repair, improvements, and decoration 0.0696
16 020501 4.6695 5.2066 Lawn, garden, and houseplant care 0.6958
17 020502 4.0334 5.083 Ponds, pools, and hot tubs 0.0143
18 020602 4.591 5.3077 Care for animals and pets 0.6464
19 020603 4.9233 5.2797 Walking, exercising, playing with animals 0.4182
20 020699 4.4816 4.6297 Pet and animal care, misc. 0.0032
21 020701 4.3308 5.1412 Vehicle repair and maintenance (by self) 0.14
22 020801 4.3562 5.1824 App, tool, toy set-up, repair, and maint (by self) 0.0589
23 020901 3.715 4.999 Financial management 0.1445
24 020902 4.386 4.9614 Household and personal organization 0.6869
25 020903 4.3574 4.8634 Household and personal mail and messages (except e-mail) 0.1483
26 020904 4.1977 4.3381 Household and personal e-mail and messages 0.2182
27 020905 4.0463 4.9778 Home security 0.023
28 029999 4.4219 4.895 Household activities, misc. 0.0023
29 030101 4.8037 5.4819 Care for household children 1.7066
30 030102 5.3559 5.7285 Reading to/with household children 0.1706
31 030103 5.5047 5.7429 Playing with household children 0.5338
32 030104 5.4589 5.6239 Arts and crafts with household children 0.0131
33 030105 5.3366 5.712 Playing sports with household children 0.0246
34 030106 4.997 5.5712 Talking with/listening to household children 0.1503
35 030108 4.4771 5.0912 Organization for household children 0.0445
36 030109 5.0333 5.5065 Looking after household children 0.1501
37 030110 5.0778 5.615 Attending household children's events 0.0925
38 030111 4.7433 5.3825 Waiting for/with household children 0.0482
39 030112 4.7327 5.3525 Picking up/dropping off household children 0.3373
40 030199 5.0626 5.4164 Caring for and helping household children, misc. 0.0058
41 030201 4.5065 5.5892 Homework (household children) 0.1711
42 030202 4.062 5.6243 Meetings and school conferences (household children) 0.0058
43 030203 5.0198 5.808 Home schooling of household children 0.0062
44 030299 3.4516 5.3227 Activities related to household child's education, misc. 0.0037
45 030301 3.2966 5.5604 Providing medical care to household children 0.0218
46 030302 3.484 5.545 Obtaining medical care for household children 0.0127
47 030303 2.7979 5.6905 Waiting associated with household children's health 0.0101
48 030401 4.3313 5.5832 Care for household adults 0.0634
49 030402 4.6669 5.0003 Looking after household adult (as a primary activity) 0.0043
50 030403 3.7147 5.525 Providing medical care to household adult 0.021
51 030404 4.71 5.7405 Obtaining medical and care services for household adult 0.0075
52 030405 4.234 5.476 Waiting associated with caring for household adults 0.006
53 030501 4.3418 5.0822 Helping household adults 0.0088
54 030502 3.9261 5.5183 Organization and planning for household adults 0.0032
55 030503 4.6838 5.0713 Picking up/dropping off household adult 0.0368
56 030504 4.8728 5.4733 Waiting associated with helping household adults 0.0247
57 030599 4.7353 5.1179 Helping household adults, misc. 0.0041
58 040101 5.3144 5.6892 Care for non-household children 0.0835
59 040102 5.632 5.8949 Reading to/with non-household children 0.0091
60 040103 5.7316 5.8642 Playing with non-household children 0.116
61 040105 4.7162 6 Playing sports with non-household children 0.005
62 040106 5.632 5.8326 Talking with/listening to non-household children 0.0251
63 040108 4.6278 5.5581 Organization and planning for non-household children 0.0052
64 040109 5.3345 5.8355 Looking after non-household children (as primary activity) 0.033
65 040110 5.5768 5.7883 Attending non-household children's events 0.0165
66 040111 5.1291 5.322 Waiting for/with non-household children 0.0074
67 040112 5.0798 5.5207 Dropping off/picking up non-household children 0.0691
68 040199 5.5774 5.7106 Caring for and helping non-household children, misc. 0.0054
69 040201 4.8287 5.8439 Homework (non-household children) 0.0077
70 040401 4.5175 5.6303 Care for non-household adults 0.0244
71 040402 3.6183 5.4763 Looking after non-household adult 0.005
72 040403 4.3324 5.7824 Providing medical care to non-household adult 0.0083
73 040404 3.697 5.7815 Obtaining medical and care svcs for non-household adult 0.0028
74 040405 3.8136 5.5421 Waiting associated with caring for non-household adults 0.0045
75 040501 4.7363 5.3113 Hswrk, cooking, and shopping asst, non-household adults 0.0447
76 040502 4.6688 5.368 House and lawn maint and repair asst, non-household adults 0.0436
77 040503 5.3119 4.9995 Animal and pet care assistance for non-household adults 0.0134
78 040504 4.5605 5.2475 Vehicle/appliance maint/repair asst, non-household adults 0.0201
79 040505 4.4638 4.9507 Financial mgmt asst for non-household adults 0.0049
80 040506 4.1688 5.3376 household mgmt and paperwork asst, non-household adults 0.0255
81 040507 4.9319 5.3192 Picking up/dropping off non-household adult 0.1284
82 040508 4.2182 5.2695 Waiting associated with helping non-household adults 0.023
83 040599 4.3443 5.2868 Helping non-household adults, misc. 0.015
84 050101 4.2106 5.0372 Work, main job 3.8671
85 050102 4.2169 5.0135 Work, other job(s) 0.1346
86 050104 4.1585 4.952 Waiting associated with working 0.0258
87 050199 3.502 3.8063 Working, misc. 0.0012
88 050201 4.8683 4.8224 Socializing, relaxing, and leisure as part of job 0.0028
89 050202 4.6143 4.9853 Eating and drinking as part of job 0.0178
90 050301 5.1982 5.486 Income-generating hobbies, crafts, and food 0.0079
91 050303 4.7095 4.9767 Income-generating services 0.0307
92 050304 3.7731 5.3123 Income-generating rental property activities 0.0053
93 050399 4.5872 5.2503 Other income-generating activities, misc. 0.0391
94 050401 3.4136 5.4454 Job search activities 0.1018
95 050403 4.4473 5.6315 Job interviewing 0.0046
96 060101 4.0938 4.9396 Taking class for degree, certification, or lic 0.1708
97 060102 4.8102 5.4599 Taking class for personal interest 0.0199
98 060103 3.7852 5.4278 Waiting associated with taking classes 0.005
99 060201 5.3468 5.7823 Extracurricular club activities 0.0028
100 060202 4.7063 5.0467 Extracurricular music and performance activities 0.0049
101 060299 4.8569 3.7138 Education-related extracurricular activities, misc. 0.0017
102 060301 3.3418 4.9021 Homework for class, for degree 0.2883
103 060302 4.9457 5.6787 Homework for class, for personal interest 0.0067
104 060399 3.0733 4.7988 Research/homework misc. 0.0048
105 060401 5.1 5.8001 Admin activities: class for degree, cert, or lic 0.0048
106 069999 3.8977 5.3269 Education, misc. 0.0103
107 070101 4.3286 4.8367 Grocery shopping 0.5658
108 070102 4.2173 4.872 Purchasing gas 0.0943
109 070103 4.6715 4.8424 Purchasing food (not groceries) 0.3922
110 070104 4.6217 4.9111 Shopping 1.0884
111 070105 3.8775 5.1629 Waiting associated with shopping 0.0118
112 070201 4.6118 4.9319 Comparison shopping 0.0037
113 080101 5.0985 5.5574 Using paid childcare services 0.0073
114 080201 4.2378 4.9952 Banking 0.0579
115 080202 4.6522 5.3043 Using other financial services 0.0055
116 080203 4.5258 5.3144 Waiting associated w/banking/financial services 0.0023
117 080401 3.5839 5.4735 Using health and care services outside the home 0.1335
118 080402 3.5935 4.8952 Using in-home health and care services 0.0068
119 080403 3.3676 5.2215 Waiting associated with medical services 0.031
120 080501 4.8617 5.0354 Using personal care services 0.0583
121 080502 4.809 3.6661 Waiting associated w/personal care services 0.0025
122 080601 3.9619 5.0571 Activities rel. to purchasing/selling real estate 0.0125
123 080701 3.0977 5.7036 Using veterinary services 0.0085
124 080702 4.4371 5.4764 Waiting associated with veterinary services 0.003
125 089999 4.8267 5.1165 Professional and personal services, misc. 0.0083
126 090103 4.9078 5.18 Using clothing repair and cleaning services 0.0066
127 090201 4.0885 5.0779 Using home maint/repair/décor/construction svcs 0.0121
128 090202 4.866 5.2007 Wtg assoc w/ home main/repair/décor/constr 0.0058
129 090301 4.139 4.4996 Using pet services 0.0043
130 090401 5.0353 5.5002 Using lawn and garden services 0.0034
131 090501 3.5476 4.8717 Using vehicle maintenance or repair services 0.021
132 090502 4.4548 4.9964 Waiting assoc with vehicle main. or repair svcs 0.0087
133 100102 4.036 5.3569 Using social services 0.0034
134 100103 3.6129 5.5428 Obtaining licenses and paying fines, fees, taxes 0.0071
135 100201 3.8247 5.8242 Civic obligations and participation 0.0055
136 100304 4.2609 4.9115 Waiting associated with using government services 0.0028
137 110101 4.8524 5.1731 Eating and drinking 10
138 110201 4.6021 4.9123 Waiting associated w/eating and drinking 0.0332
139 120101 5.0809 5.424 Socializing and communicating 2.5822
140 120201 5.4271 5.486 Attending or hosting parties/receptions/ceremonies 0.164
141 120202 4.4307 5.3018 Attending meetings for personal interest (not volunteering) 0.0262
142 120301 4.6856 5.1863 Relaxing, thinking 1.0886
143 120302 4.5497 5.0903 Tobacco and drug use 0.0602
144 120303 4.634 4.7545 Television and movies 5.058
145 120304 4.6446 5.4465 Television (religious) 0.0193
146 120305 4.5594 5.1203 Listening to the radio 0.0842
147 120306 4.9839 5.1187 Listening to/playing music 0.112
148 120307 4.9215 4.6528 Playing games 0.4886
149 120308 4.274 4.4493 Computer use for leisure (exc. Games) 0.5267
150 120309 4.9311 5.2819 Arts and crafts as a hobby 0.0832
151 120311 4.9605 5.5621 Hobbies, except arts and crafts and collecting 0.0094
152 120312 4.5865 4.8958 Reading for personal interest 1.1138
153 120313 4.8226 5.2921 Writing for personal interest 0.0148
154 120399 5.3157 5.4208 Relaxing and leisure, misc. 0.0091
155 120401 5.2838 5.2415 Attending performing arts 0.0313
156 120402 5.2915 5.4177 Attending museums 0.019
157 120403 5.1679 5.0339 Attending movies/film 0.0597
158 120404 4.9542 4.7208 Attending gambling establishments 0.0142
159 120499 5.3123 5.3884 Arts and entertainment, misc. 0.0612
160 120504 5.3712 5.571 Waiting associated with arts and entertainment 0.0042
161 130101 5.1623 5.4596 Doing aerobics 0.0089
162 130102 5.2133 4.9253 Playing baseball 0.0034
163 130103 5.3224 5.1499 Playing basketball 0.0297
164 130104 5.3086 5.3288 Biking 0.0459
165 130105 5.1553 4.7978 Playing billiards 0.0084
166 130106 5.5945 5.2725 Boating 0.0158
167 130107 4.257 4.9967 Bowling 0.0098
168 130109 5.2666 5.6163 Dancing 0.0144
169 130110 4.1328 5.5767 Participating in equestrian sports 0.0054
170 130112 5.1375 5.3017 Fishing 0.0328
171 130113 5.1277 4.4822 Playing football 0.0075
172 130114 5.1526 5.1615 Golfing 0.0337
173 130116 5.3033 5.4277 Hiking 0.0162
174 130117 4.9474 5.6306 Playing hockey 0.0046
175 130118 4.6138 5.5714 Hunting 0.0177
176 130119 5 5.878 Participating in martial arts 0.0049
177 130120 5.2921 5.1088 Playing racquet sports 0.0087
178 130122 5.2786 4.8898 Rollerblading 0.0065
179 130124 4.8552 5.4258 Running 0.0721
180 130125 5.7289 5.2832 Skiing, ice skating, snowboarding 0.0084
181 130126 5.3031 5.3535 Playing soccer 0.0116
182 130127 4.7308 5.2851 Playing softball 0.0067
183 130128 4.4901 5.4879 Using cardiovascular equipment 0.0678
184 130129 5.8696 5.5908 Vehicle touring/racing 0.0065
185 130130 5.8128 5.4136 Playing volleyball 0.0058
186 130131 4.9928 5.4046 Walking 0.3685
187 130132 5.4465 5.4959 Participating in water sports 0.0895
188 130133 4.8286 5.4693 Weightlifting/strength training 0.0689
189 130134 4.6372 5.3806 Working out, unspecified 0.2212
190 130136 4.567 5.4904 Doing yoga 0.0186
191 130199 5.1362 5.4151 Playing sports misc. 0.0416
192 130202 4.9877 5.1101 Watching baseball 0.0108
193 130203 5.5753 5.0357 Watching basketball 0.0063
194 130213 5.238 5.4997 Watching football 0.0096
195 130216 4.6272 5.2029 Watching hockey 0.0071
196 130218 4.8914 4.4692 Watching racquet sports 0.0023
197 130224 5.5379 5.3283 Watching soccer 0.0081
198 130227 5.499 4.9985 Watching volleyball 0.0022
199 130299 4.818 5.182 Attending sporting events, misc. 0.0053
200 140101 5.1801 5.7656 Attending religious services 0.5128
201 140102 5.1242 5.8226 Participation in religious practices 0.3447
202 140103 5.3894 5.4142 Waiting assoc w/religious and spiritual activities 0.0098
203 140105 5.294 5.8076 Religious education activities 0.0787
204 149999 5.4999 6 Religious and spiritual activities, misc. 0.0029
205 150101 4.3872 5.1186 Computer use 0.0465
206 150102 4.892 5.3698 Organizing and preparing 0.0538
207 150103 5.1465 5.8767 Reading 0.0049
208 150104 3.9379 5.2894 Telephone calls (except hotline counseling) 0.0174
209 150105 5.0888 4.8161 Writing 0.0026
210 150106 5.5408 5.6845 Fundraising 0.0133
211 150199 5.2515 5.4781 Administrative and support activities, misc. 0.0196
212 150201 5.0504 5.6601 Food preparation, presentation, clean-up 0.036
213 150202 4.4875 5.4283 Collecting and delivering clothing and other goods 0.0101
214 150203 5.1426 5.5682 Providing care 0.0195
215 150204 5.2749 5.6544 Teaching, leading, counseling, mentoring 0.0525
216 150299 4.7265 5.6233 Social service and care activities, misc. 0.0093
217 150302 4.833 5.3045 Indoor and outdoor maintenance, repair, and clean-up 0.0173
218 150401 5.2987 5.6969 Performing 0.0265
219 150402 5.037 5.5589 Serving at volunteer events and cultural activities 0.0194
220 150501 4.5845 5.3972 Attending meetings, conferences, and training 0.0507
221 150701 4.5999 5.2999 Waiting associated with volunteer activities 0.0024
222 159999 5.2785 5.6518 Volunteer activities, misc. 0.1119
223 160101 4.7783 5.5471 Telephone calls to/from family members 0.3752
224 160102 4.795 5.1776 Phone calls to/from friends, neighbors 0.2003
225 160103 2.2221 5.5185 Telephone calls to/from education svcs providers 0.0032
226 160104 3.4873 5.4081 Telephone calls to/from salespeople 0.0059
227 160105 2.6467 4.8562 Phone calls to/from prof, personal svcs providers 0.0167
228 160106 2.1017 5.3628 Phone calls to/from household services providers 0.0106
229 160108 3.7003 5.8925 Telephone calls to/from government officials 0.0056
230 160199 4.5566 5.211 Telephone calls (to or from), misc. 0.1438
231 180101 4.674 5.1188 Travel for personal care 0.0959
232 180201 4.4686 5.0219 Travel for housework 0.0524
233 180202 4.8177 5.1817 Travel for food and drink prep 0.0526
234 180203 4.4063 5.4387 Travel for int. maint, repair, and decoration 0.0109
235 180204 4.6292 4.7371 Travel for ext. maint, repair, and decoration 0.0055
236 180205 4.7036 5.5364 Travel for lawn, garden, and houseplants 0.013
237 180206 4.7082 5.0638 Travel for care for animals (not vet care) 0.0486
238 180207 5.0427 5.0209 Travel for vehicle care and maint (by self) 0.0223
239 180208 5.8333 6 Travel for tool, repair, and maintenance 0.0043
240 180209 4.6447 5.0846 Travel for household management 0.2689
241 180302 4.797 5.2995 Travel for caring for and helping household children 0.859
242 180303 4.2 5.0188 Travel for household children's education 0.0126
243 180304 4.1476 5.2791 Travel for household children's health 0.0163
244 180305 3.8614 5.8019 Travel for caring for household adults 0.0206
245 180306 4.5551 5.1211 Travel for helping household adults 0.1177
246 180402 4.8915 5.2767 Travel for helping non-household kids 0.1991
247 180404 3.6108 5.3335 Travel for non-household children's health 0.0043
248 180405 4.352 5.2076 Travel for caring for non-household adults 0.015
249 180406 4.8412 5.1668 Travel for helping non-household adults 0.4152
250 180501 4.433 4.9649 Travel for working 2.2379
251 180502 3.9999 4.9312 Travel for work-related activities 0.007
252 180503 4.5506 5.4222 Travel for income-generating activities 0.0318
253 180504 3.8844 5.2982 Travel for job search and interviewing 0.0322
254 180601 4.2031 4.8203 Travel for taking class 0.125
255 180602 4.9581 4.6657 Travel for extracurricular activities (ex. Sports) 0.0058
256 180603 4.4433 4.6157 Travel for research/homework 0.0171
257 180604 4.1596 4.7597 Travel for registration/admin activities 0.003
258 180701 4.596 4.8843 Traveling to/from the grocery store 0.8789
259 180703 4.7388 4.952 Travel for purchasing food (not groceries) 0.5882
260 180704 4.6983 5.0044 Travel for shopping, not groceries 1.433
261 180705 4.5856 5.0456 Traveling to/from gas station 0.1591
262 180801 4.8568 6 Travel for using childcare services 0.005
263 180802 4.3214 5.0572 Travel for using financial svcs and banking 0.0787
264 180804 3.6482 5.3131 Travel for using medical services 0.1596
265 180805 4.8084 4.9991 Travel for using personal care services 0.057
266 180806 4.1981 4.8519 Travel for using real estate services 0.0163
267 180807 3.4253 5.2574 Travel for using veterinary services 0.013
268 180899 5.0215 4.9994 Travel rel. to using prof, personal care svcs misc. 0.0055
269 180901 4.4148 5.1697 Travel for using household services 0.0113
270 180902 3.6941 5.7827 Travel for home maintenance 0.0028
271 180903 4.5553 4.2484 Travel for using pet services (not vet) 0.0086
272 180905 4.3643 5.0414 Travel for vehicle maintenance 0.0455
273 181001 4.543 5.2496 Travel for using government services 0.0124
274 181002 4.9754 5.6815 Travel for civic obligations and participation 0.0049
275 181101 4.9796 5.0953 Travel for eating and drinking 1.4294
276 181201 4.8021 5.1563 Travel for socializing 1.1308
277 181202 5.1019 5.1226 Trvl related to attending or hosting social events 0.1871
278 181204 5.0067 5.073 Travel for arts and entertainment 0.1724
279 181205 5.1206 5.0307 Travel as a form of entertainment 0.0582
280 181206 4.7928 5.0097 Travel for relaxing and leisure 0.3648
281 181301 4.8777 5.071 Travel for sports, exercise, or recreation 0.5078
282 181302 4.8429 5.0556 Travel for attending sporting events 0.0643
283 181401 5.0299 5.5472 Travel for religious practices 0.5638
284 181501 4.8462 5.2251 Travel for volunteering 0.2669
285 181599 5.0713 5.285 Travel for volunteer activities, misc. 0.0084
286 181601 4.356 4.9264 Travel for phone calls 0.0229
287 181801 4.7595 4.3052 Security procedures related to traveling 0.009
288 189999 4.6894 5.1014 Traveling, misc. 0.2231
289 500101 4.5424 5.223 Insufficient detail in verbatim 0.5265
290 500103 4.907 5.2302 Missing travel or destination 0.0964
291 500104 4.4997 5.2727 Recorded simultaneous activities incorrectly 0.0315
292 500107 4.6635 5.3266 Unable to code activity at 1st tier 0.0125
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>Activities, Happiness, and Meaning</title>
<link rel="stylesheet" href="style/style.css" type="text/css" media="screen" />
</head>
<div id="main-wrapper">
<h1>Meaningfulness with Happiness</h1>
<div id="chart"></div>
</div>
<script src="js/d3.v7.min.js"></script>
<script src="js/bubbleplot.js"></script>
@@ -0,0 +1,139 @@
// Dimensions of chart.
let margin = { top: 20, right: 30, bottom: 50, left: 55 },
// width = parseInt(d3.select('#chart').style('width'), 10) - margin.left - margin.right,
width = 600 - margin.left - margin.right,
// height = width/.8 - margin.top - margin.bottom;
height = width - margin.top - margin.bottom;
let svg = d3.select("#chart").append("svg")
.attr("width", width + margin.left + margin.right)
.attr("height", height + margin.top + margin.bottom)
.append("g")
.attr("transform", "translate(" + margin.left + "," + margin.top + ")");
// Scales: x and y and r
let x = d3.scaleLinear()
// .domain([3, 6])
.domain([4, 6])
.range([0, width]);
let y = d3.scaleLinear()
// .domain([2, 6])
.domain([3, 6])
.range([height, 0]);
let r = d3.scaleSqrt()
.domain([0, 10])
.range([0, 25]);
// Point color
let ptcolor = "#5a8171";
// x-axis
let xAxis = d3.axisBottom(x)
// .ticks(7)
.ticks(4)
.tickSize(-height-8)
.tickPadding(5);
let xAxisEl = svg.append("g")
.attr("class", "x axis bottom")
.attr("transform", "translate(0,"+(height+8)+")");
xAxisEl.append("text")
.attr("class", "axistitle")
.attr("text-anchor", "start")
.attr("x", 0).attr("y", 0)
// .attr("dx", "-.25em")
.attr("dx", "-.8em")
.attr("dy", "2.5em")
.text("Meaningfulness Score Average");
xAxisEl.call(xAxis);
// y-axis
let yAxis = d3.axisLeft(y)
// .ticks(7)
.ticks(5)
.tickSize(-width-8)
.tickPadding(5);
let yAxisEl = svg.append("g")
.attr("class", "y axis left")
.attr("transform", "translate("+(-8)+",0)");
yAxisEl.append("text")
.attr("class", "axistitle")
.attr("x", 0).attr("y", 0)
.attr("dx", "4px")
// .attr("dy", "-2em")
.attr("dy", "-3em")
.style("text-anchor", "end")
.attr("transform", "rotate(-90)")
.text("Happiness Score Average");
yAxisEl.call(yAxis);
let activities;
let circle, labeltext;
// Load data
const activitiesData = Promise.all([
d3.tsv("data/act_means.tsv", d3.autoType)
]);
activitiesData.then(function(data) {
activities = data[0].sort((a, b) => b.relwt - a.relwt);
console.log(activities);
// Initialize chart now that data is loaded.
initChart();
});
function initChart() {
// Circle for each node.
circle = svg.append("g")
.selectAll("circle")
.data(activities)
.join("circle")
.attr("id", d => "circle"+d.activity)
.attr("cx", d => x(d.meaning_mean))
.attr("cy", d => y(d.schappy_mean))
.attr("fill", ptcolor)
.attr("fill-opacity", .75)
.attr("r", d => r(d.relwt))
.attr("stroke", "#fff")
.attr("stroke-width", ".5px");
setInteraction();
}
function setInteraction() {
// Create label
labeltext = svg.append("text")
.attr("text-anchor", "middle");
// Hover events
circle.on("mouseover", function(e,d) {
d3.selectAll(".current").classed("current", false);
d3.select(this).classed("current", true);
let curract = d3.select(this).datum();
labeltext.text(curract.descrip)
.attr("x", x(curract.meaning_mean))
.attr("y", y(curract.schappy_mean)-r(curract.relwt)-5);
})
// .on("mousemove", function(e,d) {
// d3.select(this).classed("current", true);
// })
.on('mouseout', function(d) {
d3.select(this).classed('current', false);
labeltext.text('');
}); // @end mouseover
}
@@ -0,0 +1,2 @@
// https://d3js.org v7.4.0 Copyright 2010-2022 Mike Bostock
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).d3=t.d3||{})}(this,(function(t){"use strict";function n(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function e(t){let e=t,r=t,i=t;function o(t,n,e=0,o=t.length){if(e<o){if(0!==r(n,n))return o;do{const r=e+o>>>1;i(t[r],n)<0?e=r+1:o=r}while(e<o)}return e}return 2!==t.length&&(e=(n,e)=>t(n)-e,r=n,i=(e,r)=>n(t(e),r)),{left:o,center:function(t,n,r=0,i=t.length){const a=o(t,n,r,i-1);return a>r&&e(t[a-1],n)>-e(t[a],n)?a-1:a},right:function(t,n,e=0,o=t.length){if(e<o){if(0!==r(n,n))return o;do{const r=e+o>>>1;i(t[r],n)<=0?e=r+1:o=r}while(e<o)}return e}}}function r(t){return null===t?NaN:+t}const i=e(n),o=i.right,a=i.left,u=e(r).center;var c=o;function f(t,n){let e=0;if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&++e;else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(i=+i)>=i&&++e}return e}function s(t){return 0|t.length}function l(t){return!(t>0)}function h(t){return"object"!=typeof t||"length"in t?t:Array.from(t)}function d(t,n){let e,r=0,i=0,o=0;if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(e=n-i,i+=e/++r,o+=e*(n-i));else{let a=-1;for(let u of t)null!=(u=n(u,++a,t))&&(u=+u)>=u&&(e=u-i,i+=e/++r,o+=e*(u-i))}if(r>1)return o/(r-1)}function p(t,n){const e=d(t,n);return e?Math.sqrt(e):e}function g(t,n){let e,r;if(void 0===n)for(const n of t)null!=n&&(void 0===e?n>=n&&(e=r=n):(e>n&&(e=n),r<n&&(r=n)));else{let i=-1;for(let o of t)null!=(o=n(o,++i,t))&&(void 0===e?o>=o&&(e=r=o):(e>o&&(e=o),r<o&&(r=o)))}return[e,r]}class y{constructor(){this._partials=new Float64Array(32),this._n=0}add(t){const n=this._partials;let e=0;for(let r=0;r<this._n&&r<32;r++){const i=n[r],o=t+i,a=Math.abs(t)<Math.abs(i)?t-(o-i):i-(o-t);a&&(n[e++]=a),t=o}return n[e]=t,this._n=e+1,this}valueOf(){const t=this._partials;let n,e,r,i=this._n,o=0;if(i>0){for(o=t[--i];i>0&&(n=o,e=t[--i],o=n+e,r=e-(o-n),!r););i>0&&(r<0&&t[i-1]<0||r>0&&t[i-1]>0)&&(e=2*r,n=o+e,e==n-o&&(o=n))}return o}}class InternMap extends Map{constructor(t,n=m){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const[n,e]of t)this.set(n,e)}get(t){return super.get(v(this,t))}has(t){return super.has(v(this,t))}set(t,n){return super.set(_(this,t),n)}delete(t){return super.delete(b(this,t))}}class InternSet extends Set{constructor(t,n=m){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const n of t)this.add(n)}has(t){return super.has(v(this,t))}add(t){return super.add(_(this,t))}delete(t){return super.delete(b(this,t))}}function v({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):e}function _({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):(t.set(r,e),e)}function b({_intern:t,_key:n},e){const r=n(e);return t.has(r)&&(e=t.get(r),t.delete(r)),e}function m(t){return null!==t&&"object"==typeof t?t.valueOf():t}function x(t){return t}function w(t,...n){return k(t,x,x,n)}function M(t,...n){return k(t,Array.from,x,n)}function A(t,n){for(let e=1,r=n.length;e<r;++e)t=t.flatMap((t=>t.pop().map((([n,e])=>[...t,n,e]))));return t}function T(t,n,...e){return k(t,x,n,e)}function S(t,n,...e){return k(t,Array.from,n,e)}function E(t){if(1!==t.length)throw new Error("duplicate key");return t[0]}function k(t,n,e,r){return function t(i,o){if(o>=r.length)return e(i);const a=new InternMap,u=r[o++];let c=-1;for(const t of i){const n=u(t,++c,i),e=a.get(n);e?e.push(t):a.set(n,[t])}for(const[n,e]of a)a.set(n,t(e,o));return n(a)}(t,0)}function N(t,n){return Array.from(n,(n=>t[n]))}function C(t,...n){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");t=Array.from(t);let[e]=n;if(e&&2!==e.length||n.length>1){const r=Uint32Array.from(t,((t,n)=>n));return n.length>1?(n=n.map((n=>t.map(n))),r.sort(((t,e)=>{for(const r of n){const n=z(r[t],r[e]);if(n)return n}}))):(e=t.map(e),r.sort(((t,n)=>z(e[t],e[n])))),N(t,r)}return t.sort(P(e))}function P(t=n){if(t===n)return z;if("function"!=typeof t)throw new TypeError("compare is not a function");return(n,e)=>{const r=t(n,e);return r||0===r?r:(0===t(e,e))-(0===t(n,n))}}function z(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(t<n?-1:t>n?1:0)}var D=Array.prototype.slice;function R(t){return()=>t}var F=Math.sqrt(50),q=Math.sqrt(10),O=Math.sqrt(2);function U(t,n,e){var r,i,o,a,u=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n<t)&&(i=t,t=n,n=i),0===(a=I(t,n,e))||!isFinite(a))return[];if(a>0){let e=Math.round(t/a),r=Math.round(n/a);for(e*a<t&&++e,r*a>n&&--r,o=new Array(i=r-e+1);++u<i;)o[u]=(e+u)*a}else{a=-a;let e=Math.round(t*a),r=Math.round(n*a);for(e/a<t&&++e,r/a>n&&--r,o=new Array(i=r-e+1);++u<i;)o[u]=(e+u)/a}return r&&o.reverse(),o}function I(t,n,e){var r=(n-t)/Math.max(0,e),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=F?10:o>=q?5:o>=O?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=F?10:o>=q?5:o>=O?2:1)}funLine truncated
@@ -0,0 +1,77 @@
/* #Reset & Basics (Inspired by E. Meyers)
================================================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block; }
body {
line-height: 1; }
ol, ul {
list-style: none; }
blockquote, q {
quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none; }
table {
border-collapse: collapse;
border-spacing: 0; }
/* Main layout
============================ */
#main-wrapper {
width: 600px;
margin: 40px auto;
font-family: Georgia, serif;
}
h1 {
font-family: Georgia, serif;
font-size: 1.45em;
text-align: center;
}
/* Chart
============================ */
#chart {
position: relative;
margin: 0 auto;
}
.axis text {
font-family: "Courier New", Courier, monospace;
font-size: .8rem;
}
.axis .axistitle {
text-transform: uppercase;
fill: #333;
font-size: .8rem;
}
.axis path,
.axis line {
fill: none;
stroke: #ccc;
stroke-width: 1px;
shape-rendering: crispEdges;
}
.x.axis path, .y.axis path {
display: none;
}
/* Interaction
============================ */
circle.current {
stroke: #000;
stroke-width: 3px;
}
@@ -0,0 +1,110 @@
Year,Beef,Chicken
1909,51.1,10.4
1910,48.5,11.0
1911,47.2,11.1
1912,44.5,10.6
1913,43.6,10.3
1914,42.7,10.3
1915,38.8,10.2
1916,40.6,9.6
1917,44.6,9.4
1918,47.2,9.4
1919,42.4,10.1
1920,40.7,9.7
1921,38.2,9.5
1922,40.7,10.1
1923,41.1,10.4
1924,41.0,9.7
1925,41.0,10.1
1926,41.5,10.1
1927,37.5,10.8
1928,33.6,10.4
1929,34.2,10.1
1930,33.7,11.1
1931,33.4,10.0
1932,32.1,10.2
1933,35.5,10.4
1934,43.9,9.6
1935,36.6,9.3
1936,41.6,9.6
1937,38.0,9.7
1938,37.4,9.0
1939,37.6,10.0
1940,37.8,10.0
1941,42.6,11.0
1942,45.9,12.7
1943,43.0,16.0
1944,46.6,15.3
1945,48.0,15.1
1946,44.2,13.9
1947,49.2,12.5
1948,44.2,12.6
1949,44.7,13.5
1950,44.6,14.3
1951,41.2,15.0
1952,43.9,15.2
1953,54.5,15.1
1954,56.0,15.6
1955,57.2,14.7
1956,59.5,16.8
1957,58.7,17.5
1958,55.9,19.2
1959,56.6,19.7
1960,59.1,19.1
1961,61.0,20.5
1962,61.7,20.5
1963,65.4,21.0
1964,70.6,21.3
1965,70.4,22.8
1966,73.7,24.5
1967,75.3,25.1
1968,77.3,25.2
1969,77.8,26.3
1970,79.8,27.4
1971,79.2,27.4
1972,80.5,28.3
1973,76.0,27.1
1974,80.7,27.0
1975,83.2,26.4
1976,88.8,28.5
1977,86.3,29.0
1978,82.2,30.4
1979,73.5,32.8
1980,72.1,32.7
1981,72.8,33.7
1982,72.5,33.9
1983,74.1,34.0
1984,73.8,35.3
1985,74.6,36.4
1986,74.4,37.2
1987,69.5,39.4
1988,68.6,39.6
1989,65.1,40.5
1990,63.9,42.5
1991,62.9,44.2
1992,62.4,46.5
1993,61.0,48.1
1994,62.9,48.7
1995,63.5,48.2
1996,64.0,48.6
1997,62.6,50.0
1998,63.6,50.4
1999,64.3,53.6
2000,64.5,54.2
2001,63.1,54.0
2002,64.5,56.8
2003,61.9,57.6
2004,63.0,59.3
2005,62.5,60.5
2006,62.8,60.9
2007,62.1,59.9
2008,59.4,58.7
2009,58.1,56.1
2010,56.7,58.0
2011,54.4,58.4
2012,54.5,56.7
2013,53.6,57.7
2014,51.5,58.8
2015,51.4,62.6
2016,52.9,63.2
2017,54.3,64.1
1 Year Beef Chicken
2 1909 51.1 10.4
3 1910 48.5 11.0
4 1911 47.2 11.1
5 1912 44.5 10.6
6 1913 43.6 10.3
7 1914 42.7 10.3
8 1915 38.8 10.2
9 1916 40.6 9.6
10 1917 44.6 9.4
11 1918 47.2 9.4
12 1919 42.4 10.1
13 1920 40.7 9.7
14 1921 38.2 9.5
15 1922 40.7 10.1
16 1923 41.1 10.4
17 1924 41.0 9.7
18 1925 41.0 10.1
19 1926 41.5 10.1
20 1927 37.5 10.8
21 1928 33.6 10.4
22 1929 34.2 10.1
23 1930 33.7 11.1
24 1931 33.4 10.0
25 1932 32.1 10.2
26 1933 35.5 10.4
27 1934 43.9 9.6
28 1935 36.6 9.3
29 1936 41.6 9.6
30 1937 38.0 9.7
31 1938 37.4 9.0
32 1939 37.6 10.0
33 1940 37.8 10.0
34 1941 42.6 11.0
35 1942 45.9 12.7
36 1943 43.0 16.0
37 1944 46.6 15.3
38 1945 48.0 15.1
39 1946 44.2 13.9
40 1947 49.2 12.5
41 1948 44.2 12.6
42 1949 44.7 13.5
43 1950 44.6 14.3
44 1951 41.2 15.0
45 1952 43.9 15.2
46 1953 54.5 15.1
47 1954 56.0 15.6
48 1955 57.2 14.7
49 1956 59.5 16.8
50 1957 58.7 17.5
51 1958 55.9 19.2
52 1959 56.6 19.7
53 1960 59.1 19.1
54 1961 61.0 20.5
55 1962 61.7 20.5
56 1963 65.4 21.0
57 1964 70.6 21.3
58 1965 70.4 22.8
59 1966 73.7 24.5
60 1967 75.3 25.1
61 1968 77.3 25.2
62 1969 77.8 26.3
63 1970 79.8 27.4
64 1971 79.2 27.4
65 1972 80.5 28.3
66 1973 76.0 27.1
67 1974 80.7 27.0
68 1975 83.2 26.4
69 1976 88.8 28.5
70 1977 86.3 29.0
71 1978 82.2 30.4
72 1979 73.5 32.8
73 1980 72.1 32.7
74 1981 72.8 33.7
75 1982 72.5 33.9
76 1983 74.1 34.0
77 1984 73.8 35.3
78 1985 74.6 36.4
79 1986 74.4 37.2
80 1987 69.5 39.4
81 1988 68.6 39.6
82 1989 65.1 40.5
83 1990 63.9 42.5
84 1991 62.9 44.2
85 1992 62.4 46.5
86 1993 61.0 48.1
87 1994 62.9 48.7
88 1995 63.5 48.2
89 1996 64.0 48.6
90 1997 62.6 50.0
91 1998 63.6 50.4
92 1999 64.3 53.6
93 2000 64.5 54.2
94 2001 63.1 54.0
95 2002 64.5 56.8
96 2003 61.9 57.6
97 2004 63.0 59.3
98 2005 62.5 60.5
99 2006 62.8 60.9
100 2007 62.1 59.9
101 2008 59.4 58.7
102 2009 58.1 56.1
103 2010 56.7 58.0
104 2011 54.4 58.4
105 2012 54.5 56.7
106 2013 53.6 57.7
107 2014 51.5 58.8
108 2015 51.4 62.6
109 2016 52.9 63.2
110 2017 54.3 64.1
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>Beef vs. Chicken</title>
<link rel="stylesheet" href="style/style.css" type="text/css" media="screen" />
</head>
<div id="main-wrapper">
<h1>Beef vs. Chicken</h1>
<div id="chart"></div>
</div>
<script src="js/d3.v7.min.js"></script>
<script src="js/differencechart.js"></script>
@@ -0,0 +1,2 @@
// https://d3js.org v7.4.0 Copyright 2010-2022 Mike Bostock
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).d3=t.d3||{})}(this,(function(t){"use strict";function n(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function e(t){let e=t,r=t,i=t;function o(t,n,e=0,o=t.length){if(e<o){if(0!==r(n,n))return o;do{const r=e+o>>>1;i(t[r],n)<0?e=r+1:o=r}while(e<o)}return e}return 2!==t.length&&(e=(n,e)=>t(n)-e,r=n,i=(e,r)=>n(t(e),r)),{left:o,center:function(t,n,r=0,i=t.length){const a=o(t,n,r,i-1);return a>r&&e(t[a-1],n)>-e(t[a],n)?a-1:a},right:function(t,n,e=0,o=t.length){if(e<o){if(0!==r(n,n))return o;do{const r=e+o>>>1;i(t[r],n)<=0?e=r+1:o=r}while(e<o)}return e}}}function r(t){return null===t?NaN:+t}const i=e(n),o=i.right,a=i.left,u=e(r).center;var c=o;function f(t,n){let e=0;if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&++e;else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(i=+i)>=i&&++e}return e}function s(t){return 0|t.length}function l(t){return!(t>0)}function h(t){return"object"!=typeof t||"length"in t?t:Array.from(t)}function d(t,n){let e,r=0,i=0,o=0;if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(e=n-i,i+=e/++r,o+=e*(n-i));else{let a=-1;for(let u of t)null!=(u=n(u,++a,t))&&(u=+u)>=u&&(e=u-i,i+=e/++r,o+=e*(u-i))}if(r>1)return o/(r-1)}function p(t,n){const e=d(t,n);return e?Math.sqrt(e):e}function g(t,n){let e,r;if(void 0===n)for(const n of t)null!=n&&(void 0===e?n>=n&&(e=r=n):(e>n&&(e=n),r<n&&(r=n)));else{let i=-1;for(let o of t)null!=(o=n(o,++i,t))&&(void 0===e?o>=o&&(e=r=o):(e>o&&(e=o),r<o&&(r=o)))}return[e,r]}class y{constructor(){this._partials=new Float64Array(32),this._n=0}add(t){const n=this._partials;let e=0;for(let r=0;r<this._n&&r<32;r++){const i=n[r],o=t+i,a=Math.abs(t)<Math.abs(i)?t-(o-i):i-(o-t);a&&(n[e++]=a),t=o}return n[e]=t,this._n=e+1,this}valueOf(){const t=this._partials;let n,e,r,i=this._n,o=0;if(i>0){for(o=t[--i];i>0&&(n=o,e=t[--i],o=n+e,r=e-(o-n),!r););i>0&&(r<0&&t[i-1]<0||r>0&&t[i-1]>0)&&(e=2*r,n=o+e,e==n-o&&(o=n))}return o}}class InternMap extends Map{constructor(t,n=m){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const[n,e]of t)this.set(n,e)}get(t){return super.get(v(this,t))}has(t){return super.has(v(this,t))}set(t,n){return super.set(_(this,t),n)}delete(t){return super.delete(b(this,t))}}class InternSet extends Set{constructor(t,n=m){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const n of t)this.add(n)}has(t){return super.has(v(this,t))}add(t){return super.add(_(this,t))}delete(t){return super.delete(b(this,t))}}function v({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):e}function _({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):(t.set(r,e),e)}function b({_intern:t,_key:n},e){const r=n(e);return t.has(r)&&(e=t.get(r),t.delete(r)),e}function m(t){return null!==t&&"object"==typeof t?t.valueOf():t}function x(t){return t}function w(t,...n){return k(t,x,x,n)}function M(t,...n){return k(t,Array.from,x,n)}function A(t,n){for(let e=1,r=n.length;e<r;++e)t=t.flatMap((t=>t.pop().map((([n,e])=>[...t,n,e]))));return t}function T(t,n,...e){return k(t,x,n,e)}function S(t,n,...e){return k(t,Array.from,n,e)}function E(t){if(1!==t.length)throw new Error("duplicate key");return t[0]}function k(t,n,e,r){return function t(i,o){if(o>=r.length)return e(i);const a=new InternMap,u=r[o++];let c=-1;for(const t of i){const n=u(t,++c,i),e=a.get(n);e?e.push(t):a.set(n,[t])}for(const[n,e]of a)a.set(n,t(e,o));return n(a)}(t,0)}function N(t,n){return Array.from(n,(n=>t[n]))}function C(t,...n){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");t=Array.from(t);let[e]=n;if(e&&2!==e.length||n.length>1){const r=Uint32Array.from(t,((t,n)=>n));return n.length>1?(n=n.map((n=>t.map(n))),r.sort(((t,e)=>{for(const r of n){const n=z(r[t],r[e]);if(n)return n}}))):(e=t.map(e),r.sort(((t,n)=>z(e[t],e[n])))),N(t,r)}return t.sort(P(e))}function P(t=n){if(t===n)return z;if("function"!=typeof t)throw new TypeError("compare is not a function");return(n,e)=>{const r=t(n,e);return r||0===r?r:(0===t(e,e))-(0===t(n,n))}}function z(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(t<n?-1:t>n?1:0)}var D=Array.prototype.slice;function R(t){return()=>t}var F=Math.sqrt(50),q=Math.sqrt(10),O=Math.sqrt(2);function U(t,n,e){var r,i,o,a,u=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n<t)&&(i=t,t=n,n=i),0===(a=I(t,n,e))||!isFinite(a))return[];if(a>0){let e=Math.round(t/a),r=Math.round(n/a);for(e*a<t&&++e,r*a>n&&--r,o=new Array(i=r-e+1);++u<i;)o[u]=(e+u)*a}else{a=-a;let e=Math.round(t*a),r=Math.round(n*a);for(e/a<t&&++e,r/a>n&&--r,o=new Array(i=r-e+1);++u<i;)o[u]=(e+u)/a}return r&&o.reverse(),o}function I(t,n,e){var r=(n-t)/Math.max(0,e),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=F?10:o>=q?5:o>=O?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=F?10:o>=q?5:o>=O?2:1)}funLine truncated
@@ -0,0 +1,156 @@
// Dimensions of chart.
let margin = { top: 30, right: 10, bottom: 30, left: 45 },
// width = parseInt(d3.select('#chart').style('width'), 10) - margin.left - margin.right,
width = 600 - margin.left - margin.right,
height = width*.8 - margin.top - margin.bottom;
let svg = d3.select("#chart").append("svg")
.attr("width", width + margin.left + margin.right)
.attr("height", height + margin.top + margin.bottom)
.append("g")
.attr("transform", "translate(" + margin.left + "," + margin.top + ")");
// Scales: x and y
let x = d3.scaleLinear()
.domain([1909, 2017])
.range([0, width]);
let y = d3.scaleLinear()
.domain([0, 100])
.range([height, 0]);
// Geometries
let area = d3.area()
.x(d => x(d.year))
.y1(d => y(d.amt));
let line = d3.line()
.x(d => x(d.year))
.y(d => y(d.amt));
let xAxis, yAxis, xAxisEl, yAxisEL;
let meats, beef, chicken;
// Load data
const meatData = Promise.all([
d3.csv("data/beef-vs-chicken-difference.csv", d3.autoType)
]);
meatData.then(function(data) {
meats = data[0];
console.log(meats);
svg.datum(meats);
// Initialize chart now that data is loaded.
initChart();
});
function initChart() {
// x-axis
xAxis = d3.axisBottom(x)
.ticks(4)
.tickFormat(d => d)
.tickSize(-height-8)
.tickPadding(5);
xAxisEl = svg.append("g")
.attr("class", "x axis bottom")
.attr("transform", "translate(0,"+(height+8)+")");
xAxisEl.call(xAxis);
// y-axis
yAxis = d3.axisLeft(y)
// .ticks(7)
.ticks(5)
.tickSize(-width-8)
.tickPadding(5);
yAxisEl = svg.append("g")
.attr("class", "y axis left")
.attr("transform", "translate("+(-8)+",0)");
yAxisEl.append("text")
.attr("class", "axistitle")
.attr("x", 0).attr("y", 0)
.attr("dx", "-2.25em")
.attr("dy", "-1.5em")
.style("text-anchor", "start")
.text("Pounds per capita");
yAxisEl.call(yAxis);
// Area clipping paths
svg.append("clipPath")
.attr("id", "clip-above")
.append("path")
.attr("d", d3.area()
.x(d => x(d.Year))
.y0(0)
.y1(d => y(d.Chicken)));
svg.append("clipPath")
.attr("id", "clip-below")
.append("path")
.attr("d", d3.area()
.x(d => x(d.Year))
.y0(height)
.y1(d => y(d.Chicken)));
// Area differences
svg.append("path")
.attr("class", "area above")
.attr("clip-path", "url(#clip-above)")
.attr("fill", "#fdad94")
.attr("d", d3.area()
.x(d => x(d.Year)).y0(height).y1(d => y(d.Beef)));
svg.append("path")
.attr("class", "area below")
.attr("fill", "#f9e59f")
.attr("clip-path", "url(#clip-below)")
.attr("d", d3.area()
.x(d => x(d.Year)).y0(0).y1(d => y(d.Beef)));
// Lines
svg.append("path")
.attr("class", "line chicken")
.attr("fill", "none")
.attr("stroke", "#bf980d")
.attr("stroke-width", "2px")
.attr("d", d3.line()
.x(d => x(d.Year))
.y(d => y(d.Chicken)));
svg.append("path")
.attr("class", "line beef")
.attr("fill", "none")
.attr("stroke", "#fb470e")
.attr("stroke-width", "2px")
.attr("d", d3.line()
.x(d => x(d.Year))
.y(d => y(d.Beef)));
setAnnotation();
}
function setAnnotation() {
svg.append("text")
.attr("class", "mainlab")
.attr("fill", "#fb470e")
.attr("x", x(1962))
.attr("y", y(40))
.text("BEEF");
svg.append("text")
.attr("text-anchor", "end")
.attr("class", "mainlab")
.attr("fill", "#bf980d")
.attr("x", x(2017))
.attr("y", y(65))
.text("CHICKEN");
}
@@ -0,0 +1,69 @@
/* #Reset & Basics (Inspired by E. Meyers)
================================================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block; }
body {
line-height: 1; }
ol, ul {
list-style: none; }
blockquote, q {
quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none; }
table {
border-collapse: collapse;
border-spacing: 0; }
/* Main layout
============================ */
#main-wrapper {
width: 600px;
margin: 40px auto;
}
h1 {
font-family: Georgia, serif;
font-size: 1.45em;
text-align: center;
}
/* Chart
============================ */
#chart {
position: relative;
margin: 0 auto;
}
text {
font-family: "Courier New", Courier, monospace;
font-size: .8rem;
}
text.mainlab {
font-weight: bold;
}
.axis .axistitle {
text-transform: uppercase;
fill: #333;
font-size: .8rem;
}
.axis path,
.axis line {
fill: none;
stroke: #ccc;
stroke-width: 1px;
shape-rendering: crispEdges;
}
.x.axis path, .y.axis path {
display: none;
}
@@ -0,0 +1,292 @@
"activity" "schappy_mean" "meaning_mean" "descrip" "relwt"
"010301" 3.65 5.2875 "Health-related self care" 0.3437
"010399" 0.4441 4.332 "Self care, misc." 0.0022
"020101" 4.3016 5.0383 "Interior cleaning" 1.362
"020102" 4.1979 4.866 "Laundry" 0.806
"020103" 4.8934 5.4284 "Sewing, repairing, and maintaining textiles" 0.076
"020104" 4.5711 4.8468 "Storing interior household items, inc. food" 0.2002
"020201" 4.6729 5.1604 "Food and drink prep." 3.8685
"020202" 4.9016 5.5208 "Food presentation" 0.0659
"020203" 4.3252 4.9249 "Kitchen and food clean-up" 0.9425
"020301" 4.5569 5.2724 "Interior arrangement, decoration, and repairs" 0.1527
"020302" 4.7587 4.8901 "Building and repairing furniture" 0.0073
"020303" 4.2926 5.29 "Heating and cooling" 0.0446
"020401" 4.1507 5.0967 "Exterior cleaning" 0.1179
"020402" 4.8953 5.3774 "Exterior repair, improvements, and decoration" 0.0696
"020501" 4.6695 5.2066 "Lawn, garden, and houseplant care" 0.6958
"020502" 4.0334 5.083 "Ponds, pools, and hot tubs" 0.0143
"020602" 4.591 5.3077 "Care for animals and pets" 0.6464
"020603" 4.9233 5.2797 "Walking, exercising, playing with animals" 0.4182
"020699" 4.4816 4.6297 "Pet and animal care, misc." 0.0032
"020701" 4.3308 5.1412 "Vehicle repair and maintenance (by self)" 0.14
"020801" 4.3562 5.1824 "App, tool, toy set-up, repair, and maint (by self)" 0.0589
"020901" 3.715 4.999 "Financial management" 0.1445
"020902" 4.386 4.9614 "Household and personal organization" 0.6869
"020903" 4.3574 4.8634 "Household and personal mail and messages (except e-mail)" 0.1483
"020904" 4.1977 4.3381 "Household and personal e-mail and messages" 0.2182
"020905" 4.0463 4.9778 "Home security" 0.023
"029999" 4.4219 4.895 "Household activities, misc." 0.0023
"030101" 4.8037 5.4819 "Care for household children" 1.7066
"030102" 5.3559 5.7285 "Reading to/with household children" 0.1706
"030103" 5.5047 5.7429 "Playing with household children" 0.5338
"030104" 5.4589 5.6239 "Arts and crafts with household children" 0.0131
"030105" 5.3366 5.712 "Playing sports with household children" 0.0246
"030106" 4.997 5.5712 "Talking with/listening to household children" 0.1503
"030108" 4.4771 5.0912 "Organization for household children" 0.0445
"030109" 5.0333 5.5065 "Looking after household children" 0.1501
"030110" 5.0778 5.615 "Attending household children's events" 0.0925
"030111" 4.7433 5.3825 "Waiting for/with household children" 0.0482
"030112" 4.7327 5.3525 "Picking up/dropping off household children" 0.3373
"030199" 5.0626 5.4164 "Caring for and helping household children, misc." 0.0058
"030201" 4.5065 5.5892 "Homework (household children)" 0.1711
"030202" 4.062 5.6243 "Meetings and school conferences (household children)" 0.0058
"030203" 5.0198 5.808 "Home schooling of household children" 0.0062
"030299" 3.4516 5.3227 "Activities related to household child's education, misc." 0.0037
"030301" 3.2966 5.5604 "Providing medical care to household children" 0.0218
"030302" 3.484 5.545 "Obtaining medical care for household children" 0.0127
"030303" 2.7979 5.6905 "Waiting associated with household children's health" 0.0101
"030401" 4.3313 5.5832 "Care for household adults" 0.0634
"030402" 4.6669 5.0003 "Looking after household adult (as a primary activity)" 0.0043
"030403" 3.7147 5.525 "Providing medical care to household adult" 0.021
"030404" 4.71 5.7405 "Obtaining medical and care services for household adult" 0.0075
"030405" 4.234 5.476 "Waiting associated with caring for household adults" 0.006
"030501" 4.3418 5.0822 "Helping household adults" 0.0088
"030502" 3.9261 5.5183 "Organization and planning for household adults" 0.0032
"030503" 4.6838 5.0713 "Picking up/dropping off household adult" 0.0368
"030504" 4.8728 5.4733 "Waiting associated with helping household adults" 0.0247
"030599" 4.7353 5.1179 "Helping household adults, misc." 0.0041
"040101" 5.3144 5.6892 "Care for non-household children" 0.0835
"040102" 5.632 5.8949 "Reading to/with non-household children" 0.0091
"040103" 5.7316 5.8642 "Playing with non-household children" 0.116
"040105" 4.7162 6 "Playing sports with non-household children" 0.005
"040106" 5.632 5.8326 "Talking with/listening to non-household children" 0.0251
"040108" 4.6278 5.5581 "Organization and planning for non-household children" 0.0052
"040109" 5.3345 5.8355 "Looking after non-household children (as primary activity)" 0.033
"040110" 5.5768 5.7883 "Attending non-household children's events" 0.0165
"040111" 5.1291 5.322 "Waiting for/with non-household children" 0.0074
"040112" 5.0798 5.5207 "Dropping off/picking up non-household children" 0.0691
"040199" 5.5774 5.7106 "Caring for and helping non-household children, misc." 0.0054
"040201" 4.8287 5.8439 "Homework (non-household children)" 0.0077
"040401" 4.5175 5.6303 "Care for non-household adults" 0.0244
"040402" 3.6183 5.4763 "Looking after non-household adult" 0.005
"040403" 4.3324 5.7824 "Providing medical care to non-household adult" 0.0083
"040404" 3.697 5.7815 "Obtaining medical and care svcs for non-household adult" 0.0028
"040405" 3.8136 5.5421 "Waiting associated with caring for non-household adults" 0.0045
"040501" 4.7363 5.3113 "Hswrk, cooking, and shopping asst, non-household adults" 0.0447
"040502" 4.6688 5.368 "House and lawn maint and repair asst, non-household adults" 0.0436
"040503" 5.3119 4.9995 "Animal and pet care assistance for non-household adults" 0.0134
"040504" 4.5605 5.2475 "Vehicle/appliance maint/repair asst, non-household adults" 0.0201
"040505" 4.4638 4.9507 "Financial mgmt asst for non-household adults" 0.0049
"040506" 4.1688 5.3376 "household mgmt and paperwork asst, non-household adults" 0.0255
"040507" 4.9319 5.3192 "Picking up/dropping off non-household adult" 0.1284
"040508" 4.2182 5.2695 "Waiting associated with helping non-household adults" 0.023
"040599" 4.3443 5.2868 "Helping non-household adults, misc." 0.015
"050101" 4.2106 5.0372 "Work, main job" 3.8671
"050102" 4.2169 5.0135 "Work, other job(s)" 0.1346
"050104" 4.1585 4.952 "Waiting associated with working" 0.0258
"050199" 3.502 3.8063 "Working, misc." 0.0012
"050201" 4.8683 4.8224 "Socializing, relaxing, and leisure as part of job" 0.0028
"050202" 4.6143 4.9853 "Eating and drinking as part of job" 0.0178
"050301" 5.1982 5.486 "Income-generating hobbies, crafts, and food" 0.0079
"050303" 4.7095 4.9767 "Income-generating services" 0.0307
"050304" 3.7731 5.3123 "Income-generating rental property activities" 0.0053
"050399" 4.5872 5.2503 "Other income-generating activities, misc." 0.0391
"050401" 3.4136 5.4454 "Job search activities" 0.1018
"050403" 4.4473 5.6315 "Job interviewing" 0.0046
"060101" 4.0938 4.9396 "Taking class for degree, certification, or lic" 0.1708
"060102" 4.8102 5.4599 "Taking class for personal interest" 0.0199
"060103" 3.7852 5.4278 "Waiting associated with taking classes" 0.005
"060201" 5.3468 5.7823 "Extracurricular club activities" 0.0028
"060202" 4.7063 5.0467 "Extracurricular music and performance activities" 0.0049
"060299" 4.8569 3.7138 "Education-related extracurricular activities, misc." 0.0017
"060301" 3.3418 4.9021 "Homework for class, for degree" 0.2883
"060302" 4.9457 5.6787 "Homework for class, for personal interest" 0.0067
"060399" 3.0733 4.7988 "Research/homework misc." 0.0048
"060401" 5.1 5.8001 "Admin activities: class for degree, cert, or lic" 0.0048
"069999" 3.8977 5.3269 "Education, misc." 0.0103
"070101" 4.3286 4.8367 "Grocery shopping" 0.5658
"070102" 4.2173 4.872 "Purchasing gas" 0.0943
"070103" 4.6715 4.8424 "Purchasing food (not groceries)" 0.3922
"070104" 4.6217 4.9111 "Shopping" 1.0884
"070105" 3.8775 5.1629 "Waiting associated with shopping" 0.0118
"070201" 4.6118 4.9319 "Comparison shopping" 0.0037
"080101" 5.0985 5.5574 "Using paid childcare services" 0.0073
"080201" 4.2378 4.9952 "Banking" 0.0579
"080202" 4.6522 5.3043 "Using other financial services" 0.0055
"080203" 4.5258 5.3144 "Waiting associated w/banking/financial services" 0.0023
"080401" 3.5839 5.4735 "Using health and care services outside the home" 0.1335
"080402" 3.5935 4.8952 "Using in-home health and care services" 0.0068
"080403" 3.3676 5.2215 "Waiting associated with medical services" 0.031
"080501" 4.8617 5.0354 "Using personal care services" 0.0583
"080502" 4.809 3.6661 "Waiting associated w/personal care services" 0.0025
"080601" 3.9619 5.0571 "Activities rel. to purchasing/selling real estate" 0.0125
"080701" 3.0977 5.7036 "Using veterinary services" 0.0085
"080702" 4.4371 5.4764 "Waiting associated with veterinary services" 0.003
"089999" 4.8267 5.1165 "Professional and personal services, misc." 0.0083
"090103" 4.9078 5.18 "Using clothing repair and cleaning services" 0.0066
"090201" 4.0885 5.0779 "Using home maint/repair/décor/construction svcs" 0.0121
"090202" 4.866 5.2007 "Wtg assoc w/ home main/repair/décor/constr" 0.0058
"090301" 4.139 4.4996 "Using pet services" 0.0043
"090401" 5.0353 5.5002 "Using lawn and garden services" 0.0034
"090501" 3.5476 4.8717 "Using vehicle maintenance or repair services" 0.021
"090502" 4.4548 4.9964 "Waiting assoc with vehicle main. or repair svcs" 0.0087
"100102" 4.036 5.3569 "Using social services" 0.0034
"100103" 3.6129 5.5428 "Obtaining licenses and paying fines, fees, taxes" 0.0071
"100201" 3.8247 5.8242 "Civic obligations and participation" 0.0055
"100304" 4.2609 4.9115 "Waiting associated with using government services" 0.0028
"110101" 4.8524 5.1731 "Eating and drinking" 10
"110201" 4.6021 4.9123 "Waiting associated w/eating and drinking" 0.0332
"120101" 5.0809 5.424 "Socializing and communicating" 2.5822
"120201" 5.4271 5.486 "Attending or hosting parties/receptions/ceremonies" 0.164
"120202" 4.4307 5.3018 "Attending meetings for personal interest (not volunteering)" 0.0262
"120301" 4.6856 5.1863 "Relaxing, thinking" 1.0886
"120302" 4.5497 5.0903 "Tobacco and drug use" 0.0602
"120303" 4.634 4.7545 "Television and movies" 5.058
"120304" 4.6446 5.4465 "Television (religious)" 0.0193
"120305" 4.5594 5.1203 "Listening to the radio" 0.0842
"120306" 4.9839 5.1187 "Listening to/playing music" 0.112
"120307" 4.9215 4.6528 "Playing games" 0.4886
"120308" 4.274 4.4493 "Computer use for leisure (exc. Games)" 0.5267
"120309" 4.9311 5.2819 "Arts and crafts as a hobby" 0.0832
"120311" 4.9605 5.5621 "Hobbies, except arts and crafts and collecting" 0.0094
"120312" 4.5865 4.8958 "Reading for personal interest" 1.1138
"120313" 4.8226 5.2921 "Writing for personal interest" 0.0148
"120399" 5.3157 5.4208 "Relaxing and leisure, misc." 0.0091
"120401" 5.2838 5.2415 "Attending performing arts" 0.0313
"120402" 5.2915 5.4177 "Attending museums" 0.019
"120403" 5.1679 5.0339 "Attending movies/film" 0.0597
"120404" 4.9542 4.7208 "Attending gambling establishments" 0.0142
"120499" 5.3123 5.3884 "Arts and entertainment, misc." 0.0612
"120504" 5.3712 5.571 "Waiting associated with arts and entertainment" 0.0042
"130101" 5.1623 5.4596 "Doing aerobics" 0.0089
"130102" 5.2133 4.9253 "Playing baseball" 0.0034
"130103" 5.3224 5.1499 "Playing basketball" 0.0297
"130104" 5.3086 5.3288 "Biking" 0.0459
"130105" 5.1553 4.7978 "Playing billiards" 0.0084
"130106" 5.5945 5.2725 "Boating" 0.0158
"130107" 4.257 4.9967 "Bowling" 0.0098
"130109" 5.2666 5.6163 "Dancing" 0.0144
"130110" 4.1328 5.5767 "Participating in equestrian sports" 0.0054
"130112" 5.1375 5.3017 "Fishing" 0.0328
"130113" 5.1277 4.4822 "Playing football" 0.0075
"130114" 5.1526 5.1615 "Golfing" 0.0337
"130116" 5.3033 5.4277 "Hiking" 0.0162
"130117" 4.9474 5.6306 "Playing hockey" 0.0046
"130118" 4.6138 5.5714 "Hunting" 0.0177
"130119" 5 5.878 "Participating in martial arts" 0.0049
"130120" 5.2921 5.1088 "Playing racquet sports" 0.0087
"130122" 5.2786 4.8898 "Rollerblading" 0.0065
"130124" 4.8552 5.4258 "Running" 0.0721
"130125" 5.7289 5.2832 "Skiing, ice skating, snowboarding" 0.0084
"130126" 5.3031 5.3535 "Playing soccer" 0.0116
"130127" 4.7308 5.2851 "Playing softball" 0.0067
"130128" 4.4901 5.4879 "Using cardiovascular equipment" 0.0678
"130129" 5.8696 5.5908 "Vehicle touring/racing" 0.0065
"130130" 5.8128 5.4136 "Playing volleyball" 0.0058
"130131" 4.9928 5.4046 "Walking" 0.3685
"130132" 5.4465 5.4959 "Participating in water sports" 0.0895
"130133" 4.8286 5.4693 "Weightlifting/strength training" 0.0689
"130134" 4.6372 5.3806 "Working out, unspecified" 0.2212
"130136" 4.567 5.4904 "Doing yoga" 0.0186
"130199" 5.1362 5.4151 "Playing sports misc." 0.0416
"130202" 4.9877 5.1101 "Watching baseball" 0.0108
"130203" 5.5753 5.0357 "Watching basketball" 0.0063
"130213" 5.238 5.4997 "Watching football" 0.0096
"130216" 4.6272 5.2029 "Watching hockey" 0.0071
"130218" 4.8914 4.4692 "Watching racquet sports" 0.0023
"130224" 5.5379 5.3283 "Watching soccer" 0.0081
"130227" 5.499 4.9985 "Watching volleyball" 0.0022
"130299" 4.818 5.182 "Attending sporting events, misc." 0.0053
"140101" 5.1801 5.7656 "Attending religious services" 0.5128
"140102" 5.1242 5.8226 "Participation in religious practices" 0.3447
"140103" 5.3894 5.4142 "Waiting assoc w/religious and spiritual activities" 0.0098
"140105" 5.294 5.8076 "Religious education activities" 0.0787
"149999" 5.4999 6 "Religious and spiritual activities, misc." 0.0029
"150101" 4.3872 5.1186 "Computer use" 0.0465
"150102" 4.892 5.3698 "Organizing and preparing" 0.0538
"150103" 5.1465 5.8767 "Reading" 0.0049
"150104" 3.9379 5.2894 "Telephone calls (except hotline counseling)" 0.0174
"150105" 5.0888 4.8161 "Writing" 0.0026
"150106" 5.5408 5.6845 "Fundraising" 0.0133
"150199" 5.2515 5.4781 "Administrative and support activities, misc." 0.0196
"150201" 5.0504 5.6601 "Food preparation, presentation, clean-up" 0.036
"150202" 4.4875 5.4283 "Collecting and delivering clothing and other goods" 0.0101
"150203" 5.1426 5.5682 "Providing care" 0.0195
"150204" 5.2749 5.6544 "Teaching, leading, counseling, mentoring" 0.0525
"150299" 4.7265 5.6233 "Social service and care activities, misc." 0.0093
"150302" 4.833 5.3045 "Indoor and outdoor maintenance, repair, and clean-up" 0.0173
"150401" 5.2987 5.6969 "Performing" 0.0265
"150402" 5.037 5.5589 "Serving at volunteer events and cultural activities" 0.0194
"150501" 4.5845 5.3972 "Attending meetings, conferences, and training" 0.0507
"150701" 4.5999 5.2999 "Waiting associated with volunteer activities" 0.0024
"159999" 5.2785 5.6518 "Volunteer activities, misc." 0.1119
"160101" 4.7783 5.5471 "Telephone calls to/from family members" 0.3752
"160102" 4.795 5.1776 "Phone calls to/from friends, neighbors" 0.2003
"160103" 2.2221 5.5185 "Telephone calls to/from education svcs providers" 0.0032
"160104" 3.4873 5.4081 "Telephone calls to/from salespeople" 0.0059
"160105" 2.6467 4.8562 "Phone calls to/from prof, personal svcs providers" 0.0167
"160106" 2.1017 5.3628 "Phone calls to/from household services providers" 0.0106
"160108" 3.7003 5.8925 "Telephone calls to/from government officials" 0.0056
"160199" 4.5566 5.211 "Telephone calls (to or from), misc." 0.1438
"180101" 4.674 5.1188 "Travel for personal care" 0.0959
"180201" 4.4686 5.0219 "Travel for housework" 0.0524
"180202" 4.8177 5.1817 "Travel for food and drink prep" 0.0526
"180203" 4.4063 5.4387 "Travel for int. maint, repair, and decoration" 0.0109
"180204" 4.6292 4.7371 "Travel for ext. maint, repair, and decoration" 0.0055
"180205" 4.7036 5.5364 "Travel for lawn, garden, and houseplants" 0.013
"180206" 4.7082 5.0638 "Travel for care for animals (not vet care)" 0.0486
"180207" 5.0427 5.0209 "Travel for vehicle care and maint (by self)" 0.0223
"180208" 5.8333 6 "Travel for tool, repair, and maintenance" 0.0043
"180209" 4.6447 5.0846 "Travel for household management" 0.2689
"180302" 4.797 5.2995 "Travel for caring for and helping household children" 0.859
"180303" 4.2 5.0188 "Travel for household children's education" 0.0126
"180304" 4.1476 5.2791 "Travel for household children's health" 0.0163
"180305" 3.8614 5.8019 "Travel for caring for household adults" 0.0206
"180306" 4.5551 5.1211 "Travel for helping household adults" 0.1177
"180402" 4.8915 5.2767 "Travel for helping non-household kids" 0.1991
"180404" 3.6108 5.3335 "Travel for non-household children's health" 0.0043
"180405" 4.352 5.2076 "Travel for caring for non-household adults" 0.015
"180406" 4.8412 5.1668 "Travel for helping non-household adults" 0.4152
"180501" 4.433 4.9649 "Travel for working" 2.2379
"180502" 3.9999 4.9312 "Travel for work-related activities" 0.007
"180503" 4.5506 5.4222 "Travel for income-generating activities" 0.0318
"180504" 3.8844 5.2982 "Travel for job search and interviewing" 0.0322
"180601" 4.2031 4.8203 "Travel for taking class" 0.125
"180602" 4.9581 4.6657 "Travel for extracurricular activities (ex. Sports)" 0.0058
"180603" 4.4433 4.6157 "Travel for research/homework" 0.0171
"180604" 4.1596 4.7597 "Travel for registration/admin activities" 0.003
"180701" 4.596 4.8843 "Traveling to/from the grocery store" 0.8789
"180703" 4.7388 4.952 "Travel for purchasing food (not groceries)" 0.5882
"180704" 4.6983 5.0044 "Travel for shopping, not groceries" 1.433
"180705" 4.5856 5.0456 "Traveling to/from gas station" 0.1591
"180801" 4.8568 6 "Travel for using childcare services" 0.005
"180802" 4.3214 5.0572 "Travel for using financial svcs and banking" 0.0787
"180804" 3.6482 5.3131 "Travel for using medical services" 0.1596
"180805" 4.8084 4.9991 "Travel for using personal care services" 0.057
"180806" 4.1981 4.8519 "Travel for using real estate services" 0.0163
"180807" 3.4253 5.2574 "Travel for using veterinary services" 0.013
"180899" 5.0215 4.9994 "Travel rel. to using prof, personal care svcs misc." 0.0055
"180901" 4.4148 5.1697 "Travel for using household services" 0.0113
"180902" 3.6941 5.7827 "Travel for home maintenance" 0.0028
"180903" 4.5553 4.2484 "Travel for using pet services (not vet)" 0.0086
"180905" 4.3643 5.0414 "Travel for vehicle maintenance" 0.0455
"181001" 4.543 5.2496 "Travel for using government services" 0.0124
"181002" 4.9754 5.6815 "Travel for civic obligations and participation" 0.0049
"181101" 4.9796 5.0953 "Travel for eating and drinking" 1.4294
"181201" 4.8021 5.1563 "Travel for socializing" 1.1308
"181202" 5.1019 5.1226 "Trvl related to attending or hosting social events" 0.1871
"181204" 5.0067 5.073 "Travel for arts and entertainment" 0.1724
"181205" 5.1206 5.0307 "Travel as a form of entertainment" 0.0582
"181206" 4.7928 5.0097 "Travel for relaxing and leisure" 0.3648
"181301" 4.8777 5.071 "Travel for sports, exercise, or recreation" 0.5078
"181302" 4.8429 5.0556 "Travel for attending sporting events" 0.0643
"181401" 5.0299 5.5472 "Travel for religious practices" 0.5638
"181501" 4.8462 5.2251 "Travel for volunteering" 0.2669
"181599" 5.0713 5.285 "Travel for volunteer activities, misc." 0.0084
"181601" 4.356 4.9264 "Travel for phone calls" 0.0229
"181801" 4.7595 4.3052 "Security procedures related to traveling" 0.009
"189999" 4.6894 5.1014 "Traveling, misc." 0.2231
"500101" 4.5424 5.223 "Insufficient detail in verbatim" 0.5265
"500103" 4.907 5.2302 "Missing travel or destination" 0.0964
"500104" 4.4997 5.2727 "Recorded simultaneous activities incorrectly" 0.0315
"500107" 4.6635 5.3266 "Unable to code activity at 1st tier" 0.0125
1 activity schappy_mean meaning_mean descrip relwt
2 010301 3.65 5.2875 Health-related self care 0.3437
3 010399 0.4441 4.332 Self care, misc. 0.0022
4 020101 4.3016 5.0383 Interior cleaning 1.362
5 020102 4.1979 4.866 Laundry 0.806
6 020103 4.8934 5.4284 Sewing, repairing, and maintaining textiles 0.076
7 020104 4.5711 4.8468 Storing interior household items, inc. food 0.2002
8 020201 4.6729 5.1604 Food and drink prep. 3.8685
9 020202 4.9016 5.5208 Food presentation 0.0659
10 020203 4.3252 4.9249 Kitchen and food clean-up 0.9425
11 020301 4.5569 5.2724 Interior arrangement, decoration, and repairs 0.1527
12 020302 4.7587 4.8901 Building and repairing furniture 0.0073
13 020303 4.2926 5.29 Heating and cooling 0.0446
14 020401 4.1507 5.0967 Exterior cleaning 0.1179
15 020402 4.8953 5.3774 Exterior repair, improvements, and decoration 0.0696
16 020501 4.6695 5.2066 Lawn, garden, and houseplant care 0.6958
17 020502 4.0334 5.083 Ponds, pools, and hot tubs 0.0143
18 020602 4.591 5.3077 Care for animals and pets 0.6464
19 020603 4.9233 5.2797 Walking, exercising, playing with animals 0.4182
20 020699 4.4816 4.6297 Pet and animal care, misc. 0.0032
21 020701 4.3308 5.1412 Vehicle repair and maintenance (by self) 0.14
22 020801 4.3562 5.1824 App, tool, toy set-up, repair, and maint (by self) 0.0589
23 020901 3.715 4.999 Financial management 0.1445
24 020902 4.386 4.9614 Household and personal organization 0.6869
25 020903 4.3574 4.8634 Household and personal mail and messages (except e-mail) 0.1483
26 020904 4.1977 4.3381 Household and personal e-mail and messages 0.2182
27 020905 4.0463 4.9778 Home security 0.023
28 029999 4.4219 4.895 Household activities, misc. 0.0023
29 030101 4.8037 5.4819 Care for household children 1.7066
30 030102 5.3559 5.7285 Reading to/with household children 0.1706
31 030103 5.5047 5.7429 Playing with household children 0.5338
32 030104 5.4589 5.6239 Arts and crafts with household children 0.0131
33 030105 5.3366 5.712 Playing sports with household children 0.0246
34 030106 4.997 5.5712 Talking with/listening to household children 0.1503
35 030108 4.4771 5.0912 Organization for household children 0.0445
36 030109 5.0333 5.5065 Looking after household children 0.1501
37 030110 5.0778 5.615 Attending household children's events 0.0925
38 030111 4.7433 5.3825 Waiting for/with household children 0.0482
39 030112 4.7327 5.3525 Picking up/dropping off household children 0.3373
40 030199 5.0626 5.4164 Caring for and helping household children, misc. 0.0058
41 030201 4.5065 5.5892 Homework (household children) 0.1711
42 030202 4.062 5.6243 Meetings and school conferences (household children) 0.0058
43 030203 5.0198 5.808 Home schooling of household children 0.0062
44 030299 3.4516 5.3227 Activities related to household child's education, misc. 0.0037
45 030301 3.2966 5.5604 Providing medical care to household children 0.0218
46 030302 3.484 5.545 Obtaining medical care for household children 0.0127
47 030303 2.7979 5.6905 Waiting associated with household children's health 0.0101
48 030401 4.3313 5.5832 Care for household adults 0.0634
49 030402 4.6669 5.0003 Looking after household adult (as a primary activity) 0.0043
50 030403 3.7147 5.525 Providing medical care to household adult 0.021
51 030404 4.71 5.7405 Obtaining medical and care services for household adult 0.0075
52 030405 4.234 5.476 Waiting associated with caring for household adults 0.006
53 030501 4.3418 5.0822 Helping household adults 0.0088
54 030502 3.9261 5.5183 Organization and planning for household adults 0.0032
55 030503 4.6838 5.0713 Picking up/dropping off household adult 0.0368
56 030504 4.8728 5.4733 Waiting associated with helping household adults 0.0247
57 030599 4.7353 5.1179 Helping household adults, misc. 0.0041
58 040101 5.3144 5.6892 Care for non-household children 0.0835
59 040102 5.632 5.8949 Reading to/with non-household children 0.0091
60 040103 5.7316 5.8642 Playing with non-household children 0.116
61 040105 4.7162 6 Playing sports with non-household children 0.005
62 040106 5.632 5.8326 Talking with/listening to non-household children 0.0251
63 040108 4.6278 5.5581 Organization and planning for non-household children 0.0052
64 040109 5.3345 5.8355 Looking after non-household children (as primary activity) 0.033
65 040110 5.5768 5.7883 Attending non-household children's events 0.0165
66 040111 5.1291 5.322 Waiting for/with non-household children 0.0074
67 040112 5.0798 5.5207 Dropping off/picking up non-household children 0.0691
68 040199 5.5774 5.7106 Caring for and helping non-household children, misc. 0.0054
69 040201 4.8287 5.8439 Homework (non-household children) 0.0077
70 040401 4.5175 5.6303 Care for non-household adults 0.0244
71 040402 3.6183 5.4763 Looking after non-household adult 0.005
72 040403 4.3324 5.7824 Providing medical care to non-household adult 0.0083
73 040404 3.697 5.7815 Obtaining medical and care svcs for non-household adult 0.0028
74 040405 3.8136 5.5421 Waiting associated with caring for non-household adults 0.0045
75 040501 4.7363 5.3113 Hswrk, cooking, and shopping asst, non-household adults 0.0447
76 040502 4.6688 5.368 House and lawn maint and repair asst, non-household adults 0.0436
77 040503 5.3119 4.9995 Animal and pet care assistance for non-household adults 0.0134
78 040504 4.5605 5.2475 Vehicle/appliance maint/repair asst, non-household adults 0.0201
79 040505 4.4638 4.9507 Financial mgmt asst for non-household adults 0.0049
80 040506 4.1688 5.3376 household mgmt and paperwork asst, non-household adults 0.0255
81 040507 4.9319 5.3192 Picking up/dropping off non-household adult 0.1284
82 040508 4.2182 5.2695 Waiting associated with helping non-household adults 0.023
83 040599 4.3443 5.2868 Helping non-household adults, misc. 0.015
84 050101 4.2106 5.0372 Work, main job 3.8671
85 050102 4.2169 5.0135 Work, other job(s) 0.1346
86 050104 4.1585 4.952 Waiting associated with working 0.0258
87 050199 3.502 3.8063 Working, misc. 0.0012
88 050201 4.8683 4.8224 Socializing, relaxing, and leisure as part of job 0.0028
89 050202 4.6143 4.9853 Eating and drinking as part of job 0.0178
90 050301 5.1982 5.486 Income-generating hobbies, crafts, and food 0.0079
91 050303 4.7095 4.9767 Income-generating services 0.0307
92 050304 3.7731 5.3123 Income-generating rental property activities 0.0053
93 050399 4.5872 5.2503 Other income-generating activities, misc. 0.0391
94 050401 3.4136 5.4454 Job search activities 0.1018
95 050403 4.4473 5.6315 Job interviewing 0.0046
96 060101 4.0938 4.9396 Taking class for degree, certification, or lic 0.1708
97 060102 4.8102 5.4599 Taking class for personal interest 0.0199
98 060103 3.7852 5.4278 Waiting associated with taking classes 0.005
99 060201 5.3468 5.7823 Extracurricular club activities 0.0028
100 060202 4.7063 5.0467 Extracurricular music and performance activities 0.0049
101 060299 4.8569 3.7138 Education-related extracurricular activities, misc. 0.0017
102 060301 3.3418 4.9021 Homework for class, for degree 0.2883
103 060302 4.9457 5.6787 Homework for class, for personal interest 0.0067
104 060399 3.0733 4.7988 Research/homework misc. 0.0048
105 060401 5.1 5.8001 Admin activities: class for degree, cert, or lic 0.0048
106 069999 3.8977 5.3269 Education, misc. 0.0103
107 070101 4.3286 4.8367 Grocery shopping 0.5658
108 070102 4.2173 4.872 Purchasing gas 0.0943
109 070103 4.6715 4.8424 Purchasing food (not groceries) 0.3922
110 070104 4.6217 4.9111 Shopping 1.0884
111 070105 3.8775 5.1629 Waiting associated with shopping 0.0118
112 070201 4.6118 4.9319 Comparison shopping 0.0037
113 080101 5.0985 5.5574 Using paid childcare services 0.0073
114 080201 4.2378 4.9952 Banking 0.0579
115 080202 4.6522 5.3043 Using other financial services 0.0055
116 080203 4.5258 5.3144 Waiting associated w/banking/financial services 0.0023
117 080401 3.5839 5.4735 Using health and care services outside the home 0.1335
118 080402 3.5935 4.8952 Using in-home health and care services 0.0068
119 080403 3.3676 5.2215 Waiting associated with medical services 0.031
120 080501 4.8617 5.0354 Using personal care services 0.0583
121 080502 4.809 3.6661 Waiting associated w/personal care services 0.0025
122 080601 3.9619 5.0571 Activities rel. to purchasing/selling real estate 0.0125
123 080701 3.0977 5.7036 Using veterinary services 0.0085
124 080702 4.4371 5.4764 Waiting associated with veterinary services 0.003
125 089999 4.8267 5.1165 Professional and personal services, misc. 0.0083
126 090103 4.9078 5.18 Using clothing repair and cleaning services 0.0066
127 090201 4.0885 5.0779 Using home maint/repair/décor/construction svcs 0.0121
128 090202 4.866 5.2007 Wtg assoc w/ home main/repair/décor/constr 0.0058
129 090301 4.139 4.4996 Using pet services 0.0043
130 090401 5.0353 5.5002 Using lawn and garden services 0.0034
131 090501 3.5476 4.8717 Using vehicle maintenance or repair services 0.021
132 090502 4.4548 4.9964 Waiting assoc with vehicle main. or repair svcs 0.0087
133 100102 4.036 5.3569 Using social services 0.0034
134 100103 3.6129 5.5428 Obtaining licenses and paying fines, fees, taxes 0.0071
135 100201 3.8247 5.8242 Civic obligations and participation 0.0055
136 100304 4.2609 4.9115 Waiting associated with using government services 0.0028
137 110101 4.8524 5.1731 Eating and drinking 10
138 110201 4.6021 4.9123 Waiting associated w/eating and drinking 0.0332
139 120101 5.0809 5.424 Socializing and communicating 2.5822
140 120201 5.4271 5.486 Attending or hosting parties/receptions/ceremonies 0.164
141 120202 4.4307 5.3018 Attending meetings for personal interest (not volunteering) 0.0262
142 120301 4.6856 5.1863 Relaxing, thinking 1.0886
143 120302 4.5497 5.0903 Tobacco and drug use 0.0602
144 120303 4.634 4.7545 Television and movies 5.058
145 120304 4.6446 5.4465 Television (religious) 0.0193
146 120305 4.5594 5.1203 Listening to the radio 0.0842
147 120306 4.9839 5.1187 Listening to/playing music 0.112
148 120307 4.9215 4.6528 Playing games 0.4886
149 120308 4.274 4.4493 Computer use for leisure (exc. Games) 0.5267
150 120309 4.9311 5.2819 Arts and crafts as a hobby 0.0832
151 120311 4.9605 5.5621 Hobbies, except arts and crafts and collecting 0.0094
152 120312 4.5865 4.8958 Reading for personal interest 1.1138
153 120313 4.8226 5.2921 Writing for personal interest 0.0148
154 120399 5.3157 5.4208 Relaxing and leisure, misc. 0.0091
155 120401 5.2838 5.2415 Attending performing arts 0.0313
156 120402 5.2915 5.4177 Attending museums 0.019
157 120403 5.1679 5.0339 Attending movies/film 0.0597
158 120404 4.9542 4.7208 Attending gambling establishments 0.0142
159 120499 5.3123 5.3884 Arts and entertainment, misc. 0.0612
160 120504 5.3712 5.571 Waiting associated with arts and entertainment 0.0042
161 130101 5.1623 5.4596 Doing aerobics 0.0089
162 130102 5.2133 4.9253 Playing baseball 0.0034
163 130103 5.3224 5.1499 Playing basketball 0.0297
164 130104 5.3086 5.3288 Biking 0.0459
165 130105 5.1553 4.7978 Playing billiards 0.0084
166 130106 5.5945 5.2725 Boating 0.0158
167 130107 4.257 4.9967 Bowling 0.0098
168 130109 5.2666 5.6163 Dancing 0.0144
169 130110 4.1328 5.5767 Participating in equestrian sports 0.0054
170 130112 5.1375 5.3017 Fishing 0.0328
171 130113 5.1277 4.4822 Playing football 0.0075
172 130114 5.1526 5.1615 Golfing 0.0337
173 130116 5.3033 5.4277 Hiking 0.0162
174 130117 4.9474 5.6306 Playing hockey 0.0046
175 130118 4.6138 5.5714 Hunting 0.0177
176 130119 5 5.878 Participating in martial arts 0.0049
177 130120 5.2921 5.1088 Playing racquet sports 0.0087
178 130122 5.2786 4.8898 Rollerblading 0.0065
179 130124 4.8552 5.4258 Running 0.0721
180 130125 5.7289 5.2832 Skiing, ice skating, snowboarding 0.0084
181 130126 5.3031 5.3535 Playing soccer 0.0116
182 130127 4.7308 5.2851 Playing softball 0.0067
183 130128 4.4901 5.4879 Using cardiovascular equipment 0.0678
184 130129 5.8696 5.5908 Vehicle touring/racing 0.0065
185 130130 5.8128 5.4136 Playing volleyball 0.0058
186 130131 4.9928 5.4046 Walking 0.3685
187 130132 5.4465 5.4959 Participating in water sports 0.0895
188 130133 4.8286 5.4693 Weightlifting/strength training 0.0689
189 130134 4.6372 5.3806 Working out, unspecified 0.2212
190 130136 4.567 5.4904 Doing yoga 0.0186
191 130199 5.1362 5.4151 Playing sports misc. 0.0416
192 130202 4.9877 5.1101 Watching baseball 0.0108
193 130203 5.5753 5.0357 Watching basketball 0.0063
194 130213 5.238 5.4997 Watching football 0.0096
195 130216 4.6272 5.2029 Watching hockey 0.0071
196 130218 4.8914 4.4692 Watching racquet sports 0.0023
197 130224 5.5379 5.3283 Watching soccer 0.0081
198 130227 5.499 4.9985 Watching volleyball 0.0022
199 130299 4.818 5.182 Attending sporting events, misc. 0.0053
200 140101 5.1801 5.7656 Attending religious services 0.5128
201 140102 5.1242 5.8226 Participation in religious practices 0.3447
202 140103 5.3894 5.4142 Waiting assoc w/religious and spiritual activities 0.0098
203 140105 5.294 5.8076 Religious education activities 0.0787
204 149999 5.4999 6 Religious and spiritual activities, misc. 0.0029
205 150101 4.3872 5.1186 Computer use 0.0465
206 150102 4.892 5.3698 Organizing and preparing 0.0538
207 150103 5.1465 5.8767 Reading 0.0049
208 150104 3.9379 5.2894 Telephone calls (except hotline counseling) 0.0174
209 150105 5.0888 4.8161 Writing 0.0026
210 150106 5.5408 5.6845 Fundraising 0.0133
211 150199 5.2515 5.4781 Administrative and support activities, misc. 0.0196
212 150201 5.0504 5.6601 Food preparation, presentation, clean-up 0.036
213 150202 4.4875 5.4283 Collecting and delivering clothing and other goods 0.0101
214 150203 5.1426 5.5682 Providing care 0.0195
215 150204 5.2749 5.6544 Teaching, leading, counseling, mentoring 0.0525
216 150299 4.7265 5.6233 Social service and care activities, misc. 0.0093
217 150302 4.833 5.3045 Indoor and outdoor maintenance, repair, and clean-up 0.0173
218 150401 5.2987 5.6969 Performing 0.0265
219 150402 5.037 5.5589 Serving at volunteer events and cultural activities 0.0194
220 150501 4.5845 5.3972 Attending meetings, conferences, and training 0.0507
221 150701 4.5999 5.2999 Waiting associated with volunteer activities 0.0024
222 159999 5.2785 5.6518 Volunteer activities, misc. 0.1119
223 160101 4.7783 5.5471 Telephone calls to/from family members 0.3752
224 160102 4.795 5.1776 Phone calls to/from friends, neighbors 0.2003
225 160103 2.2221 5.5185 Telephone calls to/from education svcs providers 0.0032
226 160104 3.4873 5.4081 Telephone calls to/from salespeople 0.0059
227 160105 2.6467 4.8562 Phone calls to/from prof, personal svcs providers 0.0167
228 160106 2.1017 5.3628 Phone calls to/from household services providers 0.0106
229 160108 3.7003 5.8925 Telephone calls to/from government officials 0.0056
230 160199 4.5566 5.211 Telephone calls (to or from), misc. 0.1438
231 180101 4.674 5.1188 Travel for personal care 0.0959
232 180201 4.4686 5.0219 Travel for housework 0.0524
233 180202 4.8177 5.1817 Travel for food and drink prep 0.0526
234 180203 4.4063 5.4387 Travel for int. maint, repair, and decoration 0.0109
235 180204 4.6292 4.7371 Travel for ext. maint, repair, and decoration 0.0055
236 180205 4.7036 5.5364 Travel for lawn, garden, and houseplants 0.013
237 180206 4.7082 5.0638 Travel for care for animals (not vet care) 0.0486
238 180207 5.0427 5.0209 Travel for vehicle care and maint (by self) 0.0223
239 180208 5.8333 6 Travel for tool, repair, and maintenance 0.0043
240 180209 4.6447 5.0846 Travel for household management 0.2689
241 180302 4.797 5.2995 Travel for caring for and helping household children 0.859
242 180303 4.2 5.0188 Travel for household children's education 0.0126
243 180304 4.1476 5.2791 Travel for household children's health 0.0163
244 180305 3.8614 5.8019 Travel for caring for household adults 0.0206
245 180306 4.5551 5.1211 Travel for helping household adults 0.1177
246 180402 4.8915 5.2767 Travel for helping non-household kids 0.1991
247 180404 3.6108 5.3335 Travel for non-household children's health 0.0043
248 180405 4.352 5.2076 Travel for caring for non-household adults 0.015
249 180406 4.8412 5.1668 Travel for helping non-household adults 0.4152
250 180501 4.433 4.9649 Travel for working 2.2379
251 180502 3.9999 4.9312 Travel for work-related activities 0.007
252 180503 4.5506 5.4222 Travel for income-generating activities 0.0318
253 180504 3.8844 5.2982 Travel for job search and interviewing 0.0322
254 180601 4.2031 4.8203 Travel for taking class 0.125
255 180602 4.9581 4.6657 Travel for extracurricular activities (ex. Sports) 0.0058
256 180603 4.4433 4.6157 Travel for research/homework 0.0171
257 180604 4.1596 4.7597 Travel for registration/admin activities 0.003
258 180701 4.596 4.8843 Traveling to/from the grocery store 0.8789
259 180703 4.7388 4.952 Travel for purchasing food (not groceries) 0.5882
260 180704 4.6983 5.0044 Travel for shopping, not groceries 1.433
261 180705 4.5856 5.0456 Traveling to/from gas station 0.1591
262 180801 4.8568 6 Travel for using childcare services 0.005
263 180802 4.3214 5.0572 Travel for using financial svcs and banking 0.0787
264 180804 3.6482 5.3131 Travel for using medical services 0.1596
265 180805 4.8084 4.9991 Travel for using personal care services 0.057
266 180806 4.1981 4.8519 Travel for using real estate services 0.0163
267 180807 3.4253 5.2574 Travel for using veterinary services 0.013
268 180899 5.0215 4.9994 Travel rel. to using prof, personal care svcs misc. 0.0055
269 180901 4.4148 5.1697 Travel for using household services 0.0113
270 180902 3.6941 5.7827 Travel for home maintenance 0.0028
271 180903 4.5553 4.2484 Travel for using pet services (not vet) 0.0086
272 180905 4.3643 5.0414 Travel for vehicle maintenance 0.0455
273 181001 4.543 5.2496 Travel for using government services 0.0124
274 181002 4.9754 5.6815 Travel for civic obligations and participation 0.0049
275 181101 4.9796 5.0953 Travel for eating and drinking 1.4294
276 181201 4.8021 5.1563 Travel for socializing 1.1308
277 181202 5.1019 5.1226 Trvl related to attending or hosting social events 0.1871
278 181204 5.0067 5.073 Travel for arts and entertainment 0.1724
279 181205 5.1206 5.0307 Travel as a form of entertainment 0.0582
280 181206 4.7928 5.0097 Travel for relaxing and leisure 0.3648
281 181301 4.8777 5.071 Travel for sports, exercise, or recreation 0.5078
282 181302 4.8429 5.0556 Travel for attending sporting events 0.0643
283 181401 5.0299 5.5472 Travel for religious practices 0.5638
284 181501 4.8462 5.2251 Travel for volunteering 0.2669
285 181599 5.0713 5.285 Travel for volunteer activities, misc. 0.0084
286 181601 4.356 4.9264 Travel for phone calls 0.0229
287 181801 4.7595 4.3052 Security procedures related to traveling 0.009
288 189999 4.6894 5.1014 Traveling, misc. 0.2231
289 500101 4.5424 5.223 Insufficient detail in verbatim 0.5265
290 500103 4.907 5.2302 Missing travel or destination 0.0964
291 500104 4.4997 5.2727 Recorded simultaneous activities incorrectly 0.0315
292 500107 4.6635 5.3266 Unable to code activity at 1st tier 0.0125
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>Activities, Happiness, and Meaning</title>
<link rel="stylesheet" href="style/style.css" type="text/css" media="screen" />
</head>
<div id="main-wrapper">
<h1>Meaningfulness with Happiness</h1>
<div id="chart"></div>
</div>
<script src="js/d3.v7.min.js"></script>
<script src="js/scatterplot.js"></script>
@@ -0,0 +1,2 @@
// https://d3js.org v7.4.0 Copyright 2010-2022 Mike Bostock
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).d3=t.d3||{})}(this,(function(t){"use strict";function n(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function e(t){let e=t,r=t,i=t;function o(t,n,e=0,o=t.length){if(e<o){if(0!==r(n,n))return o;do{const r=e+o>>>1;i(t[r],n)<0?e=r+1:o=r}while(e<o)}return e}return 2!==t.length&&(e=(n,e)=>t(n)-e,r=n,i=(e,r)=>n(t(e),r)),{left:o,center:function(t,n,r=0,i=t.length){const a=o(t,n,r,i-1);return a>r&&e(t[a-1],n)>-e(t[a],n)?a-1:a},right:function(t,n,e=0,o=t.length){if(e<o){if(0!==r(n,n))return o;do{const r=e+o>>>1;i(t[r],n)<=0?e=r+1:o=r}while(e<o)}return e}}}function r(t){return null===t?NaN:+t}const i=e(n),o=i.right,a=i.left,u=e(r).center;var c=o;function f(t,n){let e=0;if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&++e;else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(i=+i)>=i&&++e}return e}function s(t){return 0|t.length}function l(t){return!(t>0)}function h(t){return"object"!=typeof t||"length"in t?t:Array.from(t)}function d(t,n){let e,r=0,i=0,o=0;if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(e=n-i,i+=e/++r,o+=e*(n-i));else{let a=-1;for(let u of t)null!=(u=n(u,++a,t))&&(u=+u)>=u&&(e=u-i,i+=e/++r,o+=e*(u-i))}if(r>1)return o/(r-1)}function p(t,n){const e=d(t,n);return e?Math.sqrt(e):e}function g(t,n){let e,r;if(void 0===n)for(const n of t)null!=n&&(void 0===e?n>=n&&(e=r=n):(e>n&&(e=n),r<n&&(r=n)));else{let i=-1;for(let o of t)null!=(o=n(o,++i,t))&&(void 0===e?o>=o&&(e=r=o):(e>o&&(e=o),r<o&&(r=o)))}return[e,r]}class y{constructor(){this._partials=new Float64Array(32),this._n=0}add(t){const n=this._partials;let e=0;for(let r=0;r<this._n&&r<32;r++){const i=n[r],o=t+i,a=Math.abs(t)<Math.abs(i)?t-(o-i):i-(o-t);a&&(n[e++]=a),t=o}return n[e]=t,this._n=e+1,this}valueOf(){const t=this._partials;let n,e,r,i=this._n,o=0;if(i>0){for(o=t[--i];i>0&&(n=o,e=t[--i],o=n+e,r=e-(o-n),!r););i>0&&(r<0&&t[i-1]<0||r>0&&t[i-1]>0)&&(e=2*r,n=o+e,e==n-o&&(o=n))}return o}}class InternMap extends Map{constructor(t,n=m){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const[n,e]of t)this.set(n,e)}get(t){return super.get(v(this,t))}has(t){return super.has(v(this,t))}set(t,n){return super.set(_(this,t),n)}delete(t){return super.delete(b(this,t))}}class InternSet extends Set{constructor(t,n=m){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const n of t)this.add(n)}has(t){return super.has(v(this,t))}add(t){return super.add(_(this,t))}delete(t){return super.delete(b(this,t))}}function v({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):e}function _({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):(t.set(r,e),e)}function b({_intern:t,_key:n},e){const r=n(e);return t.has(r)&&(e=t.get(r),t.delete(r)),e}function m(t){return null!==t&&"object"==typeof t?t.valueOf():t}function x(t){return t}function w(t,...n){return k(t,x,x,n)}function M(t,...n){return k(t,Array.from,x,n)}function A(t,n){for(let e=1,r=n.length;e<r;++e)t=t.flatMap((t=>t.pop().map((([n,e])=>[...t,n,e]))));return t}function T(t,n,...e){return k(t,x,n,e)}function S(t,n,...e){return k(t,Array.from,n,e)}function E(t){if(1!==t.length)throw new Error("duplicate key");return t[0]}function k(t,n,e,r){return function t(i,o){if(o>=r.length)return e(i);const a=new InternMap,u=r[o++];let c=-1;for(const t of i){const n=u(t,++c,i),e=a.get(n);e?e.push(t):a.set(n,[t])}for(const[n,e]of a)a.set(n,t(e,o));return n(a)}(t,0)}function N(t,n){return Array.from(n,(n=>t[n]))}function C(t,...n){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");t=Array.from(t);let[e]=n;if(e&&2!==e.length||n.length>1){const r=Uint32Array.from(t,((t,n)=>n));return n.length>1?(n=n.map((n=>t.map(n))),r.sort(((t,e)=>{for(const r of n){const n=z(r[t],r[e]);if(n)return n}}))):(e=t.map(e),r.sort(((t,n)=>z(e[t],e[n])))),N(t,r)}return t.sort(P(e))}function P(t=n){if(t===n)return z;if("function"!=typeof t)throw new TypeError("compare is not a function");return(n,e)=>{const r=t(n,e);return r||0===r?r:(0===t(e,e))-(0===t(n,n))}}function z(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(t<n?-1:t>n?1:0)}var D=Array.prototype.slice;function R(t){return()=>t}var F=Math.sqrt(50),q=Math.sqrt(10),O=Math.sqrt(2);function U(t,n,e){var r,i,o,a,u=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n<t)&&(i=t,t=n,n=i),0===(a=I(t,n,e))||!isFinite(a))return[];if(a>0){let e=Math.round(t/a),r=Math.round(n/a);for(e*a<t&&++e,r*a>n&&--r,o=new Array(i=r-e+1);++u<i;)o[u]=(e+u)*a}else{a=-a;let e=Math.round(t*a),r=Math.round(n*a);for(e/a<t&&++e,r/a>n&&--r,o=new Array(i=r-e+1);++u<i;)o[u]=(e+u)/a}return r&&o.reverse(),o}function I(t,n,e){var r=(n-t)/Math.max(0,e),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=F?10:o>=q?5:o>=O?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=F?10:o>=q?5:o>=O?2:1)}funLine truncated
@@ -0,0 +1,103 @@
// Dimensions of chart.
let margin = { top: 20, right: 10, bottom: 50, left: 45 },
// width = parseInt(d3.select('#chart').style('width'), 10) - margin.left - margin.right,
width = 600 - margin.left - margin.right,
height = 750 - margin.top - margin.bottom;
// Start SVG
let svg = d3.select("#chart").append("svg")
.attr("width", width + margin.left + margin.right)
.attr("height", height + margin.top + margin.bottom)
.append("g")
.attr("transform", "translate(" + margin.left + "," + margin.top + ")");
// Scales: x and y
let x = d3.scaleLinear()
// .domain([0, 6])
.domain([3, 6])
.range([0, width]);
let y = d3.scaleLinear()
// .domain([0, 6])
.domain([2, 6])
.range([height, 0]);
// Point color
let ptcolor = "#5a8171";
// x-axis
let xAxis = d3.axisBottom(x)
// .ticks(7)
.ticks(4)
.tickSize(-height-8)
.tickPadding(5);
let xAxisEl = svg.append("g")
.attr("class", "x axis bottom")
.attr("transform", "translate(0,"+(height+8)+")");
xAxisEl.append("text")
.attr("class", "axistitle")
.attr("text-anchor", "start")
.attr("x", 0).attr("y", 0)
.attr("dx", "-.25em")
.attr("dy", "2.5em")
.text("Meaningfulness Score Average");
xAxisEl.call(xAxis);
// y-axis
let yAxis = d3.axisLeft(y)
// .ticks(7)
.ticks(5)
.tickSize(-width-8)
.tickPadding(5);
var yAxisEl = svg.append("g")
.attr("class", "y axis left")
.attr("transform", "translate("+(-8)+",0)");
yAxisEl.append("text")
.attr("class", "axistitle")
.attr("x", 0).attr("y", 0)
.attr("dx", "4px")
.attr("dy", "-2em")
.style("text-anchor", "end")
.attr("transform", "rotate(-90)")
.text("Happiness Score Average");
yAxisEl.call(yAxis);
let activities;
let circle;
// Load data
const activitiesData = Promise.all([
d3.tsv("data/act_means.tsv", d3.autoType)
]);
activitiesData.then(function(data) {
activities = data[0];
console.log(activities);
// Initialize chart now that data is loaded.
initChart();
});
function initChart() {
// Circle for each node.
circle = svg.append("g")
.selectAll("circle")
.data(activities)
.join("circle")
.attr("id", d => "circle"+d.activity)
.attr("cx", d => x(d.meaning_mean))
.attr("cy", d => y(d.schappy_mean))
.attr("fill", ptcolor)
// .attr("fill-opacity", .8)
.attr("r", 3);
// .attr("stroke", "#fff");
}
@@ -0,0 +1,65 @@
/* #Reset & Basics (Inspired by E. Meyers)
================================================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block; }
body {
line-height: 1; }
ol, ul {
list-style: none; }
blockquote, q {
quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none; }
table {
border-collapse: collapse;
border-spacing: 0; }
/* Main layout
============================ */
#main-wrapper {
width: 600px;
margin: 40px auto;
}
h1 {
font-family: Georgia, serif;
font-size: 1.45em;
text-align: center;
}
/* Chart
============================ */
#chart {
margin: 0 auto;
}
.axis text {
font-family: "Courier New", Courier, monospace;
font-size: .8rem;
}
.axis .axistitle {
text-transform: uppercase;
fill: #333;
font-size: .8rem;
}
.axis path,
.axis line {
fill: none;
stroke: #ccc;
stroke-width: 1px;
shape-rendering: crispEdges;
}
.x.axis path, .y.axis path {
display: none;
}