Open alexkreidler opened 3 years ago
It might have been implemented in frictionless-js
cc @risenW
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Table.load
should accept CSV files as a string and parse them.This would help users with browser environments, as they wouldn't need to create aStream
to pass in some data.To distinguish against the string input that is a local or remote file, we could either use a heuristic like string length, or a regex matching slashes or
.csv
, and we could try the options in order, or better yet, we could just add an option to enable parsing as CSV and keep the default behavior the same.Thanks!
Please preserve this line to notify @roll (lead of this repository)