ropensci / europepmc

R Interface to Europe PMC RESTful Web Service
https://docs.ropensci.org/europepmc
27 stars 8 forks source link

add MeSH qualifer to epmc_details #8

Closed cstubben closed 7 years ago

cstubben commented 8 years ago

Most papers list a species as a MeSH descriptor, but you need the qualifier to know what the study is actually about (and if its a major topic). Compare these MeSH terms for pmid 25730202 with the output from epmc_details.

Chlamydomonas reinhardtii/genetics*
Chlamydomonas reinhardtii/growth & development
Amino Acid Sequence/genetics*
Phenotype
Mutation*
Polymorphism, Single Nucleotide

epmc_details(25730202)$mesh_topic
 majorTopic_YN                        descriptorName
             N             Chlamydomonas reinhardtii
             N                   Amino Acid Sequence
             N                             Phenotype
             Y                              Mutation
             N       Polymorphism, Single Nucleotide
njahn82 commented 8 years ago

Agreed. Will add it in the upcoming version.

njahn82 commented 8 years ago

Added MeSH qualifiers to epmc_details. Hope , it helps.

Headings

epmc_details(25730202)$mesh_topic
##   majorTopic_YN                        descriptorName
## 1             N             Chlamydomonas reinhardtii
## 2             N                   Amino Acid Sequence
## 3             N                             Phenotype
## 4             Y                              Mutation
## 5             N       Polymorphism, Single Nucleotide
## 6             N                                Genome
## 7             N                                 Light
## 8             N High-Throughput Nucleotide Sequencing

Subheadings / Qualifiers

epmc_details(25730202)$mesh_qualifiers
##              descriptorName abbreviation        qualifierName
## 1 Chlamydomonas reinhardtii           GE             genetics
## 2 Chlamydomonas reinhardtii           GD growth & development
## 3       Amino Acid Sequence           GE             genetics
##   majorTopic_YN
## 1             Y
## 2             N
## 3             Y