View source: R/download_data.R
download_pg_rawdata | R Documentation |
Before running this, you need to set the folder using pgoptions$set_rawfolder("path/to/folder")
download_pg_rawdata(
file_info = NULL,
overwrite = FALSE,
resume = TRUE,
max_retry = 10
)
file_info |
A data.frame with the same structure as the result from |
overwrite |
Whether or not to download and overwrite files already in local folder. |
resume |
If true, will also download files that did not finish download last time the function was run. |
data.frame Download summary
files_to_download <- pg_rawfiles() |> dplyr::filter(id == "ec3eea2e-6bec-40d5-a09c-e9c6ff2f8b6b")
# download_pg_rawdata(overwrite = TRUE, file_info = files_to_download)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.