Worldmap
# Worldmap Worldmap is a brane package for creating maps of the world using Geopandas. Each country can be given a value representing a color in the red, yellow and green range. ## Installation If on Linux or MacOS first run: ``` chmod +x run.py ``` Otherwise/then: ```console brane build container.y...
Main Author: | |
---|---|
Other Authors: | , , |
Format: | Other/Unknown Material |
Language: | English |
Published: |
Zenodo
2021
|
Subjects: | |
Online Access: | https://doi.org/10.5281/zenodo.4812844 |
id |
ftzenodo:oai:zenodo.org:4812844 |
---|---|
record_format |
openpolar |
spelling |
ftzenodo:oai:zenodo.org:4812844 2024-09-15T17:43:20+00:00 Worldmap Lucas de Geus Kalle Janssen Krijn Doekemeijer Tim Pelle 2021-05-24 https://doi.org/10.5281/zenodo.4812844 eng eng Zenodo https://doi.org/10.5281/zenodo.4783283 https://doi.org/10.5281/zenodo.4812844 oai:zenodo.org:4812844 info:eu-repo/semantics/openAccess Creative Commons Attribution 4.0 International https://creativecommons.org/licenses/by/4.0/legalcode Brane Geopandas Worldmap info:eu-repo/semantics/other 2021 ftzenodo https://doi.org/10.5281/zenodo.481284410.5281/zenodo.4783283 2024-07-26T21:59:20Z # Worldmap Worldmap is a brane package for creating maps of the world using Geopandas. Each country can be given a value representing a color in the red, yellow and green range. ## Installation If on Linux or MacOS first run: ``` chmod +x run.py ``` Otherwise/then: ```console brane build container.yml brane push world map 1.0.0 ``` ## Usage ```brane import worldmap; let countries := ["Canada", "United States of America"]; let values := [100.0, -50]; create_map(values, countries, "Legend name", "/data/wordcloud.png"); ``` ## Notes Countries and values are matched using their index. Lowest value in the array is represented using the color red, highest value by green and missing countries by grey. These values can be positive, negative, floats or integers. Countries should be provided with names according to this list: ['Fiji', 'Tanzania', 'W. Sahara', 'Canada', 'United States of America', 'Kazakhstan', 'Uzbekistan', 'Papua New Guinea', 'Indonesia', 'Argentina', 'Chile', 'Dem. Rep. Congo', 'Somalia', 'Kenya', 'Sudan', 'Chad', 'Haiti', 'Dominican Rep.', 'Russia', 'Bahamas', 'Falkland Is.', 'Norway', 'Greenland', 'Fr. S. Antarctic Lands', 'Timor-Leste', 'South Africa', 'Lesotho', 'Mexico', 'Uruguay', 'Brazil', 'Bolivia', 'Peru', 'Colombia', 'Panama', 'Costa Rica', 'Nicaragua', 'Honduras', 'El Salvador', 'Guatemala', 'Belize', 'Venezuela', 'Guyana', 'Suriname', 'France', 'Ecuador', 'Puerto Rico', 'Jamaica', 'Cuba', 'Zimbabwe', 'Botswana', 'Namibia', 'Senegal', 'Mali', 'Mauritania', 'Benin', 'Niger', 'Nigeria', 'Cameroon', 'Togo', 'Ghana', "Côte d'Ivoire", 'Guinea', 'Guinea-Bissau', 'Liberia', 'Sierra Leone', 'Burkina Faso', 'Central African Rep.', 'Congo', 'Gabon', 'Eq. Guinea', 'Zambia', 'Malawi', 'Mozambique', 'eSwatini', 'Angola', 'Burundi', 'Israel', 'Lebanon', 'Madagascar', 'Palestine', 'Gambia', 'Tunisia', 'Algeria', 'Jordan', 'United Arab Emirates', 'Qatar', 'Kuwait', 'Iraq', 'Oman', 'Vanuatu', 'Cambodia', 'Thailand', 'Laos', 'Myanmar', 'Vietnam', 'North Korea', 'South Korea', 'Mongolia', 'India', 'Bangladesh', ... Other/Unknown Material Antarc* Antarctic Greenland Zenodo |
institution |
Open Polar |
collection |
Zenodo |
op_collection_id |
ftzenodo |
language |
English |
topic |
Brane Geopandas Worldmap |
spellingShingle |
Brane Geopandas Worldmap Lucas de Geus Worldmap |
topic_facet |
Brane Geopandas Worldmap |
description |
# Worldmap Worldmap is a brane package for creating maps of the world using Geopandas. Each country can be given a value representing a color in the red, yellow and green range. ## Installation If on Linux or MacOS first run: ``` chmod +x run.py ``` Otherwise/then: ```console brane build container.yml brane push world map 1.0.0 ``` ## Usage ```brane import worldmap; let countries := ["Canada", "United States of America"]; let values := [100.0, -50]; create_map(values, countries, "Legend name", "/data/wordcloud.png"); ``` ## Notes Countries and values are matched using their index. Lowest value in the array is represented using the color red, highest value by green and missing countries by grey. These values can be positive, negative, floats or integers. Countries should be provided with names according to this list: ['Fiji', 'Tanzania', 'W. Sahara', 'Canada', 'United States of America', 'Kazakhstan', 'Uzbekistan', 'Papua New Guinea', 'Indonesia', 'Argentina', 'Chile', 'Dem. Rep. Congo', 'Somalia', 'Kenya', 'Sudan', 'Chad', 'Haiti', 'Dominican Rep.', 'Russia', 'Bahamas', 'Falkland Is.', 'Norway', 'Greenland', 'Fr. S. Antarctic Lands', 'Timor-Leste', 'South Africa', 'Lesotho', 'Mexico', 'Uruguay', 'Brazil', 'Bolivia', 'Peru', 'Colombia', 'Panama', 'Costa Rica', 'Nicaragua', 'Honduras', 'El Salvador', 'Guatemala', 'Belize', 'Venezuela', 'Guyana', 'Suriname', 'France', 'Ecuador', 'Puerto Rico', 'Jamaica', 'Cuba', 'Zimbabwe', 'Botswana', 'Namibia', 'Senegal', 'Mali', 'Mauritania', 'Benin', 'Niger', 'Nigeria', 'Cameroon', 'Togo', 'Ghana', "Côte d'Ivoire", 'Guinea', 'Guinea-Bissau', 'Liberia', 'Sierra Leone', 'Burkina Faso', 'Central African Rep.', 'Congo', 'Gabon', 'Eq. Guinea', 'Zambia', 'Malawi', 'Mozambique', 'eSwatini', 'Angola', 'Burundi', 'Israel', 'Lebanon', 'Madagascar', 'Palestine', 'Gambia', 'Tunisia', 'Algeria', 'Jordan', 'United Arab Emirates', 'Qatar', 'Kuwait', 'Iraq', 'Oman', 'Vanuatu', 'Cambodia', 'Thailand', 'Laos', 'Myanmar', 'Vietnam', 'North Korea', 'South Korea', 'Mongolia', 'India', 'Bangladesh', ... |
author2 |
Kalle Janssen Krijn Doekemeijer Tim Pelle |
format |
Other/Unknown Material |
author |
Lucas de Geus |
author_facet |
Lucas de Geus |
author_sort |
Lucas de Geus |
title |
Worldmap |
title_short |
Worldmap |
title_full |
Worldmap |
title_fullStr |
Worldmap |
title_full_unstemmed |
Worldmap |
title_sort |
worldmap |
publisher |
Zenodo |
publishDate |
2021 |
url |
https://doi.org/10.5281/zenodo.4812844 |
genre |
Antarc* Antarctic Greenland |
genre_facet |
Antarc* Antarctic Greenland |
op_relation |
https://doi.org/10.5281/zenodo.4783283 https://doi.org/10.5281/zenodo.4812844 oai:zenodo.org:4812844 |
op_rights |
info:eu-repo/semantics/openAccess Creative Commons Attribution 4.0 International https://creativecommons.org/licenses/by/4.0/legalcode |
op_doi |
https://doi.org/10.5281/zenodo.481284410.5281/zenodo.4783283 |
_version_ |
1810490274047066112 |