tidyjson (version 0.2.4)

read_json: Reads JSON from an input uri (file, url, ...) and returns a tbl_json object

Description

Reads JSON from an input uri (file, url, ...) and returns a tbl_json object

Usage

read_json(path, format = c("json", "jsonl", "infer"))

Arguments

path

to some json data

format

If "json", process the data like one large JSON record. If "jsonl", process the data one JSON record per line (json lines format). If "infer", the format is the suffix of the given filepath.

Value

a tbl_json object