View source: R/read_shp_point.R
Recieves path(s) to shapefile(s), projects to given crs and returns a single simple feature.
1 | read_shps_points(shp_paths, crs = "lcc_mex", filter_var, filter_values)
|
shp_paths |
vector of path to shape files (or single path) |
crs |
string specifying projection (proj4string) passed to sf::st_transform, defaults to lcc (Mex) |
filter_var |
optional, if filtering by a variable (for example year) unquoted variable corresponding to the variable name |
filter_values |
optional, values to keep of filter_var |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.