| load_csv | R Documentation |
Validates the URL, loads the azure extension, then registers the dataset
as a VIEW over read_csv_auto(). Use az_conn() first if the connection
needs an Azure secret. Returns conn invisibly — use tbl_csv() if you
want a dplyr::tbl().
load_csv(conn, url, name, replace = TRUE, ...)
conn |
A DuckDB connection. |
url |
Character scalar. Azure Blob URL. Supports glob patterns. |
name |
Character scalar. Name to register the view under in DuckDB. |
replace |
Logical. Replace an existing view. Default |
... |
Reader options forwarded to DuckDB's |
Invisibly returns conn.
## Not run:
# Requires a live Azure account, credentials, and network access.
conn <- az_conn()
load_csv(conn, "abfss://container@account/data/*.csv", name = "events")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.