Get URL(s) for EJScreen map centered at given point(s)
Source:R/URL_FUNCTIONS_part1.R
url_ejscreenmap.Rd
Get URL(s) for EJScreen map centered at given point(s)
Arguments
- lon
one or more longitudes
- lat
one or more latitudes
- as_html
Whether to return as just the urls or as html hyperlinks to use in a DT::datatable() for example
- linktext
used as text for hyperlinks, if supplied and as_html=TRUE
- wherestr
Name of place to center on (not FIPS code!). 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.
For zipcode 10001, use url_ejscreenmap(wherestr = '10001')
For County FIPS code 10001, use url_ejscreenmap(wherestr = fips2name('10001'))
This parameter is passed to the API as wherestr= , if lat/lon not specified. Can be State abbrev like "NY" or full state name, or city like "New Rochelle, NY" as from fips2name() – using fips2name() works for state, county, or city FIPS code converted to name. Also wherestr can be street address or zipcode. Not sure that part of the EJScreen URL-encoded map request is documented.
- shapefile
not implemented