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

Files with duplicate (possibly empty) header values don't display correctly #20

Open
qqmyers opened this issue Oct 16, 2019 · 0 comments

Comments

@qqmyers
Copy link
Member

qqmyers commented Oct 16, 2019

Files such as
Column 1,,,Column 3
1-1,1-2,1-3,1-4
2-1,2-2,2-3,2-4
3-1,3-2,3-3,3-4
4,5,6,7
appear to be parsed OK by the Papaparse library but they are displayed with only the last column with the duplicate header name (in this case an empty value):
image

Dataverse does flag these files during ingest and doesn't replace them with .tab files, but it might still be worthwhile to fix or note this issue in the previewer (so users don't think data is missing from the original file). One option might just be to munge names, e.g. replace empty with '' and duplicates with '', etc. Other options might be to just flag the error, flip to not using headers, etc.

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

1 participant