Comments (2)
Hi Jim,
I believe there are some inconsistencies in the file naming (among other naming conventions) in the Natural Earth dataset. If you install the dev version of rnaturalearth:
remotes::install_github("ropensci/rnaturalearth")
there is a function to see the currently available datasets. This info is pulled from the Natural Earth github repo so should be up to date.
rnaturalearth::ne_find_vector_data(scale = 10, category = "cultural")
which returns:
1 admin_0_antarctic_claim_limit_lines 10
2 admin_0_antarctic_claims 10
3 admin_0_boundary_lines_disputed_areas 10
4 admin_0_boundary_lines_land 10
5 admin_0_boundary_lines_map_units 10
6 admin_0_boundary_lines_maritime_indicator 10
7 admin_0_countries 10
8 admin_0_countries_lakes 10
9 admin_0_disputed_areas 10
10 admin_0_disputed_areas_scale_rank_minor_islands 10
11 admin_0_label_points 10
12 admin_0_map_subunits 10
13 admin_0_map_units 10
14 admin_0_pacific_groupings 10
15 admin_0_scale_rank 10
16 admin_0_scale_rank_minor_islands 10
17 admin_0_seams 10
18 admin_0_sovereignty 10
19 admin_1_label_points 10
20 admin_1_seams 10
21 admin_1_states_provinces 10
22 admin_1_states_provinces_lakes 10
23 admin_1_states_provinces_lines 10
24 admin_1_states_provinces_scale_rank 10
25 airports 10
26 parks_and_protected_lands_area 10
27 parks_and_protected_lands_line 10
28 parks_and_protected_lands_point 10
29 parks_and_protected_lands_scale_rank 10
30 populated_places 10
31 populated_places_simple 10
32 ports 10
33 railroads 10
34 railroads_north_america 10
35 roads 10
36 roads_north_america 10
37 time_zones 10
38 urban_areas 10
39 urban_areas_landscan 10
I think admin_0_disputed_areas
is what you are looking for (if so, I have no idea why they are named differently. So, finally:
ne_download(scale = 10, type = "admin_0_disputed_areas", category = "cultural")
from rnaturalearth.
Awesome, thanks @mps9506 .
from rnaturalearth.
Related Issues (20)
- Release rnaturalearth 1.0.0
- Wrong link in About HOT 1
- Pre-compute vignettes so it does no error on CRAN if resource is not available
- Package suggested but not available for checking: ‘rnaturalearthhires’
- Update package version for rnaturalearthdata and rnaturalearthhires to 1.0.0
- Unexpected behavior of medium size country polygon download / while small & large resolution work as advertised HOT 4
- ne_countries message:maptools, rgdal, and rgeos, underpinning this package will retire shortly message HOT 4
- United States missing using geostationary satellite view projection only HOT 5
- pkgdown
- Deprecate `sp`
- Add support for `vect` of the `terra` package
- Use `pkgdown`
- Function helpers to provide users with available downloadable files
- Change to `sf`/`spatvector` in `rnaturalearthhires` and `rnaturalearthhires`
- sf MULTIPOLYGONs not mergeable across countries HOT 6
- Chatham Islands with New Zealand HOT 4
- `ne_download()` fails to read raster objects HOT 2
- `ne_download()` should not warn about `sp` for raster objects or if `load = FALSE` HOT 1
- `ne_download()` doens't return filename HOT 5
- Invalid geometry world: Loop 0 is not valid HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rnaturalearth.