Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reverting census parser output csv header
--- (.venv) MP-LF4T2CC2CX:main/pyhmda tignort$ diff CensusFlatFile2024-parsed.txt CensusFlatFile2024-parsed.txt.BEFORE 1c1 < Collection Year|MSA/MD|State|County|Census Tract|FFIEC Median Family Income|Population|Minority Population %|Number of Owner Occupied Units|Number of 1 to 4 Family Units|Tract MFI|Tract to MSA Income %|Median Age|Small County|MSA/MD Name --- > CollectionYear|CBSACode|FIPSStateCode|FIPSCountyCode|CensusTract|FFIECMedianFamilyIncome|Population|MinorityPopulationPct|NumOwnerOccupiedUnits|Num1To4FamilyUnits|TractMFI|TractToMSAIncomePct|MedianAge|SmallCounty|MSAOrMDTitle (.venv) MP-LF4T2CC2CX:main/pyhmda tignort$ (.venv) MP-LF4T2CC2CX:main/pyhmda tignort$ head -1 CensusFlatFile2024-parsed.txt > reverted-header.txt (.venv) MP-LF4T2CC2CX:main/pyhmda tignort$ cat reverted-header.txt Collection Year|MSA/MD|State|County|Census Tract|FFIEC Median Family Income|Population|Minority Population %|Number of Owner Occupied Units|Number of 1 to 4 Family Units|Tract MFI|Tract to MSA Income %|Median Age|Small County|MSA/MD Name (.venv) MP-LF4T2CC2CX:main/pyhmda tignort$ cat expected.txt Collection Year|MSA/MD|State|County|Census Tract|FFIEC Median Family Income|Population|Minority Population %|Number of Owner Occupied Units|Number of 1 to 4 Family Units|Tract MFI|Tract to MSA Income %|Median Age|Small County|MSA/MD Name (.venv) MP-LF4T2CC2CX:main/pyhmda tignort$ diff reverted-header.txt expected.txt (.venv) MP-LF4T2CC2CX:main/pyhmda tignort$
- Loading branch information