Brane - Location Converter

# 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...

Full description

Bibliographic Details
Main Author: De Geus, Lucas
Format: Article in Journal/Newspaper
Language:English
Published: Zenodo 2021
Subjects:
Online Access:https://dx.doi.org/10.5281/zenodo.4818215
https://zenodo.org/record/4818215
id ftdatacite:10.5281/zenodo.4818215
record_format openpolar
institution Open Polar
collection DataCite Metadata Store (German National Library of Science and Technology)
op_collection_id ftdatacite
language English
topic Brane
Location converter
spellingShingle Brane
Location converter
De Geus, Lucas
Brane - Location Converter
topic_facet Brane
Location converter
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: ```console brane import lucasdegeus/braneWorldmap --kind ecu ``` ## Usage Input parameters are: * countries: an array of country names * values: an array of values corresponding with the countries * legend_name: name below the color bar * path: path to save file ```brane import worldmap; let countries := ["Canada", "United States of America"]; let values := [100.0, -50]; let legend_name := "Sentiment"; let path := "/data/wordmap.png"; create_map(values, countries, legend_name, path); ``` ## 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', 'Bhutan', 'Nepal', 'Pakistan', 'Afghanistan', 'Tajikistan', 'Kyrgyzstan', 'Turkmenistan', 'Iran', 'Syria', 'Armenia', 'Sweden', 'Belarus', 'Ukraine', 'Poland', 'Austria', 'Hungary', 'Moldova', 'Romania', 'Lithuania', 'Latvia', 'Estonia', 'Germany', 'Bulgaria', 'Greece', 'Turkey', 'Albania', 'Croatia', 'Switzerland', 'Luxembourg', 'Belgium', 'Netherlands', 'Portugal', 'Spain', 'Ireland', 'New Caledonia', 'Solomon Is.', 'New Zealand', 'Australia', 'Sri Lanka', 'China', 'Taiwan', 'Italy', 'Denmark', 'United Kingdom', 'Iceland', 'Azerbaijan', 'Georgia', 'Philippines', 'Malaysia', 'Brunei', 'Slovenia', 'Finland', 'Slovakia', 'Czechia', 'Eritrea', 'Japan', 'Paraguay', 'Yemen', 'Saudi Arabia', 'Antarctica', 'N. Cyprus', 'Cyprus', 'Morocco', 'Egypt', 'Libya', 'Ethiopia', 'Djibouti', 'Somaliland', 'Uganda', 'Rwanda', 'Bosnia and Herz.', 'Macedonia', 'Serbia', 'Montenegro', 'Kosovo', 'Trinidad and Tobago', 'S. Sudan']
format Article in Journal/Newspaper
author De Geus, Lucas
author_facet De Geus, Lucas
author_sort De Geus, Lucas
title Brane - Location Converter
title_short Brane - Location Converter
title_full Brane - Location Converter
title_fullStr Brane - Location Converter
title_full_unstemmed Brane - Location Converter
title_sort brane - location converter
publisher Zenodo
publishDate 2021
url https://dx.doi.org/10.5281/zenodo.4818215
https://zenodo.org/record/4818215
long_lat ENVELOPE(-60.734,-60.734,-63.816,-63.816)
geographic Antarctic
Canada
Greenland
Norway
New Zealand
Argentina
Uruguay
Trinidad
geographic_facet Antarctic
Canada
Greenland
Norway
New Zealand
Argentina
Uruguay
Trinidad
genre Antarc*
Antarctic
Antarctica
Greenland
Iceland
genre_facet Antarc*
Antarctic
Antarctica
Greenland
Iceland
op_relation https://dx.doi.org/10.5281/zenodo.4791612
op_rights Open Access
Creative Commons Attribution 4.0 International
https://creativecommons.org/licenses/by/4.0/legalcode
cc-by-4.0
info:eu-repo/semantics/openAccess
op_rightsnorm CC-BY
op_doi https://doi.org/10.5281/zenodo.4818215
https://doi.org/10.5281/zenodo.4791612
_version_ 1766249157008293888
spelling ftdatacite:10.5281/zenodo.4818215 2023-05-15T13:48:21+02:00 Brane - Location Converter De Geus, Lucas 2021 https://dx.doi.org/10.5281/zenodo.4818215 https://zenodo.org/record/4818215 en eng Zenodo https://dx.doi.org/10.5281/zenodo.4791612 Open Access Creative Commons Attribution 4.0 International https://creativecommons.org/licenses/by/4.0/legalcode cc-by-4.0 info:eu-repo/semantics/openAccess CC-BY Brane Location converter Software SoftwareSourceCode article 2021 ftdatacite https://doi.org/10.5281/zenodo.4818215 https://doi.org/10.5281/zenodo.4791612 2021-11-05T12:55:41Z # 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: ```console brane import lucasdegeus/braneWorldmap --kind ecu ``` ## Usage Input parameters are: * countries: an array of country names * values: an array of values corresponding with the countries * legend_name: name below the color bar * path: path to save file ```brane import worldmap; let countries := ["Canada", "United States of America"]; let values := [100.0, -50]; let legend_name := "Sentiment"; let path := "/data/wordmap.png"; create_map(values, countries, legend_name, path); ``` ## 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', 'Bhutan', 'Nepal', 'Pakistan', 'Afghanistan', 'Tajikistan', 'Kyrgyzstan', 'Turkmenistan', 'Iran', 'Syria', 'Armenia', 'Sweden', 'Belarus', 'Ukraine', 'Poland', 'Austria', 'Hungary', 'Moldova', 'Romania', 'Lithuania', 'Latvia', 'Estonia', 'Germany', 'Bulgaria', 'Greece', 'Turkey', 'Albania', 'Croatia', 'Switzerland', 'Luxembourg', 'Belgium', 'Netherlands', 'Portugal', 'Spain', 'Ireland', 'New Caledonia', 'Solomon Is.', 'New Zealand', 'Australia', 'Sri Lanka', 'China', 'Taiwan', 'Italy', 'Denmark', 'United Kingdom', 'Iceland', 'Azerbaijan', 'Georgia', 'Philippines', 'Malaysia', 'Brunei', 'Slovenia', 'Finland', 'Slovakia', 'Czechia', 'Eritrea', 'Japan', 'Paraguay', 'Yemen', 'Saudi Arabia', 'Antarctica', 'N. Cyprus', 'Cyprus', 'Morocco', 'Egypt', 'Libya', 'Ethiopia', 'Djibouti', 'Somaliland', 'Uganda', 'Rwanda', 'Bosnia and Herz.', 'Macedonia', 'Serbia', 'Montenegro', 'Kosovo', 'Trinidad and Tobago', 'S. Sudan'] Article in Journal/Newspaper Antarc* Antarctic Antarctica Greenland Iceland DataCite Metadata Store (German National Library of Science and Technology) Antarctic Canada Greenland Norway New Zealand Argentina Uruguay Trinidad ENVELOPE(-60.734,-60.734,-63.816,-63.816)