ne_find_vector_data: Return a dataframe of available vector layers on Natural...

View source: R/find_data.R

ne_find_vector_dataR Documentation

Return a dataframe of available vector layers on Natural Earth

Description

Checks the Natural Earth Github repository for current vector layers and provides the file name required in the type argument of ne_download.

Usage

ne_find_vector_data(
  scale = 110,
  category = c("cultural", "physical"),
  getmeta = FALSE
)

Arguments

scale

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

category

one of natural earth categories : 'cultural', 'physical'

getmeta

whether to get url of the metadata for each layer

Value

dataframe with two variables: layer and metadata

Examples

## Not run: 
ne_find_vector_data(scale = 10, category = "physical")

## End(Not run)

rnaturalearth documentation built on Aug. 21, 2023, 5:12 p.m.