Closed james-westwood closed 1 year ago
@nkshaw23 I have created a draft PR to collect all the commits together and work from here. Might be best to keep comments about the work in the issue #334 though.
Tested for England, results viewed in QGIS. Everything looks good but would like to investigate a bit further.
@james-westwood outstanding task for this PR:
1) Build in the process for Scotland script. In an ideal world we would have these combined into one process, but we can look at this afterwards.
2) Once in scotland, can remove two functions from data_transform (add_stop_capacity_type
and filter_stops
)
3) Check for other functions that are no longer used
@nkshaw23 I think it would be best to split out the Scotland stuff into it's own ticket + PR.
@james-westwood This is now ready for review as we are splitting Scotland work into another ticket (#351 )
Closes #330 Closes #334 Closes #335
Pipeline works from start to finish now. Just two comments from me.
Because we cant join NAPTAN onto the train data, we couldnt use the existing capacity_type
function which relied on StopType
codes from NAPTAN. Hence, the high/low
capacity type has been added manually based on whether stop is bus, train or tram.
Further work on QA-ing outputs will be undertaken in #352
I will pull the code and run it today.
Pull Request submission
Insert detailed bullet points about your changes here!
Insert any instructions to help the reviewer, e.g. "install new requirements from
requirements.txt
"*Let the reviewer know what data files are needed (to be grabbed from sync)
Closes or fixes
Fixes #
Code
Documentation
Any new code includes all the following forms of documentation:
parameters
andreturns
for all major functionsData
Testing
Peer Review Section
requirements.txt
Final approval (post-review)
The author has responded to my review and made changes to my satisfaction.
Review comments
Insert detailed comments here!
These might include, but not exclusively:
Your suggestions should be tailored to the code that you are reviewing. Be critical and clear, but not mean. Ask questions and set actions.