mapbox / mapbox/leaflet-omnivore

leading blank rows in csv files

Open
#117 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.