View source: R/osm_processlines.R
osm_processlines | R Documentation |
This function creates indicators from OSM lines data in preparation for survey to survey imputation analysis
osm_processlines( shapefile_path = "data/cmr_polypop_boundary.shp", osm_path = "C:/Users/ifean/Documents/WorldBankWork/SAEPlus_Other/Cameroon_osmlines", geoid_var = "id", feature_var = "highway" )
shapefile_path |
filepath of country/region shapefile with polygons of interest |
osm_path |
filepath to open street map lines data (road networks) |
geoid_var |
the variable that points to the common identifier ID between shapefile_path object and osm_path object |
feature_var |
specific feature of interest in the osm_path object |
A list containing two objects: OSM lines data.table in both wide and long formats
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.