EJfunction | R Documentation |
Primary function that performs EJ/demographic screening.
EJfunction(LOI_data, data_year = NULL, buffer = NULL, raster = T, state = NULL)
LOI_data |
Required. Location of interest. Location data must be an SF object to undergo screening analysis. |
data_year |
Option for which EJSCREEN (and corresponding ACS) data vintage to return. Default is 2023. |
buffer |
Distance(s) used to create buffers (miles). Default is 1, 3, and 5 miles for points/linestrings and 0 miles for polygons. |
raster |
Block or raster apportioning for buffer? Default is T. If set to false, uses EJSCREEN's block approach. |
state |
User can restrict screening to particular states. Default is to screen for entire US. |
A list containing 2 sublists: (1) a LOI-buffer-level screening summary, and (2) a CBG-level screening summary for all block groups within affected communities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.