Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upFiles without row header have shifted data #14
Comments
This comment has been minimized.
This comment has been minimized.
adam3smith
commented
Oct 8, 2019
CC @anncie-pcss would be great if you could take a look. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
qqmyers commentedOct 8, 2019
In files without a row header, the previewed data gets shifted (with a quick look - it looks like column 1 appears many columns over and subsequent columns are shifted).
For the following .tab file (extension changed to .txt to allow upload here), the display shows
[Gherghina & Katsanidou (2013DATA) Data Availability in Political Science Journals_33.txt] (https://github.com/QualitativeDataRepository/dataverse-previewers/files/3703728/Gherghina.Katsanidou.2013DATA.Data.Availability.in.Political.Science.Journals_33.txt) the journal name, which was the first column, far to the right (more columns not shown).
I see rowHeaders: true in the cvs.js file - is that needed? Does this/other params need to be a user option(s)?
FWIW: The attached file was derived from https://static-content.springer.com/esm/art%3A10.1057%2Feps.2013.8/MediaObjects/41304_2013_BFeps20138_MOESM1_ESM.xls which is public.