Giter VIP home page Giter VIP logo

quandlscraper's Introduction

Quandl Scraper

Downloads Quandl Data (Bulks) without a premium account and import it to a PostgreSQL (+ 9.2) database.

Everything gets structured N I C E L Y

Dependencies

  • PostgreSQL (9.2 or later) must be installed

Setup

Thats it. The program will handle by itself the creation of database/schemas/tables etc..

Usage

  1. Program will download all databases available and insert them into quandl.databases (in a database named quandl in the postgres instance) and then pause
  • Here you have to select the databases in postgres by setting import to true. Example:
update quandl.databases set import = true where databasecode = 'WIKI';
  1. Program will download all datasets available from WIKI and insert them into quandl.datasets and then pause
  • Here you have to select the datasets in postgres by setting import to true. Example:
update quandl.datasets set import = true where databasecode = 'WIKI' and datasetcode = 'AAPL';
update quandl.datasets set import = true where databasecode = 'WIKI' and datasetcode = 'FB';
  1. Program will download all the data available from WIKI/AAPL and WIKI/FB, dynamically creates table quandl.wiki and inserts all the data

(Extra) Usage for datatables

  1. Program will insert all datatables available and insert them into quandl.datatables (in a database named quandl in the postgres instance) and then pause
  • Here you have to select the datatables in postgres by setting import to true. Example:
update quandl.datatables set import = true where name = 'ZACKS/CP';
  1. Program will download all the data available from ZACKS/CP, dynamically creates table ZACKS/CP and inserts all the data

Info

The program consists in 3 key tasks (4 if you count datatables fetch). Each one is independient from each other. So you can skip a task (commenting the code line) and the program will still run fine.

  1. Fetch Databases available
  2. Fetch Datasets available (from selected databases downloaded in step 1)
  3. Fetch Data (from selected databases downloaded in step 2)
  4. Fetch Datatables (Extra) (from selected datatables downloaded)

If something unexpected happens a file log.txt (inside same directory where the excutable is running) will be created with the information, however, the program will do his best to handle the error and keep working.

quandlscraper's People

Contributors

danielcardeenas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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