OpenStreetMap data
osm.RdGet OpenStreetMap (OSM) data
Arguments
- country
- character. Three-letter ISO code or full country name 
- var
- character. Currently it can be one of "places", "highways", or "railway" 
- path
- character. Path for storing the downloaded data. See - geodata_path
- proxy
- logical. Return a SpatVectorProxy? 
- ...
- additional arguments passed to - download.file
Examples
aruba <- osm(country="Aruba", "places", path=tempdir())