This function retrieves metadata (lat, long, name, elevation, MAT, MAP, etc.) for a selected site within the FLUXNET2015, AmeriFlux, and NEON databases. Here you provide a dataframe (dat) containing all of the required columns specified in args. In addition you will need to specify the site you're retrieting data for (and its respective database). Likewise, you will need to specify column names for each of the required variables.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | fGetSiteInfo(
dat,
site,
db,
site_col,
db_col,
site_name_col,
start_yr_col,
end_yr_col,
exclude_yr_col,
lat_col,
long_col,
country_col,
IGBP_col,
elev_col,
MAT_col,
MAP_col
)
|
dat |
dataframe, contains metadata for FLUXNET2015, AmeriFlux, and NEON sites (must contain the columns specified in arguments) |
site |
character, specify the site you're retrieving metadata for |
db |
character, specify the database you're retrieving metadata for |
site_col |
character, specify the column name containing abbreviated site names |
db_col |
character, specify the column name containing abbreviated database names |
site_name_col |
character, specify the column name containing full site names |
start_yr_col |
character, specify the column name containing years in which record started |
end_yr_col |
character, specify the column name containing years in which record ended |
exclude_yr_col |
character, specify the column name containing years to exclude from analysis |
lat_col |
character, specify the column name containing latitude |
long_col |
character, specify the column name containing longitude |
country_col |
character, specify the column name containing the countries where each site is located |
IGBP_col |
character, specify the column name containing the IGBP land classification |
elev_col |
character, specify the column name containing elevation |
MAT_col |
character, specify the column name containing mean annual temperature (C) |
MAP_col |
character, specify the column name containing mean annual precipitation (mm) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.