Skip to contents

Could start to use this in server and ejamit(), and already used in table_xls_format()

Usage

url_4table(
  lat,
  lon,
  radius = NULL,
  regid = NULL,
  fips,
  wherestr = "",
  namestr = NULL,
  shapefile = NULL,
  as_html = TRUE,
  ...
)

Arguments

lat

vector of latitudes

lon

vector of longitudes

radius

vector of values for radius in miles

regid

optional vector of FRS registry IDs if available to use to create links to detailed ECHO facility reports

fips

vector of FIPS codes if relevant, to use instead of lat lon, Passed to url_ejscreen_report() as areaid Note that nearly half of all county fips codes are impossible to distinguish from 5-digit zipcodes because the same numbers are used for both purposes.

wherestr

optional because inferred from fips if provided. Passed to url_ejscreenmap() and can be name of city, county, state like from fips2name(201090), or "new rochelle, ny" or "AK" or even a zip code, but NOT a fips code! (for FIPS, use the fips parameter instead). Note that nearly half of all county fips codes are impossible to distinguish from 5-digit zipcodes because the same numbers are used for both purposes.

namestr

passed to url_ejscreen_report()

shapefile

not implemented

as_html

logical, optional. passed to url_ejscreen_report() and url_ejscreenmap()

...

passed to url_ejscreen_report() such as areaid="0201090" for a city fips

Value

list of data.frames to append to the list of data.frames created by ejamit() or doaggregate(),

list(results_bysite = results_bysite, results_overall = results_overall, newcolnames=newcolnames)

Details

used in table_xls_format()