Data and code for "This Post Is Brought To You By The National Science Foundation"
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
demographic_snapshots.R
sciences3.csv
treemap.csv

README.md

NSF_Demographics

Data and code for "This Post Is Brought To You By The National Science Foundation." http://thelittledataset.com/2015/12/31/this-post-is-brought-to-you-by-the-national-science-foundation/

Data Source

Data is from Table 7-4 “Doctoral degrees awarded, by citizenship, field, and race or ethnicity: 2002–12” from the NSF Report on Women, Minorities, and Persons with Disabilities in Science and Engineering http://www.nsf.gov/statistics/wmpd/2013/tables.cfm

To create visuals! ggplot action!

Simply clone the repo and run the R script "demographic_snapshots.R"!

Comments in the code mark Parts I, II, and III. Part I creates the treemap, Part II creates the stacked area charts for the raw numbers, and Part III creates the stacked area charts, nightingale plots, and line charts for the percentages.

Let me know if you have any questions or comments!

alexpalbright@gmail.com