import_qnat | R Documentation |
Import data file of daily naturalized streamflow
import_qnat(file, complete = TRUE, add_stn_info = TRUE)
file |
Character. Path to ascii data file (or a URL). |
complete |
logical, Default: TRUE. Make missing dates explicit using
|
add_stn_info |
logical, Default: TRUE. Get code and station name from stations metadata. |
The source ascii file contains data and metadata from ONS Hydroelectric Plants. Metadata is extracted with extract_metadata while the data is extract here.
a tibble with tidy data.
if (FALSE) { data_link <- paste0('https://www.dropbox.com/s/d40adhw66uwueet/', 'VazoesNaturaisONS_D_87UHEsDirceuAssis_2018.dat?dl=1' ) qnat <- import_qnat(data_link, complete = TRUE, add_stn_info = TRUE) str(qnat) # saveRDS(qnat, file = "qnat.RDS") }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.