Learn R Programming

frheritage (version 0.1.0)

geo_shapefiles_read: Read and transform shapefiles from a ZIP archive

Description

Extracts shapefiles from a ZIP archive, reads them into sf objects, and transform each to CRS:2154 (Lambert-93 projection for France), unless already in the target CRS.

Usage

geo_shapefiles_read(zip_path, crs = 2154)

Value

A list of sf objects transform to CRS:2154.

Arguments

zip_path

character. Path to the ZIP archive to read.

crs

numeric or sf::st_crs object. Source CRS to assume if missing in the shapefiles. Default is 2154 (Lambert-93).