produce_network_points_map: Provide a map (image) of sites in an eLTER Network.

View source: R/produce_network_points_map.R

produce_network_points_mapR Documentation

Provide a map (image) of sites in an eLTER Network.

Description

[Stable] Return a image map object of all of the eLTER sites belonging to an eLTER Network (e.g. LTER Italy network), as a stored into DEIMS-SDR.

Usage

produce_network_points_map(networkDEIMSID, countryCode)

Arguments

networkDEIMSID

A character. The DEIMS ID of the network from DEIMS-SDR website. DEIMS ID information here and Complete list of ILTER networks here.

countryCode

A character following the ISO 3166-1 alpha-3 codes. This ISO convention consists of three-letter country codes as defined in ISO 3166-1. The ISO 3166 standard published by the International Organization for Standardization (ISO), to represent countries, dependent territories, and special areas of geographical interest. The map produced by this function will be limited only to the country indicated in this parameter, if the network has a extraterritorial sites those will not represented.

Value

The output of the function is a tmap plot containing an image of geographic distribution of the network of sites present in the chosen country.

The function output

Map of LTER-D Germany sites

Author(s)

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

References

\insertRef

jsonliteRReLTER

\insertRef

sfRReLTER

\insertRef

tmapRReLTER

\insertRef

dplyrRReLTER

\insertRef

tibbleRReLTER

\insertRef

httrRReLTER

Examples

## Not run: 
# Italian sites
map <- produce_network_points_map(
  networkDEIMSID =
  "https://deims.org/network/7fef6b73-e5cb-4cd2-b438-ed32eb1504b3",
  countryCode = "ITA"
)
map

# German sites
map_LTERGermanSites <- produce_network_points_map(
  networkDEIMSID =
  "https://deims.org/networks/e904354a-f3a0-40ce-a9b5-61741f66c824",
  countryCode = "DEU"
)
map_LTERGermanSites +
  tmap::tm_compass(type = "8star", position = c("right", "bottom")) +
  tmap::tm_scale_bar(position = c("right", "bottom"))

## End(Not run)


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