-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CSV for "any parking reform" handles reform status (#686)
We've been realizing that the Reform Status is actually quite tricky and that the modeling was off for "any parking reform". We were including repealed and proposed policies inside "any parking reform"—despite the CSV/dataset not supporting "reform status"—which improperly suggested that some places that were only proposals or repeals actually did have parking reform. "Any parking reform" is tricky because it is place-specific rather than policy record-specific. We cannot put a "reform status" column in the "any parking reform" sheet because it wouldn't be clear which policy record the status corresponds to. Instead, the correct approach is to split out three CSVs: `overview-passed.csv`, `overview-proposed.csv`, and `overview-repealed.csv`.
- Loading branch information
1 parent
e5a6e9d
commit 10beec6
Showing
9 changed files
with
3,401 additions
and
3,332 deletions.
There are no files selected for viewing
This file contains 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
3 changes: 0 additions & 3 deletions
3
tests/scripts/generateDataSet.test.ts-snapshots/any-reform.csv
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
place,state,country,population,place_type,lat,long,all_minimums_repealed,status,reform_date,scope,land_uses,requirements,summary,num_citations,reporter,prn_url | ||
place,state,country,population,place_type,lat,long,all_minimums_removed,status,reform_date,scope,land_uses,requirements,summary,num_citations,reporter,prn_url | ||
My City,NY,US,24104,city,14.23,44.23,TRUE,passed,2022-02-13,citywide,commercial; other,by right,Maximums summary #1,2,Donald Shoup,https://parkingreform.org/my-city-details.html | ||
My City,NY,US,24104,city,14.23,44.23,TRUE,repealed,,regional,other,,Maximums summary #2,1,Donald Shoup,https://parkingreform.org/my-city-details.html |
2 changes: 2 additions & 0 deletions
2
tests/scripts/generateDataSet.test.ts-snapshots/overview-passed.csv
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
place,state,country,place_type,population,lat,long,all_minimums_removed,minimums_removal,minimums_reduction,maximums,prn_url | ||
My City,NY,US,city,24104,14.23,44.23,TRUE,FALSE,FALSE,TRUE,https://parkingreform.org/my-city-details.html |
2 changes: 2 additions & 0 deletions
2
tests/scripts/generateDataSet.test.ts-snapshots/overview-proposed.csv
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
place,state,country,place_type,population,lat,long,minimums_removal,minimums_reduction,maximums,prn_url | ||
Another Place,CA,US,county,414,24.23,80.3,TRUE,FALSE,FALSE,https://parkingreform.org/another-place.html |
2 changes: 2 additions & 0 deletions
2
tests/scripts/generateDataSet.test.ts-snapshots/overview-repealed.csv
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
place,state,country,place_type,population,lat,long,minimums_removal,minimums_reduction,maximums,prn_url | ||
My City,NY,US,city,24104,14.23,44.23,FALSE,FALSE,TRUE,https://parkingreform.org/my-city-details.html |