Sha256: b242e4f8e88c2b31653809c45e450d09e059e5ee0c0087ebe14560162c233c18
Contents?: true
Size: 1.14 KB
Versions: 2
Compression:
Stored size: 1.14 KB
Contents
# Msewage::Importer Command line tool to import a CSV file into mSewage (msewage.org). It is able to import one kind of source at a time. ## Installation $ gem install msewage-importer ## Usage $ msewage-importer --type [source_type] --source [source.json] Currently, the following source types are supported: * open_defecation_site * toilet * latrine * septic_tank * sewage_outflow * manure * industrial_waste * open_sewage ## Help $ msewage-importer --help ## Type of data supported At this moment, only JSON data sources are supported. These sources should conform to the following format [mSewage API](http://data.mwater.co/msewage/apiv2#2) ```json { "sources": [ { "name": "optional", "description": "optional", "location": "location string. Required." }, ... ] } ``` The data might come from a script like [this one](https://github.com/tlevine/pri-toilet-hackers). ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Added some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
msewage-importer-0.0.2 | README.md |
msewage-importer-0.0.1 | README.md |