Skip to contents

This dataset, `dc_poly`, is an `sf` object containing population and median household income information for census tracts in Washington, D.C., based on the 2020 American Community Survey (ACS). It also includes spatial polygon geometries, allowing the data to be used directly for mapping and spatial analysis, such as creating choropleth maps of demographic and socioeconomic indicators.

Usage

data(dc_poly)

Format

An `sf` data frame with 206 observations and 5 variables:

GEOID

Unique identifier for the census tract (character)

NAME

Census tract name and jurisdiction (character)

geometry

Polygon geometry representing the tract boundaries (`sfc_POLYGON`)

B01003_001

Total population of the tract (numeric)

B19013_001

Median household income of the tract (numeric, in USD)

Source

Data taken from the bivariateLeaflet package version 0.1.0

Details

The dataset consists of 206 observations (census tracts) and 5 variables. The geometry column contains polygon boundaries for each tract.

The dataset name has been kept as `dc_poly` to avoid confusion with other datasets in the R ecosystem. This naming convention helps distinguish this dataset as part of the `lightsf` package and assists users in identifying its specific characteristics. The original content has not been modified in any way.