Get continent spatial data from a GeoJSON file
get_continent_sf.Rd
This function reads a GeoJSON file from a given URL, extracts continent information, and returns an sf object with continent polygons.
Examples
# Get continent data from a GeoJSON file
continent_sf <- get_continent_sf()
#> Error in get_continent_sf(): Default continent GeoJSON file not found. Ensure the file is in the 'extdata' directory of the package.
print(continent_sf)
#> Error: object 'continent_sf' not found