knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The {HEobs}
package makes it easy to process naturalized flow data and metadata from ONS stations.
You can install HEobs from GitHub with:
# install.packages("devtools") devtools::install_github("lhmet-ped/HEobs")
Metadata from ONS stations can be obtained with:
data_link <- "https://www.dropbox.com/s/d40adhw66uwueet/VazoesNaturaisONS_D_87UHEsDirceuAssis_2018.dat?dl=1"
library(HEobs) ## basic example code qnat_meta <- extract_metadata(NA_character_, informative = TRUE) qnat_meta
The time series of daily naturalized streamflow ...
qnat <- import_qnat(NA_character_, complete = TRUE, add_stn = TRUE) str(qnat)
library(dplyr) qnat_hbr <- data.table::fread('https://raw.githubusercontent.com/lhmet/hydrobr/master/hydrobr/resources/ONS_daily_flow.csv') str(qnat_hbr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.