diff --git a/pkgdown.yml b/pkgdown.yml index 439d6dbb8..eb9e8a348 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -2,7 +2,7 @@ pandoc: 3.1.11 pkgdown: 2.1.0.9000 pkgdown_sha: 6ecf7666c05a728e6fea07301a07c33a6ffed784 articles: {} -last_built: 2024-08-16T20:46Z +last_built: 2024-08-17T09:03Z urls: reference: https://r.duckdb.org/reference article: https://r.duckdb.org/articles diff --git a/reference/backend-duckdb.html b/reference/backend-duckdb.html index 3b1fb7adb..c1ca37912 100644 --- a/reference/backend-duckdb.html +++ b/reference/backend-duckdb.html @@ -5,23 +5,29 @@ tbl_file() is an experimental variant of dplyr::tbl() to directly access files on disk. It is safer than dplyr::tbl() because there is no risk of misinterpreting the request, and paths with special characters are supported. -tbl_query() is an experimental variant of dplyr::tbl() +tbl_function() is an experimental variant of dplyr::tbl() to create a lazy table from a table-generating function, useful for reading nonstandard CSV files or other data sources. It is safer than dplyr::tbl() because there is no risk of misinterpreting the query. -Use dplyr::tbl(src, dplyr::sql("SELECT ... FROM ...")) for custom SQL queries. -See https://duckdb.org/docs/data/overview for details on data importing functions.">
+See https://duckdb.org/docs/data/overview for details on data importing functions. +As an alternative, use dplyr::tbl(src, dplyr::sql("SELECT ... FROM ...")) for custom SQL queries. +tbl_query() is deprecated in favor of tbl_function(). +Use simulate_duckdb() with lazy_frame() +to see simulated SQL without opening a DuckDB connection."> Skip to contents @@ -61,34 +67,33 @@tbl_file()
is an experimental variant of dplyr::tbl()
to directly access files on disk.
It is safer than dplyr::tbl()
because there is no risk of misinterpreting the request,
and paths with special characters are supported.
tbl_query()
is an experimental variant of dplyr::tbl()
+
tbl_function()
is an experimental variant of dplyr::tbl()
to create a lazy table from a table-generating function,
useful for reading nonstandard CSV files or other data sources.
It is safer than dplyr::tbl()
because there is no risk of misinterpreting the query.
-Use dplyr::tbl(src, dplyr::sql("SELECT ... FROM ..."))
for custom SQL queries.
See https://duckdb.org/docs/data/overview for details on data importing functions.
As an alternative, use dplyr::tbl(src, dplyr::sql("SELECT ... FROM ..."))
for custom SQL queries.
tbl_query()
is deprecated in favor of tbl_function()
.
Use simulate_duckdb()
with lazy_frame()
+to see simulated SQL without opening a DuckDB connection.
simulate_duckdb(...)
+ tbl_file(src, path, ..., cache = FALSE)
-translate_duckdb(...)
+tbl_function(src, query, ..., cache = FALSE)
-tbl_file(src, path, ..., cache = FALSE)
+tbl_query(src, query, ...)
-tbl_query(src, query, ..., cache = FALSE)
+simulate_duckdb(...)
Any parameters to be forwarded
A duckdb connection object
Any parameters to be forwarded
Enable object cache for Parquet files
translate_duckdb()
tbl_file()
tbl_query()
+ tbl_file()
tbl_function()
tbl_query()
simulate_duckdb()