read_json_conn | R Documentation |
Currently, this is not very efficient as the entire contents of the connection are read into R as a string and then the JSON parsed from there.
read_json_conn(conn, opts = list(), ...)
conn |
connection object. e.g. |
opts |
Named list of options for parsing. Usually created by |
... |
Other named options can be used to override any options in |
For plain text files it is faster to use
read_json_file()
.
R object
Other JSON Parsers:
read_json_file()
,
read_json_raw()
,
read_json_str()
,
read_ndjson_file()
,
read_ndjson_str()
if (interactive()) {
read_json_conn(url("https://api.github.com/users/hadley/repos"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.