Closed cliftonmcintosh closed 7 years ago
Hi @cliftonmcintosh I'd love to help out with this, do you have any guidelines on ui? Is there another pull request that made a similar change I could use as reference?
@crispg72
https://github.com/Code4Nepal/nepalmap_app/pull/31 is an example of a statistic that is similar. It is a demographic statistic by sex.
https://github.com/Code4Nepal/nepalmap_app/pull/17 is another similar PR.
Generally speaking, here are the steps we take to get the data into www.nepalmap.org
The mappings from district name to geo_code
can be found here. ("01" is the code for Taplejung.) The maptools project has samples of scripts that have been used to transform data.
Thanks for the detailed instructions @cliftonmcintosh so the output csv should look something like this before converting to SQL to populate the table?
What do you do for the national totals when there aren't any in the source file should they just be summed from the district totals?
@crispg72
Yes, we sum up the district totals to get a national total.
@crispg72
Thank you very much for your work on this issue.
@ravinepal
I should be able to update NepalMap on Sunday evening to include the new data that @crispg72 has added.
You're welcome, it was a pleasure @cliftonmcintosh
Initially I had a few issues on Ubuntu since I was trying on 17.04 but once I switched to 16.04 it was ok; I wouldn't mind submitting a PR to update your README.md if that would be useful?
I also have a bit of time to update some more data if you could point me in the right direction? I'm quite new to django and found it a useful learning exercise.
@crispg72
An update to the readme would be useful and welcome.
We would certainly welcome more contributions. One data set that @ravinepal has prioritized is data on damages from flooding this year: https://github.com/Code4Nepal/nepalmap_app/issues/186
There is a Google Doc with the statistics referenced.
Some things to note about this data set:
@crispg72
https://www.nepalmap.org has been updated to include your work on citizenship and flood deaths. Thank you for your contributions.
Open Nepal has created a CSV based on the census data for population by citizenship. Use this CSV to display that demographic information by district in NepalMap.