format_sf | R Documentation |
Format convert STATS19 data into spatial (sf) object
format_sf(x, lonlat = FALSE)
x |
Data frame created with |
lonlat |
Should the results be returned in longitude/latitude?
By default |
x_sf = format_sf(accidents_sample)
sf:::plot.sf(x_sf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.