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.4783284 |
id |
ftzenodo:oai:zenodo.org:4783284 |
---|---|
record_format |
openpolar |
spelling |
ftzenodo:oai:zenodo.org:4783284 2024-09-15T17:44:47+00:00 Worldmap Lucas de Geus Kalle Janssen Krijn Doekemeijer Tim Pelle 2021-05-24 https://doi.org/10.5281/zenodo.4783284 eng eng Zenodo https://doi.org/10.5281/zenodo.4783283 https://doi.org/10.5281/zenodo.4783284 oai:zenodo.org:4783284 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.478328410.5281/zenodo.4783283 2024-07-25T20:41:23Z # 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 worldmap 1.0.0 ``` Or install using the brane import function: ``` brane import lucasdegeus/braneWorldmap --kind ecu ``` ## 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 where blank countries receive a value of 0. Lowest value in the array is represented using the color red and highest value is represented by green. 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', ... 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 worldmap 1.0.0 ``` Or install using the brane import function: ``` brane import lucasdegeus/braneWorldmap --kind ecu ``` ## 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 where blank countries receive a value of 0. Lowest value in the array is represented using the color red and highest value is represented by green. 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', ... |
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.4783284 |
genre |
Antarc* Antarctic Greenland |
genre_facet |
Antarc* Antarctic Greenland |
op_relation |
https://doi.org/10.5281/zenodo.4783283 https://doi.org/10.5281/zenodo.4783284 oai:zenodo.org:4783284 |
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.478328410.5281/zenodo.4783283 |
_version_ |
1810492449344192512 |