A python module for analyzing trends in Census data. It started out for personal use, and was contributed to the censusdis package in March 2025.

The American Community Survey (ACS) is the largest household survey in the United States and is widely used to study demographic statistics. When I began using it to analyze demographic changes over time, however, I ran into two problems:

  1. The Census API only lets you download one year of data at a time.
  2. Sometimes variables change meaning over time.

I developed a Python module called multiyear that addresses these issues. The module started out for personal use, and in March 2025 I contributed it to the censusdis package. Censusdis is a popular package for working with the Census API, and is downloaded around 5k times a month from PyPI.

You can learn more about the multiyear module here:

Ari Lamstein

Ari Lamstein

I’m a software engineer who focuses on data projects.

I most recently worked as a Staff Data Science Engineer at a marketing analytics consultancy. While there I developed internal tools for our data scientists, ran workshops on data science and mentored data scientists on software engineering.