Thanks to visit codestin.com
Credit goes to lib.rs

#dataset #census #mobility #aggregator #behavior

bin+lib bamcensus

The Behavior and Advanced Mobility Census Dataset Aggregator

1 unstable release

0.1.0 Aug 19, 2025

#432 in Geospatial

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

52 downloads per month
Used in 3 crates

BSD-3-Clause

29KB
554 lines

Bamcensus

Executables that pull together the bamcensus crates. Can be used:

  1. as a command line application (CLI) - see installation below
  2. programmatically from Rust code -

Installation

Build these command line applications using Cargo (for example, via rustup):

$ cargo build -r

Usage

acs_tiger_app

This binary queries ACS data and joins it with TIGER/Line geometries for specified GEOIDs.

Arguments:

  • --geoids (required): Comma-separated list of GEOIDs.
  • --output-resolution: Geospatial resolution for output (e.g., tract, county).
  • --year (required): Year of ACS/TIGER data.
  • --acs-query (required): Comma-separated ACS columns to retrieve.
  • --acs-type (required): One or five year estimates.
  • --acs-token: Optional API token for the ACS API.
  • --output-file: Output file path (default: auto-generated).

Example:

./target/release/acs_tiger_app --geoids=08031,08059 --year=2020 --acs-query=NAME,B01001_001E --acs-type=five-year --output-resolution=census-tract --output-file=output.csv

lodes_tiger_app

This binary queries LODES data and joins it with TIGER/Line geometries.

Subcommands:

  • wac: Workplace Area Characteristics (WAC) data.

WAC Arguments:

  • --geoids: Comma-separated list of GEOIDs (optional, defaults to all states).
  • --output-resolution: Geospatial wildcard (e.g., county).
  • --year (required): Year of LODES data.
  • --wac-segments (required): Comma-separated WAC segments.
  • --edition: LODES edition (optional).
  • --segment: Workforce segment (optional).
  • --jobtype: Job type (optional).

Example:

./target/release/lodes_tiger_app wac --geoids=08031 --year=2020 --output-resolution=census-tract

Dependencies

~28–47MB
~684K SLoC