Skip to contents

Summary of whether residents at the analyzed locations are more likely to have certain types of features (schools) or special areas (Tribal, nonattainment, etc.)

Usage

ejam2barplot_areafeatures(
  ejamitout,
  main =
    "% of analyzed population that lives in blockgroups with given features or that overlap given area type",
  ylab = "Ratio of Indicator in Analyzed Locations / in US Overall",
  shortlabels = NULL
)

Arguments

ejamitout

output from ejamit()

main

optional title for plot

ylab

optional y axis label

shortlabels

optional alternative labels for the bars

caption

left blank to avoid default caption used in plot_barplot_ratios()

Value

ggplot2 plot

Details

See varinfo(c(names_featuresinarea, names_flag, names_criticalservice))[,c("longname", "varlist")]

These are the indicator summary stats shown:

  • 1, "Number of Schools"

  • 2, "Number of Hospitals"

  • 3, "Number of Worship Places"

  • 4, "Flag for Overlapping with Tribes"

  • 5, "Flag for Overlapping with Non-Attainment Areas"

  • 6, "Flag for Overlapping with Impaired Waters"

  • 7, "Flag for Overlapping with CJEST Disadvantaged Communities"

  • 8, "Flag for Overlapping with EPA IRA Disadvantaged Communities"

  • 9, "Flag for Overlapping with Housing Burden Communities"

  • 10, "Flag for Overlapping with Transportation Disadvantaged Communities"

  • 11, "Flag for Overlapping with Food Desert Areas"

  • 12, "% Households without Broadband Internet"

  • 13, "% Households without Health Insurance"

Examples

out <- testoutput_ejamit_1000pts_1miles
ejam2barplot_areafeatures(out)

shortlabels = EJAM:::flagged_areas_shortlabels_from_ejam(out)
ejam2barplot_areafeatures(out, shortlabels = shortlabels)