Closed SimonGoring closed 4 years ago
It may be possible to save a great deal of coding here, because every publication is listed in an EndNote file on the MIOMAP website, and that EndNote file also includes the BibNumber value from the SQL database. We should be able to read those data into a df in R and then merge the values into the publications block, so we don't have to write a script to pull apart the formatted publications.
@DrPronghorn, Can you export the EndNote file to something like BibTex or some text representation and add it to the repository? Then we can link to it directly from the script. I wasn't really looking forward to parsing out the publication data :)
@DrPronghorn Is this all sorted now? If it is I'd like to close this issue.
We can close this issue.
All the publications are listed as citations under a single Publication tag:
Each publication should have its own Publication tags:
You need the ID and Primary attributes for the Publication tag. Since these pubs are not broken out into fields, you need to read them as “other authored”, so you need the PublicationType tag, You should also repeat the citation within the Citation and Title tags, with a space before the reference in the Citation tag. Finally, you should add the
<NeotomaID>-1</NeotomaID>
tag/element.These will need to be parsed in Tilia in order to upload properly. At a minimum the authors and year will need to be parsed out:
Note that
<Contact ID="1"/>
refers to the ID under Contacts in the Tilia file, i.e. the ID is local to the file: