get_site_info: Obtain details about an eLTER site.

View source: R/get_site_info.R

get_site_infoR Documentation

Obtain details about an eLTER site.

Description

[Stable] This function obtains information of a single eLTER site, as a stored in DEIMS-SDR catalogue, through the DEIMS-SDR API.

Usage

get_site_info(deimsid, category = NA)

Arguments

deimsid

A character. The DEIMS ID of the site from DEIMS-SDR website. DEIMS ID information here.

category

A category. This parameter selects which category or categories are retrieved and returned in the result. Possible value are: 'Affiliations', 'Boundaries', 'Contacts', 'EnvCharacts', 'General', 'Infrastructure', 'observedProperties', 'RelateRes'. Multiple values can be indicated.

Value

The output of the function is a tibble with main features of the site and the selected information, such as: networks and projects in which the site is involved. If category 'Boundaries' is indicated an sf object is returned

Author(s)

Alessandro Oggioni, phD (2020) oggioni.a@irea.cnr.it

References

\insertRef

dplyrRReLTER

\insertRef

utilsRReLTER

\insertRef

sfRReLTER

\insertRef

leafletRReLTER

Examples

site <- get_site_info(
  deimsid = "https://deims.org/f30007c4-8a6e-4f11-ab87-569db54638fe",
  category = "Boundaries"
)
site

siteInfo <- get_site_info(
  deimsid = "https://deims.org/f30007c4-8a6e-4f11-ab87-569db54638fe",
  category = c("EnvCharacts", "Affiliations")
)
siteInfo


oggioniale/ReLTER documentation built on Jan. 4, 2024, 3:48 p.m.