Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add: number recognition, date recognition, field-names from first row, field names from supplied parameter #45

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

simon-brooke
Copy link

Hi, this includes:

  1. Optional recognition of numbers in data;
  2. Optional recognition of dates/times in data;
  3. Optional recognition of first row as field names;
  4. Option to supply field names.

I've also upped the default Clojure version to 1.8, which may not suit you.

I'm seeing errors in one of your unit tests, perhaps because of the change to 1.8; and your benchmarks do not work for me, possibly for the same reason. I have not investigated either deeply.

I believe that the core algorithm of parse-csv-with-options could be written, probably using reduce, to consume less stack, and I may have a go at that when I have time.

I hope this is useful to you.

@simon-brooke simon-brooke changed the title Develop Add: number recognition, date recognition, field-names from first row, field names from supplied parameter Mar 23, 2019
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