LODES: Stata module to download and analyze U.S. Census LEHD LODES origin-destination employment statistics
Sisinnio Concas ()
Additional contact information
Sisinnio Concas: Center for Urban Transportation Research, University of South Florida
Statistical Software Components from Boston College Department of Economics
Abstract:
lodes downloads and processes the U.S. Census Bureau's Longitudinal Employer-Household Dynamics (LEHD) Origin-Destination Employment Statistics (LODES) data within Stata, replicating the analyses available through the Census Bureau's OnTheMap web tool (https://onthemap.ces.census.gov/). The command supports the three LODES dataset types -- OD (origin-destination), WAC (workplace area characteristics), and RAC (residence area characteristics) -- for any U.S. state and any year currently published in LODES8, including selection by job type, age cohort, earnings group, and industry sector. Three analysis subcommands mirror those of OnTheMap: destination analyzes where workers residing in (or working in) a given area commute to (or from); inflow_outflow reports counts of workers living and/or working in an area, broken into in-area and out-of-area; and area_profile summarizes the job composition of an area. Built-in U.S. Census geographies are supported (block group, tract, ZCTA, place, county, CBSA, state), as is any user-supplied custom polygon provided as an ESRI zipped shapefile. Downloaded data are returned as Stata frames and can optionally be saved as .dta, .xlsx, or frame-collection (.dtas) files.
Language: Stata
Requires: Stata version 16.1 and fframeappend, geoinpoly from SSC (q.v.)
Keywords: employer-household dynamics; commuting; spatial data; mapping (search for similar items in EconPapers)
Date: 2026-06-25
Note: This module should be installed from within Stata by typing "ssc install lodes". The module is made available under terms of the MIT license (https://opensource.org/licenses/MIT).
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/l/lodes.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/l/lodes.sthlp help file (text/plain)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s459769
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().