Description Usage Arguments Value See Also
Extracts the location information from a data frame
and transforms into a sf
object.
1 | df2site_sf(df, site_id, lon, lat, crs)
|
df |
a data frame of the data set |
site_id |
the name of the column containing location IDs |
lon |
the name of the column containing the location's longitude |
lat |
the name of the column containing the location's latitude |
crs |
the code for the Coordinate Reference System |
a sf object, containing the geographic information for
each location in df
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.