pp_ancillary {populR} | R Documentation |
Ancillary Information from OSM Features
Description
Ancillary Information from OSM Features
Usage
pp_ancillary(x, volume = NULL, key)
Arguments
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 |
Value
an object of class sf
including ancillary information either for
night or day estimates
Examples
## 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)
[Package populR version 0.2.1 Index]