R/get_shp_name.R

Defines functions get_shp_name

Documented in get_shp_name

#' Identify shapefile for NERRS reserve
#'
#' Identify the shapefile name associated with the reserve in the data file
#'
#' @param gis.file.loc path to gis file location
#'
#' @export
#'
#' @details This function is intended for internal use with the NERRS reserve level reporting scripts. It identifies the name of the shapefile associated with the NERRS reserve.
#'
#' @author Julie Padilla
#'
#' @concept reporting
#'
#' @return Returns a character string of the shapefile for the reserve boundary
#'
get_shp_name <- function(gis.file.loc){
  x <- list.files(path = gis.file.loc, pattern = '.shp$')

  return(x)
}

Try the SWMPrExtension package in your browser

Any scripts or data that you put into this service are public.

SWMPrExtension documentation built on April 21, 2023, 1:14 a.m.