theonaunheim / surgeo

Open Source Proxy Demographic module written in Python
MIT License
32 stars 16 forks source link

census tract of block group BISG? #11

Open mseflek opened 3 years ago

mseflek commented 3 years ago

Hey, thanks for putting this together! Any plans to modify this to work at the census block group or tract level? Thanks!

theonaunheim commented 3 years ago

Thanks for your inquiry, @mseflek .

Yes, this has been requested and is planned for the next release. I will take a look at the census data release to date and determine if the surname data is out yet. I will then provide an update no later than Jan 24.

theonaunheim commented 3 years ago

It looks like like as of today neither the 2020 surname files nor the 2020 geographic breakdowns are available. If I'm reading the webpage correctly it looks like these won't be available until at least end-of-February. Since the census block addition is going to get rolled into the 2020 data revamp, I think you're looking at a minimum of a month and a half before I can get this out the door.

Apologies for the inconvenience.

mseflek commented 3 years ago

No worries! thanks for providing an update!

theonaunheim commented 3 years ago

@mseflek , just FYI we've started to add census block support starting with v.1.1.1. Keeping this issue open because it doesn't have feature parity with the other models (e.g. GUI-related items)--this is still on the roadmap once the 2020 data hits.

mseflek commented 3 years ago

Fantastic, thank you!

likealostcause commented 5 months ago

Hi @theonaunheim, I'd like to be able to predict race based on Census Block by doing something like GeocodeModel(geo_level='BLOCK') and .get_probabilities_block(), but as far as I can tell that's not possible with the current GeocodeModel even in v. 1.1.1.

I'd be happy to contribute and build out this feature if it's possible to do from the 2010 Census data. Then we can update with 2020 data whenever that becomes available (sounds like September of this year based on the discussion over in this issue). Let me know what your protocols are for testing, PRs, etc. and if you've got an active roadmap somewhere I can view. Or if this is already in the works, would be happy to help finish it if needed.