Skip to content

Commit

Permalink
new commit 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelSpinola committed Dec 11, 2023
1 parent 1b8e23a commit 36a7486
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions data-raw/gadm/gadm.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@ usethis::use_data(ca_outline, overwrite = TRUE)

# outline of Central America only continent

ca_outline_c <- ms_filter_islands(ca_outline, min_area = 1000000000)
ca_outline_c <- ms_filter_islands(ca_outline, min_area = 1000000000) |>
dplyr::select(COUNTRY)

usethis::use_data(ca_outline_c, overwrite = TRUE)

# Central America dissolved

ca_outline_d <- ca_outline_c |>
st_union()
st_union() |>
st_as_sf()

usethis::use_data(ca_outline_d, overwrite = TRUE)

Expand Down

0 comments on commit 36a7486

Please sign in to comment.