spod_available_data_v1 {spanishoddata} | R Documentation |
Get the available v1 data list
Description
This function provides a table of the available data list of MITMA v1 (2020-2021), both remote and local.
Usage
spod_available_data_v1(
data_dir = spod_get_data_dir(),
check_local_files = FALSE,
quiet = FALSE
)
Arguments
data_dir |
The directory where the data is stored. Defaults to the value returned by |
check_local_files |
Whether to check if the local files exist. Defaults to |
quiet |
A |
Value
A tibble with links, release dates of files in the data, dates of data coverage, local paths to files, and the download status.
- target_url
character
. The URL link to the data file.- pub_ts
POSIXct
. The timestamp of when the file was published.- file_extension
character
. The file extension of the data file (e.g., 'tar', 'gz').- data_ym
Date
. The year and month of the data coverage, if available.- data_ymd
Date
. The specific date of the data coverage, if available.- local_path
character
. The local file path where the data is stored.- downloaded
logical
. Indicator of whether the data file has been downloaded locally. This is only available ifcheck_local_files
isTRUE
.