| tbl_json | R Documentation |
Validates the URL, loads the azure extension, then returns a lazy
dplyr::tbl() over the dataset. Use az_conn() first if the connection
needs Azure extensions, settings, or secrets.
tbl_json(conn, url, name = NULL, replace = TRUE, ...)
conn |
A DuckDB connection. |
url |
Character scalar. Azure Blob URL. Supports glob patterns. |
name |
Optional character scalar. Name to register the view under in
DuckDB. When |
replace |
Logical. Replace an existing view of the same name.
Default |
... |
Reader options forwarded to DuckDB's |
When name is NULL the dataset is queried directly via read_json_auto()
with no persistent object registered on the connection. When name is
supplied the dataset is first registered as a VIEW via load_json(), then
referenced by name.
A dplyr::tbl() backed by the JSON dataset.
## Not run:
# Requires a live Azure account, credentials, and network access.
conn <- az_conn()
tbl_json(conn, "abfss://container@account/data/*.json") |>
dplyr::collect()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.