Skip to content

SkyTruth/gpsdio-bigquery-schema

Repository files navigation

gpsdio bigquery schema plugin

https://travis-ci.org/SkyTruth/gpsdio-bigquery-schema.svg?branch=master https://coveralls.io/repos/SkyTruth/gpsdio-bigquery-schema/badge.svg?branch=master

A CLI plugin for gpsdio that produces a schema file for BigQuery to be used together with CSV output from gpsdio-csv for exporting data into Google's BigQuery.

Examples

See gpsdio bq-schema --help for info.

$ gpsdio bq-schema schema.json \
    -c mmsi,timestamp,lat,lon,extra

Installing

Via pip:

$ pip install gpsdio-bigquery-schema

From master:

$ git clone https://github.com/SkyTruth/gpsdio-bigquery-schema
$ cd gpsdio-bigquery-schema
$ pip install .

Developing

$ git clone https://github.com/SkyTruth/gpsdio-bigquery-schema
$ cd gpsdio-bigquery-schema
$ virtualenv venv && source venv/bin/activate
$ pip install -e .[test]
$ py.test tests --cov gpsdio_bigquery_schema --cov-report term-missing

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages