Giter Site home page Giter Site logo

cloudedbats / cloudedbats_species Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 2.98 MB

Python module used to download taxa for all bats from the IUCN Redlist and store in Excel.

License: MIT License

Python 100.00%
bats chiroptera species iucn-red-list taxa

cloudedbats_species's Introduction

CloudedBats - Species

This is a part of CloudedBats: http://cloudedbats.org

taxa4bats

The software library taxa4bats contains taxonomic information for bats (Chiroptera). All data is collected from the IUCN Red List of Threatened Species (https://www.iucnredlist.org) since in covers most of the bats that exists, and the species lists are maintained with two or three published updates each year.

When running the Python script /taxa4bats/iucn_redlist.py the API at IUCN Redlist is called and all relevant information for bats is downloaded. The data is then stored in text files as a cache for usage between the published updates. An Excel file is also generated that can be downloaded separately. Note that you must to ask for a Token before you can run the script by yourself. It's free, but they don't like commercial use without written permission. Edit the Python script and replace the string 'TOKEN'. If it's not available, then the cached file will be used only.

But the Excel file can be used directly. It's really useful if you want to check the species list for a specific country, just use the filter function in Excel and search for 'SE' in the countries column get the species list for Sweden. If you don't use Excel the free alternative "LibreOffice calc" can be used.

Download the Excel file here: redlist_chiroptera_2020-2.xlsx

WURB-A001 Swedish species filtered in LibreOffice Calc. CloudedBats.org / CC-BY

Installation

# Get the code from Github.
git clone https://github.com/cloudedbats/cloudedbats_species.git
cd cloudedbats_species
# Set up a virtual environment for python.
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt

# Run. (Edit the file and replace the string '<TOKEN>' if you want to update all data from IUCN.)
python taxa4bats/iucn_redlist.py

Contact

Arnold Andreasson, Sweden.

[email protected]

cloudedbats_species's People

Contributors

arnoldandreasson avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.