Skip to contents

Helps create text for excel report's notes sheet (via ejam2excel() helpers like table_xls_format())

Usage

buffer_desc_from_sitetype(sitetype, site_method)

Arguments

sitetype

character string, one of "shp", "latlon", "fips"

site_method

optional word or phrase about the sites or how they were selected.

The site_method parameter can be used by the shiny app to add informational text in the header of a report.

The site_method parameter provides more detailed info about how sites were specified in the web app, beyond what sitetype provides, e.g., from ejamit()$sitetype or ejamitout$sitetype

  • sitetype can be "latlon", "fips", or "shp"

  • site_method can be one of these: "latlon", "SHP", "FIPS", "FIPS_PLACE", "FRS", "NAICS", "SIC", "EPA_PROGRAM", "MACT"

The shiny app server provides site_method from the reactive called submitted_upload_method() which is much like the one called current_upload_method().

Value

text string, phrase to use in excel notes tab

Examples

EJAM:::buffer_desc_from_sitetype("latlon", "NAICS")
EJAM:::buffer_desc_from_sitetype("shp")
EJAM:::buffer_desc_from_sitetype("fips")