Skip to content

Instantly share code, notes, and snippets.

@isomorphisms
Last active August 29, 2015 14:02
Show Gist options
  • Save isomorphisms/4e03f83db58389abcb47 to your computer and use it in GitHub Desktop.
Save isomorphisms/4e03f83db58389abcb47 to your computer and use it in GitHub Desktop.
MITx and HarvardX course data
`> sort( round(sapply( split( HX, HX$course_id ), function(x) sum(x$viewed) / sum(x$registered) *100 )), decreasing=T)`
Programming
77
Mechanical Engineering
71
Structural Engineering
68
E&M
67
Computer Science
63
Solid State Chemistry
63
Biology
62
Poverty
59
Circuits & Electronics
58
Health in Numbers
58
Justice
56
Classics
54
Human Health and Global Environmental Change
38
`> sort( round(sapply( split( HX, HX$course_id ), function(x) sum(x$explored) / sum(x$registered) *100 )), decreasing=T)`
Poverty
11
Health in Numbers
10
Structural Engineering
10
Biology
7
Circuits & Electronics
6
Computer Science
6
E&M
6
Justice
6
Programming
6
Solid State Chemistry
5
Mechanical Engineering
4
Human Health and Global Environmental Change
3
Classics
2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment