ne_as_sf: coerce return object to sf if option set

Description Usage Arguments Value

View source: R/ne_as_sf.r

Description

coerce return object to sf if option set

Usage

1
ne_as_sf(x, returnclass = c("sp", "sf"))

Arguments

x

scale of map to return, one of 110, 50, 10 or 'small', 'medium', 'large'

returnclass

'sp' default or 'sf' for Simple Features

#not exported

Value

an sf or sp object


ropenscilabs/rnaturalearth documentation built on Sept. 25, 2018, 10:42 p.m.