Skip to content

Data export tool for mCerebrum DataKit databases into JSON and CSV formats

License

Notifications You must be signed in to change notification settings

MD2Korg/DataExporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DataExporter

mCerebrum is a configurable smartphone software platform for mobile and wearable sensors. It provides support for reliable data collection from mobile and wearable sensors, and offers real-time processing of these data.

Data export tool for mCerebrum DataKit databases into JSON and CSV formats.

You can find more information about MD2K software on our software website or the MD2K organization on our MD2K website.

Examples

Get help on commandline arguments

usage: java -jar dataexporter.jar [-c] -d <file> [-g] [-h] [-j] [-p <URL>]
 -c,--csv               enable CSV file output
 -d,--database <file>   mCerebrum SQLite Database File
 -h,--help              print this message
 -j,--json              enable JSON file output
 -p,--publish <URL>     configure publishing to webservice

Publish DB to webservice

java -jar dataexporter.jar --database DataKit.db --publish https://server.md2k.org/api/

Dump DB in JSON format

java -jar dataexporter.jar --database DataKit.db --json

Dump DB in CSV format

java -jar dataexporter.jar --database DataKit.db --csv

Dump DB in CSV and JSON formats

java -jar dataexporter.jar --database DataKit.db --json --csv

Contributing

Please read our Contributing Guidelines for details on the process for submitting pull requests to us.

We use the Google Java Style Guide.

Our Code of Conduct is the Contributor Covenant.

Bug reports can be submitted through JIRA.

Our discussion forum can be found here.

Versioning

We use Semantic Versioning for versioning the software which is based on the following guidelines.

MAJOR.MINOR.PATCH (example: 3.0.12)

  1. MAJOR version when incompatible API changes are made,
  2. MINOR version when functionality is added in a backwards-compatible manner, and
  3. PATCH version when backwards-compatible bug fixes are introduced.

For the versions available, see this repository's tags.

Contributors

Link to the list of contributors who participated in this project.

License

This project is licensed under the BSD 2-Clause - see the license file for details.

Acknowledgments