Title: | Text-Mining of the 'PubMed' Repository |
Version: | 1.0.0 |
Description: | 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. |
License: | MIT + file LICENSE |
Encoding: | UTF-8 |
LazyData: | true |
RoxygenNote: | 7.1.1 |
Imports: | easyPubMed, stringr, utils |
Suggests: | knitr, rmarkdown |
VignetteBuilder: | knitr |
NeedsCompilation: | no |
Packaged: | 2020-11-11 18:23:57 UTC; Master Jeff |
Author: | Jeff DIDIER [aut, cre] |
Maintainer: | Jeff DIDIER <jeff.didier.001@student.uni.lu> |
Repository: | CRAN |
Date/Publication: | 2020-11-16 16:20:02 UTC |
Pubmed-textmining
Description
Function for text-mining the PubMed repository based on defined sets of terms. The relationship between fixterms (related to your research topic) and pubterms (terms which pivot around your research focus) is calculated using the pointwise mutual information algorithm. A text file is generated with the pmi-scores for each fixterm. Then for each collocation pairs (a fixterm + a pubterm), a text file is generated with related article titles and publishing years. Additional Author section will follow in the next version updates.
Usage
pubmed_textmining(fixterms, pubterms, output)
Arguments
fixterms |
The input argument fixterms refers to any term that strongly relates to your focus of research. Either a string or a vector of strings. |
pubterms |
The input argument pubterms recapitulates any terms you wish to pivot around your research focus. Either a string or a vector of strings. |
output |
The output argument defines the directory you wish to store the generated text files. Default is your current location. |
Value
Returns text files with pmi-scores for each fixterm and text files for every collocation pairs bearing the article titles and publishing years. Authors will follow in the next version.
Examples
## Not run:
fixterms = c("bike", "downhill")
pubterms = c("dangerous", "extreme", "injuries")
output = getwd() #or "YOUR/DESIRED/OUTPUT/PATHWAY"
pubmed_textmining(fixterms, pubterms, output)
## End(Not run)