Downloads a spatial file from url into a temporary directory and reads it
with sf::st_read(). Supported direct formats are .geojson, .json,
and .gpkg. A .zip URL is extracted first and the first supported file
inside is read. For ambiguous extensions the function assumes a zip archive.
Examples
if(interactive()){
x <- read_dragmapr_sf_url("https://example.com/regions.geojson")
}
