| set_site | R Documentation |
set Site Information for Fossil Sites
set_site(
x = NA,
siteid = NA_integer_,
sitename = NA_character_,
geography = sf::st_as_sf(sf::st_sfc()),
altitude = NA_integer_,
geopolitical = list(),
area = NA_integer_,
notes = NA_character_,
description = NA_character_,
collunits = NULL
)
x |
Object to be set as a site |
siteid |
The unique |
sitename |
Name of a site. |
geography |
A |
altitude |
altitude/elevation of the site. |
geopolitical |
The geopolitical unit in which the site is located. |
area |
The area of the site or depositional basin in ha. Can be calculated from the polygon. |
notes |
additional information of the site |
description |
Function to create new site objects. The new object will not be uploaded to the database. |
collunits |
Collection units in the site |
site object
Socorro Dominguez dominguezvid@wisc.edu
{
# Create a site called "My Lake", to
x <- sf::st_as_sf(sf::st_sfc(sf::st_point(c(5,5))))
my_site <- set_site(sitename = "My Lake",
geography = x,
description = "my lake",
altitude = 30)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.