extract_qnat | R Documentation |
Extract natural stramflow data from a ONS station and save to RDS file
extract_qnat( qnat_file = NA, stn_id = 74, save = TRUE, prefix = "qnat-obs-posto-", dest_dir = "output" )
qnat_file |
Character. Path to ascii data file (or a URL). |
stn_id |
integer, station code from ONS station (output from
|
save |
logical, TRUE to export data to RDS file. |
prefix |
prefix to RDS file |
dest_dir |
a character with the name of where the RDS file is
saved. Default: |
a tibble with columns date
, posto
, qnat
(cmecs).
import_qnat
if(FALSE){ qnat_posto <- extract_qnat( qnat_file = NA, stn_id = 74, save = FALSE ) str(qnat_posto) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.