Skip to content

Instantly share code, notes, and snippets.

@ethanwhite
Last active January 18, 2017 17:45
Show Gist options
  • Save ethanwhite/bc18aecbf5ef7273dee44a0b1630d1df to your computer and use it in GitHub Desktop.
Save ethanwhite/bc18aecbf5ef7273dee44a0b1630d1df to your computer and use it in GitHub Desktop.

No Python

Install Anaconda (2.7 or 3.5): https://www.continuum.io/downloads

Install the retriever

From shell

pip install git+https://git@github.com/weecology/retriever.git

Do some tests

retriever ls
retriever install csv DATASET
retriever install json DATASET
retriever install sqlite DATASET
retriever install xml DATASET

If you have database management systems installed:

retriever install mysql DATASET -u username -p password
retriever install postgres DATASET -u username -p password

R

install.packages('ecoretriever')
library(ecoretriever)
ecoretriever::datasets()
ecoretriever::install('DATASET', 'csv')
data <- ecoretriever::fetch('DATASET')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment