parse_json: Parse JSON

View source: R/parse_json.R

parse_jsonR Documentation

Parse JSON

Description

Function that take JSON from the API and convert into R format

Usage

parse_json(json, file = FALSE, url = FALSE)

Arguments

json

a json string as a character

file

logical, if TRUE json is passed as path to a file. Else assumed to contain json

url

logical, if TRUE json is treated as a URL from the API

Value

a named list of data frames and other objects

Examples

## Not run: 
parse_json("jsonhere")

## End(Not run)

SDCA-tool/sdca-package documentation built on Aug. 13, 2022, 5:41 p.m.