R/processDocType10.R

Defines functions processDocType10

Documented in processDocType10

#' Find and store important values for document type 10
#'
#' This function allows you to sort through document type 10 and save relevant information
#' @param df  the dataframe for this site which is passed to each document type
#' @param stringList  all of the page as a string list
#' @keywords type10
#' @export
#' @examples
#' processDocType10()

processDocType10 <- function(df = NULL, stringList = NULL){

  df$UseInfo = phraseFinder(stringList,"type*","dimensions:")
  df$Date <- phraseFinder(stringList,"component*","phase")
  df$OccupationDensity <- phraseFinder(stringList,"measurement","vegetation:")


  return(df)
}
seanbergin/srp documentation built on Aug. 7, 2023, 12:31 p.m.