R and the Nobel Prize API

[This article was first published on What You're Doing Is Rather Desperate » R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

The Nobel Prizes. Love them? Hate them? Are they still relevant, meaningful? Go on admit it, you always imagined you would win one day.

Whatever you think of them, the 2015 results are in. What’s more, the good people of the Nobel Foundation offer us free access to data via an API. I’ve published a document over at RPubs, showing some of the ways to access and analyse their data using R. Just to get you started:

library(jsonlite)
u     <- "http://api.nobelprize.org/v1/laureate.json"
nobel <- fromJSON(u)

In this post, just the highlights. Click the images for larger versions.

1. Gender

gender-category-1

There’s a gender gap in Nobel awards to say the least.

gender-time-category-1

In some categories, awards to women have increased in recent years.


2. Age

age-category-1

Laureates are in general rather old, with notable exceptions.

age-year-1

Laureates in most fields are getting older


3. Nationality

country-category-1

The US has many winners; but are the absolute numbers meaningful?

sankey

Migration of Nobel laureates; many roads lead to the USA


For more details and more charts, visit the document at RPubs.


Filed under: R, statistics Tagged: api, ggplot2, laureates, nobel, prizes, rest, rstats

To leave a comment for the author, please follow the link and comment on their blog: What You're Doing Is Rather Desperate » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)