greenelab / greenelab/crossref
Invalid character error when using mongoimport
- Dominant language
- Jupyter Notebook
- Stars
- 66
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
Hello, I was looking for ways to get a complete dump of the metadata in CrossRef and came across this useful project.
I've tried importing [your dump file ](https://figshare.com/articles/Metadata_for_all_DOIs_in_Crossref_JSON_MongoDB_exports_of_all_works_from_the_Crossref_API/4816720/1) as well as the one archived by [Bryan Newbold](https://archive.org/download/crossref_doi_dump_201809), but I've come across the following error:
After running this command to import the file (using Windows 10 Pro):
mongoimport --db crossref-mongo --collection works --file "C:\path\to\file\crossrefworks.json.xz"
I get the error:
Failed: error processing document #1: invalid character 'ý' looking for beginning of value
imported 0 documents
I get the same error when I try importing Bryan Newbold's dump file.
It's the first time I'm using MongoDB so I don't know if I'm doing something wrong. I realise this is not strictly an error with the code in this project, but I thought you might be able to know what's going on with these dump files. Any help would be much appreciated.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.