Description Usage Arguments Value Examples
This function uses src_sqlite to load the sqlite database extracted by hydat_extract and downloaded using hydat_download.
1 | hydat_load(source = ".", set = TRUE)
|
source |
The directory where the Hydat database was extracted, or the database file. |
set |
Pass FALSE to skip setting the internal package reference to the loaded database (advanced). |
An object extending src_sqlite, invisibly
1 2 3 4 5 6 7 8 | ## Not run:
# hydat_download() takes about 10 minutes; hydat_extract() takes about 2 minutes
hydat_download()
hydat_extract()
hydat_db <- hydat_load()
dplyr::src_tbls(hydat_db)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.