Skip to content

Added script to output JSON of candidate address/grad semester info#37

Open
jasonkhoe wants to merge 1 commit intocompserv:masterfrom
jasonkhoe:candidate-info-script
Open

Added script to output JSON of candidate address/grad semester info#37
jasonkhoe wants to merge 1 commit intocompserv:masterfrom
jasonkhoe:candidate-info-script

Conversation

@jasonkhoe
Copy link
Copy Markdown
Contributor

There's probably a better way to do this, or a better format. Was originally going to do CSV, but Excel didn't import it correctly.

@seshness
Copy link
Copy Markdown
Contributor

seshness commented Aug 1, 2013

There are libraries that deal with the escaping and formatting issues that crop up with CSVs. We've used the CSV module in hkn_rails before, eg.
https://github.com/compserv/hkn-rails/blob/master/app/controllers/people_controller.rb#L199

Docs: http://ruby-doc.org/stdlib-1.9.2/libdoc/csv/rdoc/CSV.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants