Download and Convert CSVs to GeoPackage Layers
rfp_source_csv.Rd
This function downloads CSV files from specified URLs and converts them into layers
within a GeoPackage using the ogr2ogr
command-line tool from GDAL.
See also
Other source ogr2ogr gpkg:
rfp_source_url()
Examples
if (FALSE) { # \dontrun{
path_gpkg <- "background_layers.gpkg"
urls_csv <- c(
"https://raw.githubusercontent.com/smnorris/bcfishpass/main/parameters/example_newgraph/parameters_habitat_method.csv",
"https://raw.githubusercontent.com/smnorris/bcfishpass/main/parameters/example_newgraph/parameters_habitat_thresholds.csv"
)
rfp_source_csv(path_gpkg, urls_csv)
} # }