Closed JimShady closed 4 years ago
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")
Awesome, thanks @mps9506 .
Hi all,
This works:
ne_download(scale = 50, type = 'breakaway_disputed_areas', category = 'cultural')
But this does not
ne_download(scale = 10, type = 'breakaway_disputed_areas', category = 'cultural')
According to the first table on this page, it should do I believe?
https://docs.ropensci.org/rnaturalearth/
Cheers, Jim