{"id":21162648,"url":"https://github.com/ytbryan/slicing","last_synced_at":"2025-03-14T16:14:58.446Z","repository":{"id":56896125,"uuid":"61095468","full_name":"ytbryan/slicing","owner":"ytbryan","description":"Extract Transform and Load :heart_eyes: For the love of small data \u0026 data plumbing :v: slice and dice CSV file from terminal using Ruby","archived":false,"fork":false,"pushed_at":"2017-05-11T15:13:38.000Z","size":181,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-17T11:44:30.937Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/slicing","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ytbryan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-14T05:52:44.000Z","updated_at":"2017-05-11T10:12:09.000Z","dependencies_parsed_at":"2022-08-21T00:50:57.881Z","dependency_job_id":null,"html_url":"https://github.com/ytbryan/slicing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytbryan%2Fslicing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytbryan%2Fslicing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytbryan%2Fslicing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytbryan%2Fslicing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ytbryan","download_url":"https://codeload.github.com/ytbryan/slicing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243606960,"owners_count":20318314,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T13:31:55.800Z","updated_at":"2025-03-14T16:14:58.403Z","avatar_url":"https://github.com/ytbryan.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slicing\n:v: Instant slice and dice your csv files for quick analysis via command line.\n\nSlicing is an open-source command-line tool for data analysis, extract, transform and load.\n\n#Features\n\n- `slicing keep` - produce a csv with specific columns kept.\n\n  eg. `slicing keep input.csv output.csv 'Column1' 'Column2' 'Column6'`\n\n- `slicing count` - count the row csv and produce the column.\n\n  eg. `slicing count input.csv`\n\n- `slicing head` - print the header only\n\n  eg. `slicing head input.csv`\n\n- `slicing first` - return the first line of data of the csv file.\n\n  eg. `slicing first input.csv`\n\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'slicing'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install slicing\n\n## Usage\n`slicing mask` - mask the column with md5.\n\n`slicing subset` - return a subset of 10 lines of the bigger csv file.\n\n`slicing head` - return the header of the csv file.\n\n`slicing rm` - remove the column from csv file.\n\n`slicing first` - return the first line of data of the csv file.\n\n`slicing count` - return the total row and column of the csv file.\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/slicing. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fytbryan%2Fslicing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fytbryan%2Fslicing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fytbryan%2Fslicing/lists"}