Skip to content

Instantly share code, notes, and snippets.

@jsta
Last active December 2, 2016 17:21
Show Gist options
  • Save jsta/c96dc6920af06904532b08a88ad4ac1e to your computer and use it in GitHub Desktop.
Save jsta/c96dc6920af06904532b08a88ad4ac1e to your computer and use it in GitHub Desktop.
Get PLOS supplementary material with R
# http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0081457
library(fulltext)
library(alm)
query <- ft_search(query = "Estimating Summer Nutrient Concentrations in
Northeastern Lakes from SPARROW Load Predictions and Modeled
Lake Depth and Volume", from = "plos")
doi <- ft_links(query)$plos$ids
alm_ids(doi = doi, info = "detail")$data$info$title
dt <- read.csv(ft_get_si(doi, 1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment