In using the RISmed- R-package for automating data(abstract/author/affiliation etc.) retrieval from Medline, I can't retrieve multiple affiliations using the Affiliation() method. Only a first author's affiliation is retrieved even through multiple are available. From the https://www.nlm.nih.gov/bsd/mms/medlineelements.html#ad it appears that after Dec 2014 multiple affiliations are included in the affiliation field. Analogously the Author() method retrieves a list that contains multiple data frames accounting for all author data. Does anyone know if the Affiliation() method can do the same?
For example: In retrieving affiliations for : https://www.ncbi.nlm.nih.gov/pubmed/28578058 note from the link that there are 4 different affiliations. When executing the code below only first one is returned:
library(RISmed)
RetrievePub <- EUtilsGet(28578058)
#Retrieve authorship
AData <- data.frame(Author(RetrievePub))
Results_Authors = paste(paste(AData$ForeName, AData$LastName),
collapse = " | ") #flatten data frame into string
print(Results_Authors)
#Retrieve affiliation
Results_PubAffiliation = Affiliation(RetrievePub)
print(Results_PubAffiliation)