osm_datapull: This function pulls specific layer data (lines, multipolygons...

View source: R/osm_datapull.R

osm_datapullR Documentation

This function pulls specific layer data (lines, multipolygons and points) from the Open Street Maps for countries or regions

Description

This function pulls specific layer data (lines, multipolygons and points) from the Open Street Maps for countries or regions

Usage

osm_datapull(
  country = "Cameroon",
  ldrive = "C:/Users/ifean/Documents/WorldBankWork/SAEPlus_Other",
  lines = T,
  points = T,
  multipolygon = T
)

Arguments

country

a string argument for the country name (or city) of interest i.e. place argument for oe_get function

ldrive

a string argument for the local folder/drive location where the data should be stored

lines

if TRUE, OSM features with lines data will be pulled

points

if TRUE, OSM features with points data will be pulled

multipolygon

if TRUE, OSM features will be pulled within polygons

Value

one shapefiles for each of lines, points and/or multipolygon pulls specified as TRUE


SSA-Statistical-Team-Projects/SAEplus documentation built on Aug. 24, 2022, 11:26 a.m.