pp_ancillary | R Documentation |
Ancillary Information from OSM Features
pp_ancillary(x, volume = NULL, key)
x |
an object of class |
volume |
x volume information (height or number of floors) useful for float ancillary information |
key |
OSM feature keys or values available in x |
an object of class sf
including ancillary information either for
night or day estimates
## Not run:
data('trg')
# Download OSM amenities
dt <- pp_vgi(trg, key = amenity)
# create binary ancillary information
dt <- pp_ancillary(dt, 'amenity')
# create ancillary information both binary and float
dt <- pp_ancillary(dt, floors, 'amenity')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.