View source: R/ingest_bysite.R
ingest_bysite | R Documentation |
Ingests data for a single site and one specific data type,
specified by argument source
.
ingest_bysite(
sitename,
source,
getvars = c(),
dir = NULL,
settings = NULL,
timescale = "d",
year_start = NA,
year_end = NA,
lon = NA,
lat = NA,
elv = NA,
verbose = FALSE
)
sitename |
A character string used as site identification. When data is extracted from
global files or remote servers, |
source |
A character used as identifiyer for the type of data source
(e.g., |
getvars |
A named list of characters specifying the variable names in
the original source dataset and the variable names in the ingested data frame. Use, e.g.,
|
dir |
A character specifying the directory where the data is located. |
settings |
A list of additional, source-specific settings used for reading and processing
original files. Defaults to an empty list which triggers the use of default settings (see
e.g., get_settings_fluxnet) for |
timescale |
A character or vector of characters, specifying the time scale of data used from
the respective source (if multiple time scales are available, otherwise is disregarded). Implemented
time scales are |
year_start |
An integer specifying the first year for which data is to be ingested. |
year_end |
An integer specifying the last year for which data is to be ingested (full years are read, i.e. all days, or hours, or months in each year). |
lon |
A numeric value specifying the longitude for which data is extraced from global files
or remote data servers. If |
lat |
A numeric value specifying the longitude for which data is extraced from global files
or remote data servers. If |
elv |
A numeric value specifying the elevation of the site in m a.s.l., This is only required
for |
verbose |
if |
A data frame (tibble) containing the time series of ingested data.
## Not run: inputdata <- ingest_bysite()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.