frictionlessdata / datapackage-js

A JavaScript library for working with Data Package.
http://frictionlessdata.io/
MIT License
43 stars 15 forks source link

Option to load table data without casting the data #51

Closed rufuspollock closed 7 years ago

rufuspollock commented 7 years ago

Often I just want the data from a CSV file parsed but not cast - is there an option to do this.

Generally I flag an issue re parsing fields that are dates - often i want the original date structure without it being parsed to dates. (I can explain better if this is not clear).

roll commented 7 years ago

@rufuspollock Thanks, it's clear.

rufuspollock commented 7 years ago

I think this is also useful to get the data without running into validation problems (does JTS validate before casting?)

roll commented 7 years ago

Yes. So I've merged this two. (J)TS casts data and validates it based on casting results (so it's the same process).

roll commented 7 years ago

WILL BE IMPLEMENTED in https://github.com/frictionlessdata/tableschema-js/issues/68