| Title: | Access the EPA Walkability Index |
|---|---|
| Description: | Provides helpers for querying the EPA Walkability Index <https://www.epa.gov/smartgrowth/national-walkability-index-user-guide-and-methodology> and working with Census GEOID/FIPS identifiers <https://www.census.gov/programs-surveys/geography/guidance/geo-identifiers.html>. |
| Authors: | John Muschelli [aut, cre] (ORCID: <https://orcid.org/0000-0001-6469-1750>) |
| Maintainer: | John Muschelli <[email protected]> |
| License: | GPL-3 |
| Version: | 0.1.0 |
| Built: | 2026-10-08 09:18:34 UTC |
| Source: | https://github.com/jhuwit/actiwalkability |
Get EPA Walkability Index
acti_epa_walkability(geoid, geometry = TRUE, ...)acti_epa_walkability(geoid, geometry = TRUE, ...)
geoid |
GEOID10 of the area of interest. This should be a 12 character
string. If |
geometry |
Should geometry be returned? Passed to
|
... |
Additional arguments to pass to |
A data.frame of results.
See https://geodata.epa.gov/arcgis/rest/services/OA/WalkabilityIndex/MapServer/0
acti_epa_walkability(c("240054519002", "240054026041", "245102303002"), geometry = FALSE)acti_epa_walkability(c("240054519002", "240054026041", "245102303002"), geometry = FALSE)
Opens the EPA Walkability Index ArcGIS layer and returns its metadata. This
includes the available fields, layer extent, geometry type, and service
limits such as maxRecordCount.
acti_epa_walkability_metadata()acti_epa_walkability_metadata()
A FeatureLayer object, which is a list containing the ArcGIS layer
metadata.
See https://geodata.epa.gov/arcgis/rest/services/OA/WalkabilityIndex/MapServer/0
## Not run: metadata <- acti_epa_walkability_metadata() metadata$fields ## End(Not run)## Not run: metadata <- acti_epa_walkability_metadata() metadata$fields ## End(Not run)
Get Census Tract FIPS codes
acti_fips15(state, county, tract, block = NA) acti_fips12(state, county, tract, block = NA)acti_fips15(state, county, tract, block = NA) acti_fips12(state, county, tract, block = NA)
state |
2-digit state FIPS code. |
county |
3-digit county FIPS code. |
tract |
6-digit tract FIPS code. |
block |
4-digit block FIPS code. If omitted or |
An 11-to-15 digit GEOID/FIPS code.
suppressWarnings(acti_fips15(24, 510, 60400)) acti_fips15(24, 510, 60400, block = 2002) acti_fips12(24, 510, 60400, block = 2002)suppressWarnings(acti_fips15(24, 510, 60400)) acti_fips15(24, 510, 60400, block = 2002) acti_fips12(24, 510, 60400, block = 2002)