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

374 scotland output bug #384

Closed nkshaw23 closed 1 year ago

nkshaw23 commented 1 year ago

Pull Request submission

A quick and dirty fix. When we undertake #381 I will properly check and remove all unneeded columns as per #380.

Duplicate easting and northing columns dropped when we undertake intersect between pwc and stops buffer. Reverted function back to original find_points_in_poly like eng, wales and NI use.

Removed points_in_polygon function as non longer used.

Tested on Fife and matches figures in QGIS (#352)

I have loads of linting errors but have left as wondering whether they are corrected in #369.

Closes #374


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.

james-westwood commented 1 year ago

I certainly did a lot of linting in #331 for #369. But I am not sure I covered all files. Going back to check that now.