Learn R Programming

tidyjson (version 0.3.2)

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"))

Value

a tbl_json object

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.