Easily parsing JSON in R with {jsonlite} and {purrr}

rOpenSci package or resource used*


What did you do?

Goal: Parse API-returned JSON into a tidy data frame and ready for analysis


  • Read it in and tidy with just base R + jsonlite (for-loop or lapply)
  • Read it in and tidy with purrr + jsonlite

URL or code snippet for your use case*

Link to blogpost


JSON, sports

Field(s) of application

Web access, API endpoints, JSON

Twitter handle