get_window: Generate a window
Description
`get_window()` takes a directory that hosts a shapefile
and returns an owin object.
Usage
get_window(load_path, target_crs = NULL, unit_scale = 1000)
Arguments
- load_path
path to the shp file
- target_crs
target CRS (if users want to specify it; as an EPSG code)
- unit_scale
parameter to convert meters to kilometers (by default = 1000 so that the unit is set to km)