View source: R/produce_network_points_map.R
produce_network_points_map | R Documentation |
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.
produce_network_points_map(networkDEIMSID, countryCode)
networkDEIMSID |
A |
countryCode |
A |
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.
Alessandro Oggioni, phD (2020) oggioni.a@irea.cnr.it
jsonliteRReLTER
\insertRefsfRReLTER
\insertReftmapRReLTER
\insertRefdplyrRReLTER
\insertReftibbleRReLTER
\insertRefhttrRReLTER
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.