| tbl_parquet | 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_parquet(conn, url, name = NULL, hive_partitioning = FALSE, replace = TRUE)
conn |
A DuckDB connection. |
url |
Character scalar. Azure Blob URL. Supports glob patterns for
multi-file datasets
(e.g. |
name |
Optional character scalar. Name to register the view under in
DuckDB. When |
hive_partitioning |
Logical. Enable Hive partition inference from the
directory structure. Default |
replace |
Logical. Replace an existing view of the same name.
Default |
When name is NULL the dataset is queried directly via read_parquet()
with no persistent object registered on the connection. When name is
supplied the dataset is first registered as a VIEW via load_parquet(), then
referenced by name. Glob patterns (e.g. "*.parquet") are supported in
url for multi-file datasets.
A dplyr::tbl() backed by the Parquet dataset.
## Not run:
# Requires a live Azure account, credentials, and network access.
conn <- az_conn()
tbl_parquet(conn, "abfss://container@account/data/*.parquet") |>
dplyr::collect()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.