This project explores long‑term trends in the foreign‑born population across the United States. I built a Python package and companion app to make these patterns easy to analyze for any location.

I became interested in how President Trump’s immigration policies might affect the size of the foreign‑born population in the United States. To explore this question, I created a Python package called acs‑nativity that provides a simple interface for accessing and graphing nativity data from the American Community Survey (ACS).

After publishing the package, I built a companion app that lets users explore foreign‑born population trends for any location in the United States. The app supports the nation as a whole, all states, and counties and cities with populations of at least 65,000.

Together, these tools make it easy to analyze how the foreign‑born population has changed over time — and to track how those trends evolve as the Trump administration’s immigration enforcement efforts unfold.

Related blog posts:

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.

I have also created several open source projects.