Description Usage Arguments Value
View source: R/sample-locations.R
Subset the shapefile and road lines to proper roads within specified tract
1 | subset_shapes_roads(place_id, shapefile)
|
place_id |
numeric specifying the ID of the region we are sub-sampling |
shapefile |
sp class with all of the locations for each place id. In addition, we must have road shapefiles so shapefile is a list with both the tracts and the roads, tracts is the first object and roads the second. |
new_shp - roads within the tract, a SpatialLines object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.