Skip to contents

[Stable] This function return a spatial point vector object including title, date late updated, URI, and coordinates, stored in DEIMS-SDR catalogue, of all the eLTER sites belonging to an eLTER Network (e.g. LTER- Italy network).

Usage

get_network_sites(networkDEIMSID)

Arguments

networkDEIMSID

A character. The DEIMS ID of the network from DEIMS-SDR website. DEIMS ID information here and Complete list of networks here. The DEIMS ID of network is the URL for the network page.

Value

The output of the function is a point vector of sf class (package sf) of the network's sites.

References

Wickham H (2022). httr: Tools for Working with URLs and HTTP. R package version 1.4.3, https://CRAN.R-project.org/package=httr.

Wickham H, François R, Henry L, Müller K (2022). dplyr: A Grammar of Data Manipulation. R package version 1.0.9, https://CRAN.R-project.org/package=dplyr.

Ooms J (2014). “The jsonlite Package: A Practical and Consistent Mapping Between JSON Data and R Objects.” arXiv:1403.2805 [stat.CO]. https://arxiv.org/abs/1403.2805.

Pebesma E (2018). “Simple Features for R: Standardized Support for Spatial Vector Data.” The R Journal, 10(1), 439--446. doi:10.32614/RJ-2018-009 .

Cheng J, Karambelkar B, Xie Y (2022). leaflet: Create Interactive Web Maps with the JavaScript 'Leaflet' Library. R package version 2.1.1, https://CRAN.R-project.org/package=leaflet.

Author

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

Examples

if (FALSE) {
# The sites of LTER-Italy network
listSites <- get_network_sites(
  networkDEIMSID =
  "https://deims.org/network/7fef6b73-e5cb-4cd2-b438-ed32eb1504b3"
)
listSites

# The sites of LTER Europe network
euSites <- get_network_sites(
  networkDEIMSID =
  "https://deims.org/networks/4742ffca-65ac-4aae-815f-83738500a1fc"
)
euSites
}