as.jsonstat: Create a JSON-stat object

View source: R/jsonstat.R

as.jsonstatR Documentation

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)

Arguments

x

a JSON-stat string, URL or file

Value

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

Examples

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)


rjstat documentation built on Sept. 8, 2023, 5:10 p.m.