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

Open from Uploaded File #49

Closed
acouch opened this issue Feb 24, 2019 · 4 comments
Closed

Open from Uploaded File #49

acouch opened this issue Feb 24, 2019 · 4 comments
Assignees

Comments

@acouch
Copy link

acouch commented Feb 24, 2019

When using data.js in the browser it would be useful to be able to open() from using the File interface. Typically files are read with File Reader.

If you need to already parse the file using File Reader or other method then the utility of using data.js is diminished.

I think we could maybe do this by adding a class similar to FileRemote and FileInline that reads the uploaded file data.

@mariorodeghiero
Copy link
Contributor

@kmanaseryan
Copy link
Member

Blocked by #69

mariorodeghiero added a commit that referenced this issue Sep 8, 2020
mariorodeghiero added a commit that referenced this issue Sep 8, 2020
- add class FIleInterface extends File
- add methods arraybuffer and hash
- fix conflicts
@mariorodeghiero
Copy link
Contributor

kmanaseryan added a commit that referenced this issue Sep 9, 2020
mariorodeghiero added a commit that referenced this issue Sep 10, 2020
- fix hash method to work with big files, tested with 1.9Gb
- create data to infer in the schema maximum 100 rows
- create readCSV function for browser to read and parse the data with support for big files without broken the browser
- used tableschema.infer to create the schema
kmanaseryan added a commit that referenced this issue Sep 11, 2020
…le based resource more closer to the generic interface - #49
anuveyatsu added a commit that referenced this issue Sep 11, 2020
[test,ci][s]: Specify browser in Karma test - #49
anuveyatsu added a commit that referenced this issue Sep 11, 2020
#49 - Rows(), stream(), hashSha256, buffer support
@kmanaseryan
Copy link
Member

FIXED in #76 and #77

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

No branches or pull requests

3 participants