Precise code behind my CD religion and urbanization data that I use in my models. I calculated this for 118th congress districts (as of January 22nd 2023) but if there's any update to the maps, I'll come back and edit the CSVs.
County split data for 118th congress districts is courtesy of Daily Kos Elections/David Jarman and religion data for the 2020s is courtesy of the 2020 U.S. Religion Census. Urbanization data is from the HUD's 2017 American Housing Survey.