Skip to content

Instantly share code, notes, and snippets.

@sharlagelfand
Created September 24, 2019 21:51
Show Gist options
  • Save sharlagelfand/9dffb91644dbf046b3e3516af59801aa to your computer and use it in GitHub Desktop.
Save sharlagelfand/9dffb91644dbf046b3e3516af59801aa to your computer and use it in GitHub Desktop.
library(httr)
library(dplyr)
resp <- GET("https://summary-api.datamermaid.org/v1/sites/")
content <- jsonlite::fromJSON(content(resp, "text", encoding = "UTF-8"), simplifyDataFrame = TRUE)
as_tibble(content[["features"]])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment