EJAM/EJSCREEN comparisons - Summarize explanations for discrepancies in pop Summarize output of ejscreen_vs_explain()
Source:R/ejscreen_vs_ejam_.R
ejscreen_vs_explain_summary.Rd
EJAM/EJSCREEN comparisons - Summarize explanations for discrepancies in pop Summarize output of ejscreen_vs_explain()
Usage
ejscreen_vs_explain_summary(
whyall,
radius = "analyzed radius",
showmeters = TRUE,
showpop = FALSE
)
Arguments
- whyall
Output from
ejscreen_vs_explain()
- radius
optional radius in miles, for labels on plot and table
- showmeters
set FALSE to hide CDF plot and stats table on quantiles of meters (note it creates more than 1 plot so click on the back arrow of the plots pane to see the rest)
- showpop
set FALSE to hide CDF plot on quantiles of pop counts
Examples
vs10 <- ejscreen_vs_ejam(testpoints_10, radius = 3, save_ejscreen_output = F, save_when_report = F, calculate_ratios = F)
#>
#> Starting ejscreenapi_plus()...
#> Error in curl::curl_fetch_memory(url, handle = handle) :
#> Couldn't resolve host name [ejscreen.epa.gov]: Could not resolve host: ejscreen.epa.gov
#> Warning: API GET request failed -- server may be unavailable or query was invalid, returning results of try(httr::GET()) which provides error message info
#> Warning: API not accessible or failed
#> Error in curl::curl_fetch_memory(url, handle = handle) :
#> Couldn't resolve host name [ejscreen.epa.gov]: Could not resolve host: ejscreen.epa.gov
#> Warning: API GET request failed -- server may be unavailable or query was invalid, returning results of try(httr::GET()) which provides error message info
#> Warning: API not accessible or failed
#> Error in curl::curl_fetch_memory(url, handle = handle) :
#> Couldn't resolve host name [ejscreen.epa.gov]: Could not resolve host: ejscreen.epa.gov
#> Warning: API GET request failed -- server may be unavailable or query was invalid, returning results of try(httr::GET()) which provides error message info
#> Warning: API not accessible or failed
#> Error in curl::curl_fetch_memory(url, handle = handle) :
#> Couldn't resolve host name [ejscreen.epa.gov]: Could not resolve host: ejscreen.epa.gov
#> Warning: API GET request failed -- server may be unavailable or query was invalid, returning results of try(httr::GET()) which provides error message info
#> Warning: API not accessible or failed
#> Error in curl::curl_fetch_memory(url, handle = handle) :
#> Couldn't resolve host name [ejscreen.epa.gov]: Could not resolve host: ejscreen.epa.gov
#> Warning: API GET request failed -- server may be unavailable or query was invalid, returning results of try(httr::GET()) which provides error message info
#> Warning: API not accessible or failed
#> Error in curl::curl_fetch_memory(url, handle = handle) :
#> Couldn't resolve host name [ejscreen.epa.gov]: Could not resolve host: ejscreen.epa.gov
#> Warning: API GET request failed -- server may be unavailable or query was invalid, returning results of try(httr::GET()) which provides error message info
#> Warning: API not accessible or failed
#> Error in curl::curl_fetch_memory(url, handle = handle) :
#> Couldn't resolve host name [ejscreen.epa.gov]: Could not resolve host: ejscreen.epa.gov
#> Warning: API GET request failed -- server may be unavailable or query was invalid, returning results of try(httr::GET()) which provides error message info
#> Warning: API not accessible or failed
#> Error in curl::curl_fetch_memory(url, handle = handle) :
#> Couldn't resolve host name [ejscreen.epa.gov]: Could not resolve host: ejscreen.epa.gov
#> Warning: API GET request failed -- server may be unavailable or query was invalid, returning results of try(httr::GET()) which provides error message info
#> Warning: API not accessible or failed
#> Error in curl::curl_fetch_memory(url, handle = handle) :
#> Couldn't resolve host name [ejscreen.epa.gov]: Could not resolve host: ejscreen.epa.gov
#> Warning: API GET request failed -- server may be unavailable or query was invalid, returning results of try(httr::GET()) which provides error message info
#> Warning: API not accessible or failed
#> Error in curl::curl_fetch_memory(url, handle = handle) :
#> Couldn't resolve host name [ejscreen.epa.gov]: Could not resolve host: ejscreen.epa.gov
#> Warning: API GET request failed -- server may be unavailable or query was invalid, returning results of try(httr::GET()) which provides error message info
#> Warning: API not accessible or failed
#> Warning: Results were unavailable for 10 out of these 10 sites.
#> Warning: lat or lon or radius contain NA value(s)
#> Warning: radius is missing but needed when lat/lon specified
#> Error in strsplit(URL, ""): non-character argument
why10 <- ejscreen_vs_explain(vs10, ejam_uniq_id = 1:10, pause_on_each_site = F)
#> Error: object 'vs10' not found
#> Warning: object 'blockid2fips' not found
#> Warning: object 'blockpoints' not found
#> Warning: object 'blockwts' not found
#> Error in ejscreen_vs_explain(vs10, ejam_uniq_id = 1:10, pause_on_each_site = F): object 'x' not found
whysum <- ejscreen_vs_explain_summary(why10, radius = 3)
#> Error in ejscreen_vs_explain_summary(why10, radius = 3): could not find function "ejscreen_vs_explain_summary"