Permalink
Browse files

adding the data csv files

  • Loading branch information...
1 parent 2cfd385 commit 3727bb3f98af3c33b4d332c29465e50c5641526f @madewulf committed Sep 27, 2012
View
14,152 2010/UN_POP/UN_POP_FEMALE/ESTIMATES-Table 1.csv
14,152 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
39 2010/UN_POP/UN_POP_FEMALE/NOTES-Table 1.csv
@@ -0,0 +1,39 @@
+Notes
+"* Countries or areas listed individually are only those with 100,000 inhabitants or more in 2010; the rest are included in the regional groups but are not listed separately."
+(a) More developed regions comprise Europe, Northern America, Australia/New Zealand and Japan.
+(b) Less developed regions comprise all regions of Africa, Asia (excluding Japan), Latin America and the Caribbean plus Melanesia, Micronesia and Polynesia.
+(c) The least developed countries are 48 countries, 33 in Africa, 9 in Asia, 5 in Oceania plus one in Latin America and the Caribbean.
+(d) Other less developed countries comprise the less developed regions excluding the least developed countries.
+(e) Sub-Saharan Africa refers to all of Africa except Northern Africa, with the Sudan included in sub-Saharan Africa.
+(1) Including Seychelles.
+(2) Including Agalega, Rodrigues, and Saint Brandon.
+(3) Including Zanzibar.
+(4) Including Southern Sudan which voted in favor of independence, but was not an official UN Member State as of May 2011.
+(5) Including Saint Helena, Ascension, and Tristan da Cunha.
+(6) For statistical purposes, the data for China do not include Hong Kong and Macao, Special Administrative Regions (SAR) of China.
+(7) As of 1 July 1997, Hong Kong became a Special Administrative Region (SAR) of China.
+(8) As of 20 December 1999, Macao became a Special Administrative Region (SAR) of China.
+(9) The regions Southern Asia and Central Asia are combined into South-Central Asia.
+(10) Including Sabah and Sarawak.
+(11) Including Nagorno-Karabakh.
+(12) Including Northern-Cyprus.
+(13) Including Abkhazia and South Ossetia.
+(14) Including East Jerusalem.
+(15) Including Transnistria.
+(16) Including Faeroe Islands, and Isle of Man.
+(17) Refers to Guernsey, and Jersey.
+(18) Including Åland Islands.
+(19) Including Svalbard and Jan Mayen Islands.
+(20) Including Andorra, Gibraltar, Holy See, and San Marino.
+(21) Including Kosovo.
+(22) Including Canary Islands, Ceuta and Melilla.
+(23) The former Yugoslav Republic of Macedonia.
+(24) Including Liechtenstein, and Monaco.
+(25) Including Anguilla, Antigua and Barbuda, British Virgin Islands, Cayman Islands, Dominica, Montserrat, Saint Kitts and Nevis, and Turks and Caicos Islands.
+(26) Including Saint-Barthélemy and Saint-Martin (French part).
+(27) Refers to Curaçao, Sint Maarten (Dutch part), Bonaire, Saba and Sint Eustatius.
+(28) Including Falkland Islands (Malvinas).
+(29) Including Bermuda, Greenland, and Saint Pierre and Miquelon.
+(30) Including Christmas Island, Cocos (Keeling) Islands, and Norfolk Island.
+(31) Including Kiribati, Marshall Islands, Nauru, Northern Mariana Islands, and Palau.
+(32) Including American Samoa, Cook Islands, Niue, Pitcairn, Tokelau, Tuvalu, and Wallis and Futuna Islands.
View
20,880 2010/UN_POP/UN_POP_FEMALE_PREV/MEDIUM-Table 1.csv
20,880 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
39 2010/UN_POP/UN_POP_FEMALE_PREV/NOTES-Table 1.csv
@@ -0,0 +1,39 @@
+Notes
+"* Countries or areas listed individually are only those with 100,000 inhabitants or more in 2010; the rest are included in the regional groups but are not listed separately."
+(a) More developed regions comprise Europe, Northern America, Australia/New Zealand and Japan.
+(b) Less developed regions comprise all regions of Africa, Asia (excluding Japan), Latin America and the Caribbean plus Melanesia, Micronesia and Polynesia.
+(c) The least developed countries are 48 countries, 33 in Africa, 9 in Asia, 5 in Oceania plus one in Latin America and the Caribbean.
+(d) Other less developed countries comprise the less developed regions excluding the least developed countries.
+(e) Sub-Saharan Africa refers to all of Africa except Northern Africa, with the Sudan included in sub-Saharan Africa.
+(1) Including Seychelles.
+(2) Including Agalega, Rodrigues, and Saint Brandon.
+(3) Including Zanzibar.
+(4) Including Southern Sudan which voted in favor of independence, but was not an official UN Member State as of May 2011.
+(5) Including Saint Helena, Ascension, and Tristan da Cunha.
+(6) For statistical purposes, the data for China do not include Hong Kong and Macao, Special Administrative Regions (SAR) of China.
+(7) As of 1 July 1997, Hong Kong became a Special Administrative Region (SAR) of China.
+(8) As of 20 December 1999, Macao became a Special Administrative Region (SAR) of China.
+(9) The regions Southern Asia and Central Asia are combined into South-Central Asia.
+(10) Including Sabah and Sarawak.
+(11) Including Nagorno-Karabakh.
+(12) Including Northern-Cyprus.
+(13) Including Abkhazia and South Ossetia.
+(14) Including East Jerusalem.
+(15) Including Transnistria.
+(16) Including Faeroe Islands, and Isle of Man.
+(17) Refers to Guernsey, and Jersey.
+(18) Including Åland Islands.
+(19) Including Svalbard and Jan Mayen Islands.
+(20) Including Andorra, Gibraltar, Holy See, and San Marino.
+(21) Including Kosovo.
+(22) Including Canary Islands, Ceuta and Melilla.
+(23) The former Yugoslav Republic of Macedonia.
+(24) Including Liechtenstein, and Monaco.
+(25) Including Anguilla, Antigua and Barbuda, British Virgin Islands, Cayman Islands, Dominica, Montserrat, Saint Kitts and Nevis, and Turks and Caicos Islands.
+(26) Including Saint-Barthélemy and Saint-Martin (French part).
+(27) Refers to Curaçao, Sint Maarten (Dutch part), Bonaire, Saba and Sint Eustatius.
+(28) Including Falkland Islands (Malvinas).
+(29) Including Bermuda, Greenland, and Saint Pierre and Miquelon.
+(30) Including Christmas Island, Cocos (Keeling) Islands, and Norfolk Island.
+(31) Including Kiribati, Marshall Islands, Nauru, Northern Mariana Islands, and Palau.
+(32) Including American Samoa, Cook Islands, Niue, Pitcairn, Tokelau, Tuvalu, and Wallis and Futuna Islands.
View
14,152 2010/UN_POP/UN_POP_MALE/ESTIMATES-Table 1.csv
14,152 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
39 2010/UN_POP/UN_POP_MALE/NOTES-Table 1.csv
@@ -0,0 +1,39 @@
+Notes
+"* Countries or areas listed individually are only those with 100,000 inhabitants or more in 2010; the rest are included in the regional groups but are not listed separately."
+(a) More developed regions comprise Europe, Northern America, Australia/New Zealand and Japan.
+(b) Less developed regions comprise all regions of Africa, Asia (excluding Japan), Latin America and the Caribbean plus Melanesia, Micronesia and Polynesia.
+(c) The least developed countries are 48 countries, 33 in Africa, 9 in Asia, 5 in Oceania plus one in Latin America and the Caribbean.
+(d) Other less developed countries comprise the less developed regions excluding the least developed countries.
+(e) Sub-Saharan Africa refers to all of Africa except Northern Africa, with the Sudan included in sub-Saharan Africa.
+(1) Including Seychelles.
+(2) Including Agalega, Rodrigues, and Saint Brandon.
+(3) Including Zanzibar.
+(4) Including Southern Sudan which voted in favor of independence, but was not an official UN Member State as of May 2011.
+(5) Including Saint Helena, Ascension, and Tristan da Cunha.
+(6) For statistical purposes, the data for China do not include Hong Kong and Macao, Special Administrative Regions (SAR) of China.
+(7) As of 1 July 1997, Hong Kong became a Special Administrative Region (SAR) of China.
+(8) As of 20 December 1999, Macao became a Special Administrative Region (SAR) of China.
+(9) The regions Southern Asia and Central Asia are combined into South-Central Asia.
+(10) Including Sabah and Sarawak.
+(11) Including Nagorno-Karabakh.
+(12) Including Northern-Cyprus.
+(13) Including Abkhazia and South Ossetia.
+(14) Including East Jerusalem.
+(15) Including Transnistria.
+(16) Including Faeroe Islands, and Isle of Man.
+(17) Refers to Guernsey, and Jersey.
+(18) Including Åland Islands.
+(19) Including Svalbard and Jan Mayen Islands.
+(20) Including Andorra, Gibraltar, Holy See, and San Marino.
+(21) Including Kosovo.
+(22) Including Canary Islands, Ceuta and Melilla.
+(23) The former Yugoslav Republic of Macedonia.
+(24) Including Liechtenstein, and Monaco.
+(25) Including Anguilla, Antigua and Barbuda, British Virgin Islands, Cayman Islands, Dominica, Montserrat, Saint Kitts and Nevis, and Turks and Caicos Islands.
+(26) Including Saint-Barthélemy and Saint-Martin (French part).
+(27) Refers to Curaçao, Sint Maarten (Dutch part), Bonaire, Saba and Sint Eustatius.
+(28) Including Falkland Islands (Malvinas).
+(29) Including Bermuda, Greenland, and Saint Pierre and Miquelon.
+(30) Including Christmas Island, Cocos (Keeling) Islands, and Norfolk Island.
+(31) Including Kiribati, Marshall Islands, Nauru, Northern Mariana Islands, and Palau.
+(32) Including American Samoa, Cook Islands, Niue, Pitcairn, Tokelau, Tuvalu, and Wallis and Futuna Islands.
View
20,880 2010/UN_POP/UN_POP_MALE_PREV/MEDIUM-Table 1.csv
20,880 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
39 2010/UN_POP/UN_POP_MALE_PREV/NOTES-Table 1.csv
@@ -0,0 +1,39 @@
+Notes
+"* Countries or areas listed individually are only those with 100,000 inhabitants or more in 2010; the rest are included in the regional groups but are not listed separately."
+(a) More developed regions comprise Europe, Northern America, Australia/New Zealand and Japan.
+(b) Less developed regions comprise all regions of Africa, Asia (excluding Japan), Latin America and the Caribbean plus Melanesia, Micronesia and Polynesia.
+(c) The least developed countries are 48 countries, 33 in Africa, 9 in Asia, 5 in Oceania plus one in Latin America and the Caribbean.
+(d) Other less developed countries comprise the less developed regions excluding the least developed countries.
+(e) Sub-Saharan Africa refers to all of Africa except Northern Africa, with the Sudan included in sub-Saharan Africa.
+(1) Including Seychelles.
+(2) Including Agalega, Rodrigues, and Saint Brandon.
+(3) Including Zanzibar.
+(4) Including Southern Sudan which voted in favor of independence, but was not an official UN Member State as of May 2011.
+(5) Including Saint Helena, Ascension, and Tristan da Cunha.
+(6) For statistical purposes, the data for China do not include Hong Kong and Macao, Special Administrative Regions (SAR) of China.
+(7) As of 1 July 1997, Hong Kong became a Special Administrative Region (SAR) of China.
+(8) As of 20 December 1999, Macao became a Special Administrative Region (SAR) of China.
+(9) The regions Southern Asia and Central Asia are combined into South-Central Asia.
+(10) Including Sabah and Sarawak.
+(11) Including Nagorno-Karabakh.
+(12) Including Northern-Cyprus.
+(13) Including Abkhazia and South Ossetia.
+(14) Including East Jerusalem.
+(15) Including Transnistria.
+(16) Including Faeroe Islands, and Isle of Man.
+(17) Refers to Guernsey, and Jersey.
+(18) Including Åland Islands.
+(19) Including Svalbard and Jan Mayen Islands.
+(20) Including Andorra, Gibraltar, Holy See, and San Marino.
+(21) Including Kosovo.
+(22) Including Canary Islands, Ceuta and Melilla.
+(23) The former Yugoslav Republic of Macedonia.
+(24) Including Liechtenstein, and Monaco.
+(25) Including Anguilla, Antigua and Barbuda, British Virgin Islands, Cayman Islands, Dominica, Montserrat, Saint Kitts and Nevis, and Turks and Caicos Islands.
+(26) Including Saint-Barthélemy and Saint-Martin (French part).
+(27) Refers to Curaçao, Sint Maarten (Dutch part), Bonaire, Saba and Sint Eustatius.
+(28) Including Falkland Islands (Malvinas).
+(29) Including Bermuda, Greenland, and Saint Pierre and Miquelon.
+(30) Including Christmas Island, Cocos (Keeling) Islands, and Norfolk Island.
+(31) Including Kiribati, Marshall Islands, Nauru, Northern Mariana Islands, and Palau.
+(32) Including American Samoa, Cook Islands, Niue, Pitcairn, Tokelau, Tuvalu, and Wallis and Futuna Islands.
View
5 app.py
@@ -1,4 +1,4 @@
-from flask import Flask, url_for
+from flask import Flask, url_for, request
from flask import render_template, make_response
import pickle
@@ -8,6 +8,7 @@
@app.route('/<country>/<int:year>/')
@app.route('/<country>/<int:year>/<currentLetter>/')
def pyramid(country="WORLD",year="2010",currentLetter=None):
+ print request.headers
years = range(1950,2101,5)
alphabet = map(chr, range(65, 91))
f = open('2010/letters_to_countries_list_dict.pickle')
@@ -55,4 +56,4 @@ def page_not_found(e):
if __name__ == '__main__':
# Bind to PORT if defined, otherwise default to 5000.
port = int(os.environ.get('PORT', 5000))
- app.run(host='0.0.0.0', port=port)
+ app.run(host='0.0.0.0', port=port, debug=True)
View
3 templates/index.html
@@ -125,8 +125,7 @@ <h3 id="clickOnACountry">Click on a Country:</h3>
Visualization by <a href="http://multitasked.net">Martin De Wulf</a> (<a href="http://twitter.com/madewulf">@madewulf</a>) &mdash;
All code on <a href="https://github.com/madewulf/populationpyramid.net">github</a> &mdash;
- <a href="http://www.multitasked.net/2011/feb/5/about-population-pyramid-net/" id="blog_link">Learn more about
- this project</a>
+ <a href="http://madewulf.github.com/PopulationPyramid.net/" id="blog_link">Previous version of the site, with data from 2010.</a>
</div>
<p>United Nations, Department of Economic and Social Affairs, Population Division (2011). World Population Prospects: The 2010 Revision.</p>
</div>

0 comments on commit 3727bb3

Please sign in to comment.