rnaturalearth (version 0.1.0)

ne_as_sf: coerce return object to sf if option set

Description

coerce return object to sf if option set

Usage

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

Value

an sf or sp object

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