Simple wrapper around sf::st_read() to load a kml or shapefile, and optionally reproject it.

loadStudyArea(path = NULL, filename = NULL, proj = NULL)

Arguments

path

path to directory containing the file

filename

the name of the file

proj

(optional) a crs projection string to reproject the study area to.

Value

An sf object.