Skip to content

Instantly share code, notes, and snippets.

@taylorreiter
Last active November 10, 2020 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taylorreiter/32332a763bb5d3ffd45131fc971e9249 to your computer and use it in GitHub Desktop.
Save taylorreiter/32332a763bb5d3ffd45131fc971e9249 to your computer and use it in GitHub Desktop.
Parse the carpenties workshop information into an R dataframe
library(jsonlite)
library(dplyr)
carpentries_json <- read_json("https://feeds.carpentries.org/dc_past_workshops.json")
carpentries_df <- do.call(rbind, lapply(carpentries_json, rbind))
carpentries_df <- carpentries_df %>%
as.data.frame() %>%
mutate_all(as.character)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment