data-raw/gisco_coastallines.R

## code to prepare `gisco_coastallines` dataset goes here

library(giscoR)
library(sf)

gisco_coastallines <- gisco_get_coastallines(
  resolution = "20",
  year = "2016",
  epsg = "4326",
  update_cache = TRUE,
  cache_dir = NULL,
  verbose = TRUE
)

usethis::use_data(gisco_coastallines,
  overwrite = TRUE,
  compress = "xz"
)
dieghernan/giscoR documentation built on Feb. 19, 2025, 5:16 a.m.