Skip to content

pbinkley/csv-emoji-separator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

  • Install Ruby (if not already installed)
  • Install Bundler: gem install bundler
  • Download the code from this repository or (better) clone it with git
  • Open a terminal, cd to the code directory, and type bundle install to install the dependencies

Running

  • in a terminal type ./parse.rb to run the script
  • It accepts three parameters, in this order:
    • the name of the input file
    • the name of the column containing text to be parsed for emojis
    • the name of the column containing the id of the row
  • The default values are set here, and are suitable for the test csv
  • The script will output two files: <inputfile>-output.html and <inputfile>-output.csv.

Tests

There are RSpec tests for the basic functionality. Run bundle exec rspec.

About

For csv with column containing emojis, create colums 'emojis' and 'emoji_names"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages