Draft
Conversation
fvankrieken
reviewed
Feb 24, 2026
| TL33,police_sector,Police Sector,4,91,94,RJSF,FALSE | ||
| TL34,census_tract_2010_basic,2010 Census Tract Basic,4,95,98,RJSF,FALSE | ||
| TL34_1,census_tract_2010_suffix,2010 Census Tract Suffix,2,99,100,RJZF,TRUE | ||
| TL35,census_block_2010,2010 Census Block,4,101,104,RJZF,FALSE |
Contributor
There was a problem hiding this comment.
Not that it'd be too crazy to do again, but there was some special formatting stuff around census blocks I believe in LION already, so if something along those lines is needed for THINLION definitely check out existing code
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
b10f8e5 to
ac265ea
Compare
Open
1877b7a to
d130936
Compare
- Added text_formatting__thinlion_dat.csv with 40 field specifications - Field numbers use TL1-TL40 format from spec - Mapped justify_and_fill from format field (RJZF default if blank) - Set blank_if_none=TRUE for fields with 'blank if none/empty' format - Includes position, length, and label for each field Closes data-engineering-vwb.3
- Add 5 missing FGDB layers to recipe.yml (CensusTract2010, CensusTract2020, HealthArea, NYPDPrecinct, NYPDPatrolBorough) - Create staging models for new layers - Update stg__atomicpolygons with ThinLION-required fields (fire company, sanborn, water flag, etc) - Implement thinlion_by_field.sql with census/health/NYPD joins and spatial lookups - Create 5 borough-specific export files (Manhattan, Bronx, Brooklyn, Queens, Staten Island) - Add _thinlion.yml with column tests Closes de-lju.1, de-lju.2, de-lju.3, de-lju.4, de-lju.5, de-lju.6
- Create borough-specific _by_field models (manhattan, bronx, brooklyn, queens, statenisland) - Update export models to reference borough-specific models instead of using unsupported 'where' parameter - Add 5 new sources to sources.yml (censustract2010, censustract2020, healtharea, nypdprecinct, nypdpatrolborough) - Update _thinlion.yml to include new borough-specific models Fixes de-hlf
Quote field labels containing commas (Sanborn fields 'if any' labels). This fixes 'Row 19 has 9 values, but Table only has 8 columns' error. Fixes de-713
Add underscores to census/block column aliases to match seed field names: - censustract_XXXX -> census_tract_XXXX - censusblock_XXXX -> census_block_XXXX This allows apply_text_formatting_from_seed macro to find the columns. Fixes de-k9n
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Research
In 26a, these atomic polys have an interesting type

atomicid's
--2020501318
--2020501317