Text-Mining of the 'PubMed' Repository

Easy function for text-mining the 'PubMed' repository based on defined sets of terms. The relationship between fix-terms (related to your research topic) and pub-terms (terms which pivot around your research focus) is calculated using the pointwise mutual information algorithm ('PMI'). Church, Kenneth Ward and Hanks, Patrick (1990) < https://www.aclweb.org/anthology/J90-1003/> A text file is generated with the 'PMI'-scores for each fix-term. Then for each collocation pairs (a fix-term + a pub-term), a text file is generated with related article titles and publishing years. Additional Author section will follow in the next version updates.


pubmed_textmining()

Term-based text-Mining of the 'PubMed' repository. Requires internet access!

The function takes vectors of string as term sets for fix-terms (research topic focus) and pub-terms (terms which can pivot around your research focus). Install the function with devtools::install_github("Moshkante/pubmed_mining") or simply via CRAN. Mining results are given in text format with pointwise mutual information ('PMI'-score) and related article titles and publishing years. More features will be added in the next version.

Example:
fixterms = "bike" #or multiple terms pubterms = c("dangerous", "extreme") output = getwd() #or "YOUR/DESIRED/PATHWAY" pubmed_textmining(fixterms, pubterms, output)

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("PubMedMining")

1.0.0 by Jeff DIDIER, 6 years ago


Browse source code at https://github.com/cran/PubMedMining


Authors: Jeff DIDIER [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports easyPubMed, stringr, utils

Suggests knitr, rmarkdown


See at CRAN