acs-nativity: A Python Package for Analyzing Changes in the Foreign-Born Population
President Trump has made reducing illegal immigration and increasing deportations central goals of his second administration (1, 2). This is causing many people to ask: how are these policies chang...

Source: Ari Lamstein
President Trump has made reducing illegal immigration and increasing deportations central goals of his second administration (1, 2). This is causing many people to ask: how are these policies changing the country’s population? To help answer that, I built a new open-source Python package called acs-nativity. It provides a simple interface for accessing and visualizing data on the size of the native-born and foreign-born populations. The data comes from American Community Survey (ACS) 1-year estimates and is available from 2005 onward. The package supports multiple geographies: nationwide, all states, all metropolitan statistical areas (MSAs), and all counties and places (i.e., towns or cities) with populations of 65,000 or more. Because it pulls data directly from the Census API, the package will automatically work with the 2025 ACS estimates as soon as they’re released in July. That release will cover the first year of Trump’s second administration, making it possibl