data_etl | R Documentation |
Main ETL to ingest WA+ modeled result sets found at location defined by
getOption("wa.data")
. This location may be specified at run time or via
environment variable WA_DATA
. Exact location and structure for output data files
are still to be defined.
data_etl( iso3 = NULL, root = getOption("wa.data"), file = file.path("./data-raw/rds/data.rds") )
iso3 |
3-letter country code of the river basin to ingest. If null, all basin ISO3 listed in ISO3 will be processed. Can be used to manually test new result sets. |
root |
base directory (local or remote) to scan for input data files (default:
package option |
file |
a connection or the name of the file where the R object is saved to. The
default behavior is to save the transformed dataset to this package's |
A vignette is available to describe the current approach.
normalized data.table with variables: -
data <- data_etl("mli")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.