ONSdigital / SDG_11.2.1

Analysis for the UN Sustainable Development Goal 11.2.1
https://onsdigital.github.io/SDG_11.2.1/
Apache License 2.0
5 stars 7 forks source link

Restrict las to just england and wales #344

Closed nkshaw23 closed 1 year ago

nkshaw23 commented 1 year ago

Pull Request submission

Updated main so that only LA from england and wales are included in the process. Turns out this was already done for Scotland data, so kept the code pretty much the same for consistency.

Note: This branch was based off master (which hasnt had linted code (#337) merged in yet). So lines added are okay, but rest of the code isn't. Didn't seem worth linting everything when this has already been done.

Note2: cleaning_up_master branch has to be merged first as this contains code to correct the gitkeep issue which will stop the pipeline from starting

Closes or fixes

Fixes #343

Code

Documentation (N/A)

Any new code includes all the following forms of documentation:

Data (N/A)

Testing (N/A)


Peer Review Section

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.

jwestw commented 1 year ago

I will pull the code and run it for checking.

jwestw commented 1 year ago

Because the pop_year has changed my Whole Nation Pop file needs to be built.

I forgot about these messages so it was a surprise to see:

image

Nice to see it working well.

However it might be worth putting the .feather files on Sync, because it takes ages to (re)build from the population estimates Excel files.

jwestw commented 1 year ago

I hit a lot of problems along the way because I was missing data and the pop year had changed but I got the code to run now.