set_site | R Documentation |
set Site Information for Fossil Sites
set_site(
x = NA,
siteid = NA_integer_,
sitename = NA_character_,
geography = st_as_sf(st_sfc()),
altitude = NA_integer_,
geopolitical = list(),
area = NA_integer_,
notes = NA_character_,
description = NA_character_,
collunits = new("collunits")
)
x |
Object to be set as a site |
siteid |
The unique site id for a site. If this site is new to Neotoma then leave the ID as NA (the default). |
sitename |
Actual site name as a character string. |
geography |
An |
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 for personal analysis. The new object will not be uploaded to the database. |
collunits |
Collection units in the site |
site
object
{
# 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.