Build text for report: Locations analyzed: e.g. (" specified point") based on sitetype ("latlon") and site_method
Source:R/community_report_helper_funs.R
buffer_desc_from_sitetype.RdHelps create text for excel report's notes sheet (via ejam2excel() helpers like table_xls_format())
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_methodparameter can be used by the shiny app to add informational text in the header of a report.The
site_methodparameter provides more detailed info about how sites were specified in the web app, beyond whatsitetypeprovides, e.g., fromejamit()$sitetypeorejamitout$sitetypesitetype 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_methodfrom the reactive called submitted_upload_method() which is much like the one called current_upload_method().
See also
report_residents_within_xyz_from_ejamit() and report_residents_within_xyz()
for a newer approach to this.