Skip to content

Instantly share code, notes, and snippets.

@luluwuluying
luluwuluying / Time spent in primary activities.csv
Last active January 19, 2016 22:49
Time spent in primary activities
Activity AvgHourTotal AvgHourMen AvgHourWomen
Personal care activities 9.58 9.32 9.82
Sleeping 8.8 8.69 8.9
Eating and drinking 1.17 1.21 1.14
Household activities 1.77 1.38 2.14
Housework 0.55 0.27 0.82
Food preparation and cleanup 0.59 0.34 0.82
Lawn and garden care 0.19 0.25 0.12
Household management 0.12 0.1 0.13
Purchasing goods and services 0.74 0.6 0.87
Activity AvgHourMen AvgHourWomen
Personal care activities 9.32 9.82
Sleeping 8.69 8.9
Eating and drinking 1.21 1.14
Household activities 1.38 2.14
Housework 0.27 0.82
Food preparation and cleanup 0.34 0.82
Lawn and garden care 0.25 0.12
Household management 0.1 0.13
Purchasing goods and services 0.6 0.87
Activity AvgHourMen AvgHourWomen
Personal care activities 9.32 9.82
Sleeping 8.69 8.9
Eating and drinking 1.21 1.14
Household activities 1.38 2.14
Housework 0.27 0.82
Food preparation and cleanup 0.34 0.82
Lawn and garden care 0.25 0.12
Household management 0.1 0.13
Purchasing goods and services 0.6 0.87
@luluwuluying
luluwuluying / Time-spent.csv
Created February 1, 2016 19:40
week3 d3 table
Personal care activities 9.32 9.82
Sleeping 8.69 8.9
Eating and drinking 1.21 1.14
Household activities 1.38 2.14
Housework 0.27 0.82
Food preparation and cleanup 0.34 0.82
Lawn and garden care 0.25 0.12
Household management 0.1 0.13
Purchasing goods and services 0.6 0.87
@luluwuluying
luluwuluying / education.csv
Created February 8, 2016 19:10
Week4: Starter Bars
educationdegree weeklyearning2011
High school,no diploma 451
High school graduate 638
College,no degree 719
Associate degree 768
Bachelor's degree 1053
Master's degree 1263
Professional degree 1665
Doctoral degree 1551
@luluwuluying
luluwuluying / index.html
Created February 8, 2016 19:13
Week 4: SVG fixes
<html lang="en">
<head>
<meta charset="utf-8">
<title>SVG Shapes</title>
</head>
<body>
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg">
<!-- Created with SVG-edit - http://svg-edit.googlecode.com/ -->
@luluwuluying
luluwuluying / Socialmedia.csv
Last active February 8, 2016 19:14
Week4: Sortable Heatmap table
Tool Monthlyviews Monthlyvisits
Archives.gov Blogs 79986 45744
Tumblr Blogs 18079 9585
Facebook 11508850 3474852
Youtube 191964 22860
Flickr 1765243 10798
iTunes U 2260 338
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 25 columns, instead of 1. in line 6.
country,dwellingsWithoutBasicFacilities,housingExpenditure,roomsPerPerson,householdNetAdjustedDisposableIncome,householdNetFinancialWealth,employmentRate,jobSecurity,longTermUnemploymentRate,personalEarnings,qualityOfSupportNetwork,educationalAttainment,studentSkills,yearsInEducation,airPollution,waterQuality,consultationOnRuleMaking,voterTurnout,lifeExpectancy,selfReportedHealth,lifeSatisfaction,assaultRate,homicideRate,employeesWorkingVeryLongHours,timeDevotedToLeisureAndPersonalCare
Australia,1.1,20,2.3,31197,38482,72,4.4,1.06,46585,93,74,512,18.8,13,93,10.5,93,82,85,7.4,2.1,0.8,14.23,14.41
Austria,1,21,1.6,29256,48125,73,3.4,1.07,43837,95,82,500,16.9,27,95,7.1,75,81.1,69,7.5,3.4,0.5,8.61,14.46
Belgium,1.9,20,2.3,27811,78368,62,4.5,3.37,47276,91,71,509,18.8,21,84,4.5,89,80.5,74,7.1,6.6,1.2,4.41,15.71
Brazil,6.7,21,1.4,10310,6875,67,4.8,2.17,7909,90,43,402,16.3,18,67,4,79,73.4,69,7.2,7.9,25.5,10.74,14.97
Canada,0.2,22,2.5,30212,63261,72,6.6,0.9,44017,94,89,522,17,15,90,10.5,61,81,88,7.6,1.3,1.7,3.98,14.25
C
@luluwuluying
luluwuluying / diabetes.csv
Last active February 15, 2016 21:41
Wee5 homework3
Year Crude AgeAdjusted
1980 2.5 2.8
1981 2.5 2.8
1982 2.5 2.8
1983 2.4 2.7
1984 2.6 2.8
1985 2.6 2.9
1986 2.8 3.1
1987 2.8 3
1988 2.6 2.8
@luluwuluying
luluwuluying / education.csv
Last active February 15, 2016 21:42
Week5 homework2
educationdegree weeklyearning2011
High school,no diploma 451.00
High school graduate 638.00
College,no degree 719.00
Associate degree 768.00
Bachelor's degree 1053.00
Master's degree 1263.00
Professional degree 1665.00
Doctoral degree 1551.00