GithubHelp home page GithubHelp logo

col-sql's Introduction

Catalogue of Life taxonomy as SQLite

build-sqlite

COL taxonomy as SQLite DB

TLDR: The backbone as sqlite is up at https://s3-us-west-2.amazonaws.com/taxize-dbs/col.zip

how we do

All above is run once per day on Github Actions

Usage

download

git clone https://github.com/ropensci/col-sql.git
cd col-sql

bundle it

bundle install
rake --tasks
rake all    # get data, convert to sql, upload to amazon s3
rake clean  # delete files not needed
rake fetch  # get and unzip data
rake s3     # upload database to s3
rake sql    # create sql database
rake zip    # create zip file

rake all does all the things

Or, you can do each separately with rake fetch then rake sql, then rake zip, then rake s3, then rake clean

Env vars

rake s3 requires AWS keys. If you want to upload to AWS, make sure you have env vars with the names AWS_S3_WRITE_ACCESS_KEY and AWS_S3_WRITE_SECRET_KEY

COL sqlite file

https://taxize-dbs.s3-us-west-2.amazonaws.com/col.zip

COL taxonomy citation:

Roskov Y.; Ower G.; Orrell T.; Nicolson D.; Bailly N.; Kirk P.M.; Bourgoin T.; DeWalt R.E.; Decock W.; Nieukerken E. van; Penev L.; eds. (2020). Species 2000 & ITIS Catalogue of Life, 2020-06-04 Beta. Digital resource at www.catalogueoflife.org/col. Species 2000: Naturalis, Leiden, the Netherlands. ISSN 2405-8858.

See also http://www.catalogueoflife.org/col/info/cite for how to cite COL individual databases, and more.

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.