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

Parse from string #183

Open
alexkreidler opened this issue Apr 7, 2021 · 2 comments
Open

Parse from string #183

alexkreidler opened this issue Apr 7, 2021 · 2 comments
Labels

Comments

@alexkreidler
Copy link

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 a Stream 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)

@roll
Copy link
Member

roll commented Apr 7, 2021

It might have been implemented in frictionless-js cc @risenW

@stale
Copy link

stale bot commented Jul 8, 2021

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.

@stale stale bot added the wontfix label Jul 8, 2021
@roll roll added feature and removed wontfix labels Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants