View source: R/createSF_points.R
createSF_points | R Documentation |
Function to create an sf (simple features) dataset with point geometries.
createSF_points(
dfr,
xCol = "longitude",
yCol = "latitude",
crs = get_crs(4326),
wrapDateline = FALSE
)
dfr |
|
xCol |
|
yCol |
|
crs |
|
wrapDateline |
|
Uses packages tibble
, sf
, dplyr
.
an sf dataframe: dfr with "geom" column appended
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.