Learn R Programming

rjstat (version 0.4.3)

as.jsonstat: Create a JSON-stat object

Description

Create a JSON-stat object

Usage

as.jsonstat(x)

is.jsonstat(x)

is.jsonstat_dataset(x)

is.jsonstat_collection(x)

is.jsonstat_dimension(x)

Value

a JSON-stat object with subclass dataset, dimension or collection

Arguments

x

a JSON-stat string, URL or file

Examples

Run this code
file_path <- system.file("extdata", "oecd.json", package = "rjstat")
x <- as.jsonstat(file_path)
print(x)
is.jsonstat(x)
is.jsonstat_dataset(x)
is.jsonstat_dimension(x)

Run the code above in your browser using DataLab