Git Product home page Git Product logo

target-datadotworld's Introduction

target-datadotworld

A Singer target that writes data to data.world

How to use it

target-datadotworld works together with any other Singer Tap to store on data.world data extracted from sources like SalesForce, HubSpot, Marketo, MySQL and more.

Install and Run

First, make sure Python 3.6 is installed on your system.

target-datadotworld can be run with any Singer Tap, but we'll use tap-fixerio which pulls currency exchange rate data - as an example.

These commands will install tap-fixerio and target-datadotworld with pip, and then run them together, piping the output of tap-fixerio to target-datadotworld:

? pip install target-datadotworld tap-fixerio
? tap-fixerio | target-datadotworld -c config.json
INFO Replicating the latest exchange rate data from fixer.io
INFO Tap exiting normally

The data will be written to the dataset specified in config.json. In this specific case, under a stream named exchange-rates.

If you're using a different Tap, substitute tap-fixerio in the final command above with the command used to run your Tap.

Configuration

target-datadotworld requires configuration file that is used to store your data.world API token and dataset information.

The following attributes are required:

  • api_token: Your data.world API token
  • dataset_id: The title of the dataset where the data is to be stored. Must only contain lowercase letters, numbers, and dashes.

Additionally, the following optional attributes can be provided.

  • dataset_owner: If not the same as the owner of the API token (e.g. if the dataset is to be accessed/created under an organization account, as opposed to the user's own)

Example:

{
    "api_token": "your_token",
    "dataset_id": "fixerio-data",
    "dataset_owner": "my-company",
}

target-datadotworld's People

Contributors

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