Skip to content

CalMatters/data-ca-green-card-adjustments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

data-ca-green-card-adjustments

Fact-check notebook for a CalMatters story on California lawful permanent resident (green card) adjustment of status data, verifying reporter analysis against DHS state-level data.

Published story: 5 things to know about the Trump administration’s new green card policy

Claims verified

All three claims are verified dynamically using assertion-backed code in fact_check.py:

  1. In 2023 (the most recent year with final DHS state-level data), 112,100 Californians received green cards through adjustment of status.
  2. That's more than any other state and nearly one in five (18.5%) of all U.S. adjustments (112,100 / 607,330).
  3. California has ranked first in the nation every year from 2013–2023.

Data source

Usage

uv needed to execute notebooks, install uv if not already available

# Interactive notebook
uv run marimo edit fact_check.py

# Read-only output
uv run marimo run fact_check.py

Data use

While the contents of this repo are shared under an Apache 2.0 license, CalMatters/The Markup would appreciate any credit or attribution you're willing to give. We're also interested to learn how you used it, so feel free to send us a message or open an issue if you do. If you have any questions, feel free to contact us as well.

CalMatters is a nonpartisan, nonprofit journalism venture committed to explaining how California’s state Capitol works and why it matters.

Contact and issues

If you have any questions or spot an issues with this analysis, please open an issue on GitHub or send us an email.

Note on AI-assisted work

We used Claude Code to assist with the prodcution of the README.md. The fact check and results were manually drafted and reviewed by a member of our team.

License

Code in this repository is licensed under the Apache License, Version 2.0; see LICENSE. Dependency licenses are managed by PyPI packages; see NOTICE.

About

Fact check analysis of green card adjustment data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages