Package: rnaturalearth 1.1.0

Philippe Massicotte

rnaturalearth: World Map Data from Natural Earth

Facilitates mapping by making natural earth map data from <https://www.naturalearthdata.com/> more easily available to R users.

Authors:Philippe Massicotte [aut, cre], Andy South [aut], Koen Hufkens [ctb]

rnaturalearth_1.1.0.tar.gz
rnaturalearth_1.1.0.zip(r-4.6)rnaturalearth_1.1.0.zip(r-4.5)rnaturalearth_1.1.0.zip(r-4.4)
rnaturalearth_1.1.0.tgz(r-4.5-any)rnaturalearth_1.1.0.tgz(r-4.4-any)
rnaturalearth_1.1.0.tar.gz(r-4.6-any)rnaturalearth_1.1.0.tar.gz(r-4.5-any)
rnaturalearth_1.1.0.tgz(r-4.4-emscripten)
rnaturalearth.pdf |rnaturalearth.html
rnaturalearth/json (API)
NEWS

# Install 'rnaturalearth' in R:
install.packages('rnaturalearth', repos = c('https://packages.ropensci.org', 'https://cloud.r-project.org'))

Reviews:rOpenSci Software Review #22

Bug tracker:https://github.com/ropensci/rnaturalearth/issues

Pkgdown site:https://docs.ropensci.org

Datasets:

On CRAN:

Conda:

peer-reviewed

15.87 score 247 stars 40 packages 8.1k scripts 32k downloads 44 mentions 12 exports 23 dependencies

Last updated 2 months agofrom:c0a1fa2e99 (on main). Checks:7 OK, 2 NOTE, 1 FAIL. Indexed: yes.

TargetResultTotal time
source / vignettesOK376
pkgdown docsOK344
linux-devel-x86_64OK478
linux-release-x86_64OK480
macos-release-arm64OK72
macos-oldrel-arm64NOTE92
windows-develOK106
windows-releaseOK86
windows-oldrelNOTE141
wasm-releaseFAIL512

Exports:check_data_existcheck_rnaturalearthdatacheck_rnaturalearthhiresinstall_rnaturalearthdatainstall_rnaturalearthhiresne_coastlinene_countriesne_downloadne_file_namene_find_vector_datane_loadne_states

Dependencies:askpassclassclassIntclicurlDBIe1071httrjsonliteKernSmoothmagrittrMASSmimeopensslproxyR6Rcpps2sfsysterraunitswk

Finding data

Rendered fromfinding-data.Rmdusingknitr::rmarkdownon May 29 2025.

Last update: 2025-04-14
Started: 2023-12-05

Introduction to rnaturalearth.

Rendered fromrnaturalearth.Rmdusingknitr::rmarkdownon May 29 2025.

Last update: 2025-03-16
Started: 2015-11-03

Language support in rnaturalearth

Rendered fromlanguage-support.Rmdusingknitr::rmarkdownon May 29 2025.

Last update: 2025-03-16
Started: 2018-09-08

What is a country ?

Rendered fromwhat-is-a-country.Rmdusingknitr::rmarkdownon May 29 2025.

Last update: 2025-03-16
Started: 2015-07-23

Readme and manuals

Help Manual

Help pageTopics
check whether the requested data exist on Natural Earthcheck_data_exist
Check whether to install rnaturalearthdata and install if necessarycheck_rnaturalearthdata
Check whether to install rnaturalearthhires and install if necessarycheck_rnaturalearthhires
check that this scale is present in Natural Earthcheck_scale
Convert from/to sf/sv objectsconvert_spatial_class
world country polygons from Natural Earthcountries countries110
list of cultural layers available from Natural Earthdf_layers_cultural
list of physical layers available from Natural Earthdf_layers_physical
Get data from within the packageget_data
Install the naturalearthdata package after checking with the userinstall_rnaturalearthdata
Install the naturalearthhires package after checking with the userinstall_rnaturalearthhires
Generate the layer name for a Natural Earth datasetlayer_name
Get natural earth world coastlinene_coastline
Get natural earth world country polygonsne_admin0 ne_countries
Download data from Natural Earth and (optionally) read into Rne_download
return a natural earth filename based on argumentsne_file_name
Return a dataframe of available vector layers on Natural Earthne_find_vector_data
load a Natural Earth vector that has already been downloaded to R using 'ne_download'ne_load
Get natural earth world state (admin level 1) polygonsne_admin1 ne_states
Normalize the type argument for Natural Earth datasetsnormalize_type
Read Spatial Vectorread_spatial_vector
Extracts the http URL from a VSIZIP URLsanitize_gdal_url