label | R Documentation |
The function label
adds data set name and source type.
label(x, y)
x |
data.table (see details) |
y |
character (see details) |
columns in 'x' should be named (if present): "lon", "lat", "date", and "value"
Available options are:
"20cr" for 20CR v3,
"chirps" for CHIRPS v2.0,
"cmap" for CMAP standard version,
"cmorph" for CMORPH,
"cpc" for CPC-Global,
"cru-ts" for CRU_TS v4.06,
"em-earth" for EM-EARTH,
"era20c" for ERA-20C,
"era5" for ERA5,
"fldas" for FLDAS,
"ghcn" for GHCN-M v2,
"gldas-clsm" for GLDAS CLSM,
"gldas-noah" for GLDAS NOAH,
"gldas-vic" for GLDAS VIC,
"gleam" for GLEAM v3.7a,
"gpcc" for GPCC v2020,
"gpcp" for GPCP v2.3,
"gpm_imerg" for GPM IMERGM Final v06,
"jra55" for JRA-55,
"merra2" for MERRA-2,
"mswep" for MSWEP v2.8,
"ncep-doe" for NCEP/DOE,
"ncep-ncar" for NCEP/NCAR,
"persiann" for PERSIANN-CDR,
"precl" for PREC/L,
"terraclimate" for TerraClimate,
"trmm-3b43" for TRMM 3B43 v7,
"udel" for UDEL v501.
data.table
## Not run:
r <- data.table::data.table("date" = as.Date("2000-01-01"), "value" = 42)
s <- label(r, "mswep")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.