question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

remote url papaparse large csv

See original GitHub issue

trying to read this csv on a public dropbox link. It’s too large to display in dropbox (200MB), but not too big to download. I have it downloading automatically & first row header as labels for the object of each row’s properties. I can change ?dl=0 to ?dl=1 in the link to automatically download without papaparse since it’s a dropbox link, by the way.

Papa.parse("https://www.dropbox.com/s/m5kr9u52eij99mq/worldcitiespop.csv?dl=0", {
  download: true,
  header: true,
  step: function(results) {
    console.log(results.data)
  },
  complete: function() {
    console.log("All done!");
  }
});

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13

github_iconTop GitHub Comments

1reaction
pokolicommented, Aug 19, 2019

So if there is no issue with paparase I’m closing this issue.

0reactions
dboskoviccommented, Aug 19, 2019

@NickCarducci - definitely post this on StackOverflow instead. Because it’s asynchronous, line 25 executes before the step function. You also cannot have this in your render function because it will cause a setState() loop that will never stop downloading the file. I’m going ahead and locking this thread, but the community on StackOverflow loves this kind of stuff and will be helpful in talking to you about Javascript.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Papa Parse - Powerful CSV Parser for JavaScript
The powerful, in-browser CSV parser for big boys and girls ... CSV→JSON and JSON→CSV; Auto-detect delimiter; Open local files; Download remote files.
Read more >
How to stream a large CSV file on server-side using ...
I would like to read a large, local CSV file in chunks using Papa parse in JavaScript, so that the application doesn't get...
Read more >
react-papaparse - Powerful CSV Parser for React
The powerful, in-browser React CSV parser for big boys and girls ... CSV→JSON and JSON→CSV; Auto-detect delimiter; Open local files; Download remote files....
Read more >
Processing large CSVs in Meteor JS with PapaParse - help
I've seen lots of discussions about PapaParse and large files, ... Goals User uploads CSV from the client and then creates a map...
Read more >
JavaScript CSV Parsers Comparison - LeanyLabs
PapaParse · Extremely easy to use, just Papa. · Can parse strings, local files, and even download remote files · Fast mode for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found