read_nearth: Read one or more Natural Earth data files.

Description Usage Arguments Value

View source: R/nearth.R

Description

Read one or more Natural Earth data files.

Usage

1
read_nearth(name = "ne_50m_coastline", what = c("vector", "raster")[1], ...)

Arguments

name

character, one or more names to find, must point to either vectors or rasters but not a mix of the two. You can also provide the full filepath but providing just the name can be easier.

what

character either 'vector' (default) or 'raster'

...

further arguments for nearth::read_nearth_raster() or or nearth::read_nearth_vector()

Value

a list of one or more spatial datasets or NULL


BigelowLab/nearth documentation built on May 5, 2019, 2:44 p.m.