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.
See gpsdio bq-schema --help
for info.
$ gpsdio bq-schema schema.json \
-c mmsi,timestamp,lat,lon,extra
Via pip:
$ pip install gpsdio-bigquery-schema
From master:
$ git clone https://github.com/SkyTruth/gpsdio-bigquery-schema
$ cd gpsdio-bigquery-schema
$ pip install .
$ 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