Description Usage Arguments Value
Creates a simple features (sf) object from a dataframe with latitude and longitude values
1 2 | df2sf(dataframe, longitude = "decimalLongitude",
latitude = "decimalLatitude", default_crs = "+proj=longlat +datum=WGS84")
|
dataframe |
dataframe with latitude and longitude |
longitude |
fieldname that contains the longitude values |
latitude |
fieldname that contains the latitude values |
default_crs |
coordinate reference system |
simple feature object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.