create_spatial_df | R Documentation |
Make shape file of data frame from long and lat columns
create_spatial_df(df, lon = "lon", lat = "lat")
df |
The data frame containing the data to be mapped |
lon |
The name of the column containing the longitude data |
lat |
The name of the column containing the latitude data |
sp_companies_uk <- create_spatial_df(tbl_companies_uk, lon = "LONGITUDE_RA", lat = "LATITUDE_RA")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.