View source: R/ingest_globalfields.R
| ingest_globalfields | R Documentation | 
Read climate data from files as global fields
ingest_globalfields(
  siteinfo,
  source,
  getvars,
  dir,
  timescale,
  standardise_units = TRUE,
  layer = NULL,
  verbose = FALSE
)
siteinfo | 
 A data frame with rows for each site and columns 'lon' for longitude, 'lat' for latitude, 'date_start' and 'date_end' specifying required dates.  | 
source | 
 A character used as identifiyer for the type of data source
(  | 
getvars | 
 A named list of characters specifying the variable names in
the source dataset corresponding to standard names   | 
dir | 
 A character specifying the directory where data is located.
  | 
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).  | 
standardise_units | 
 A logical specifying whether units in ingested data are to be standardised following ingestr-standard units.  | 
layer | 
 (Optional) A character string specifying the layer from a shapefile or a raster brick to be read or to be used to identify file name for gsde.  | 
verbose | 
 if   | 
A data frame (tibble) containing the time series of ingested data, nested for each site.
## Not run: inputdata <- ingest_bysite()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.