Closed attesn closed 3 years ago
This is still work in progress, but it might be good to do check that overall development is in line with other Pull Requests.
@atte-wsp I left a couple more review comments now that I also reviewed the plotting functions. They are not all mandatory if your time is running low, just do what you can! 😄
Thanks for comments @johpiip ! Good that you said about breaking Pull Request into smaller pieces, I didn't think about that when creating this. Probably should have put at least plot scripts to separate PR.
I'll remember this next time and further commits into new branches. Although, I'll update above comments here.
- In the future, please break your changelist into smaller pieces - reviewing 2200 lines of code in one PR is super difficult! 😄 For example, if this PR already works, we could merge this and you could do new branches for updates? (Edit: or another idea: you could do new branches and create pull requests to this branch instead of
main
. That way nothing goes tomain
before everything is "ready" but I do not need to review this whole PR again and again.) What do you think?
Maybe I would prefer the first option. That would make it easier to see if for example basemaps could be integrated to plotting used here.
Yep, ready for review!
This PR contains calculations from MAL 2023 distributional impacts project. Scripts use Helmet-agent model results, combine data from different scenarios and visualize results. Currently interaction with Helmet agent model is done so that model prints out data for each agent and aggregations are done here.
Running scripts
Scripts are run from
run.R
. Some packages (sf, tidyverse, here, config) are added torenv
lockfile.Example of Helmet-results data (
agents.txt
) is stored in HSL Sharepoint folder (Saavutettavuuden jakautuminen). Data-folder should includehelmet_zones.shp
andhelmet_zones_map.shp
, which is used for map results. These files are found in HSL Sharepoint project folder.Structural issues