mapbox / mapbox/leaflet-omnivore
leading blank rows in csv files
Open
- Dominant language
- JavaScript
- Stars
- 680
- Forks
- 128
- PR merge metrics
- No merged PRs in 30d
Description
Is there any way to tell this plugin to ignore the first lines of a CSV?
Trying to Parse a csv with blank rows I get parsing errors
Because I get these files from an external third party url, I can't modify them at their source.
Perhaps adding an extra option "ignorerows=#" could be usefull.
Contributor guide
Research direction
Start at the plugin's CSV parsing entry point and reproduce the failure with a CSV containing leading blank rows. Trace how CSV options are passed through, then verify that the requested row-skipping behavior works for files fetched from external URLs and is covered by parsing tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100