get_boundaries: Get Boundary Shapefile

get_boundariesR Documentation

Get Boundary Shapefile

Description

Internal function that is used to get the boundary shapefile required in other functions

Usage

get_boundaries(mainPath, location, type, mostRecent)

Arguments

mainPath

character; the parent directory of the location folder

location

character; the location folder name

type

character; 'raw' or 'processed' depending on whether the required input is the raw input or the already processed one (i.e. projected shapefile).

mostRecent

logical; should the most recent input be selected? If FALSE and if there are multiple available inputs, the user is interactively asked to select the input based on file creation time.

Value

object of class sf when a layer was successfully read


ptimoner/inAccMod documentation built on Jan. 27, 2025, 9:34 a.m.