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

Issue when csv field contains quotation characters #119

Open
nimrodyanai opened this issue Jul 9, 2023 · 0 comments
Open

Issue when csv field contains quotation characters #119

nimrodyanai opened this issue Jul 9, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@nimrodyanai
Copy link

It seems that if the csv field contains quotation characters at the beginning of the row. It causes the entire row to become a single field instead of splitting the fields based on the delimiter.

For example:
These three rows:
"Arbeit ist keine Ware" - 100 Jahre Internationale Arbeitsorganisation 978-3-658-25415-5 978-3-658-25416-2 https://link.springer.com/10.1007/978-3-658-25416-2 Senghaas-Knobloch 10.1007/978-3-658-25416-2 fulltext Springer Fachmedien Wiesbaden Monograph 2019 1 P

"Arbeit ist keine Ware" – 100 Jahre Internationale Arbeitsorganisation 978-3-658-35978-2 978-3-658-35979-9 https://link.springer.com/10.1007/978-3-658-35979-9 Senghaas-Knobloch 10.1007/978-3-658-35979-9 fulltext Springer Fachmedien Wiesbaden Monograph 2022 2 P

"Auf Stalin, Sieg und Vaterland!" 978-3-658-00821-5 978-3-658-00822-2 https://link.springer.com/10.1007/978-3-658-00822-2 Lutz-Auras 10.1007/978-3-658-00822-2 fulltext Springer Fachmedien Wiesbaden Monograph 2013 1 P

Will result in the following:
{ publication_title: 'Arbeit ist keine Ware" - 100 Jahre Internationale Arbeitsorganisation\t978-3-658-25415-5\t978-3-658-25416-2\t\t\t\t\t\t\thttps://link.springer.com/10.1007/978-3-658-25416-2\tSenghaas-Knobloch\t10.1007/978-3-658-25416-2\t\tfulltext\t\tSpringer Fachmedien Wiesbaden\tMonograph\t2019\t\t\t1\t\t\t\tP\n' + '"Arbeit ist keine Ware" – 100 Jahre Internationale Arbeitsorganisation\t978-3-658-35978-2\t978-3-658-35979-9\t\t\t\t\t\t\thttps://link.springer.com/10.1007/978-3-658-35979-9\tSenghaas-Knobloch\t10.1007/978-3-658-35979-9\t\tfulltext\t\tSpringer Fachmedien Wiesbaden\tMonograph\t2022\t\t\t2\t\t\t\tP\n' + '"Auf Stalin, Sieg und Vaterland!', print_identifier: '978-3-658-00821-5', online_identifier: '978-3-658-00822-2', date_first_issue_online: '', num_first_vol_online: '', num_first_issue_online: '', date_last_issue_online: '', num_last_vol_online: '', num_last_issue_online: '', title_url: 'https://link.springer.com/10.1007/978-3-658-00822-2', first_author: 'Lutz-Auras', title_id: '10.1007/978-3-658-00822-2', embargo_info: '', coverage_depth: 'fulltext', coverage_notes: '', publisher_name: 'Springer Fachmedien Wiesbaden', publication_type: 'Monograph', date_monograph_published_print: '2013', date_monograph_published_online: '', monograph_volume: '', monograph_edition: '1', first_editor: '', parent_publication_title_id: '', preceding_publication_title_id: '', access_type: 'P' }

@shystruk shystruk added the bug Something isn't working label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants