Title: | Text-Mining of the 'PubMed' Repository |
---|---|
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. |
Authors: | Jeff DIDIER [aut, cre] |
Maintainer: | Jeff DIDIER <[email protected]> |
License: | MIT + file LICENSE |
Version: | 1.0.0 |
Built: | 2024-12-11 07:22:55 UTC |
Source: | CRAN |
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.
pubmed_textmining(fixterms, pubterms, output)
pubmed_textmining(fixterms, pubterms, output)
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. |
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.
## 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)
## 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)