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

View source: R/read_json.R

read_jsonR Documentation

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


tidyjson documentation built on Jan. 7, 2023, 1:14 a.m.