downloadFMA: Download Freetext Matching Algorithm from the master GitHub...

Description Usage Arguments Details Value Author(s) See Also

View source: R/downloadFMA.R

Description

Downloads the latest version of the Freetext Matching Algorithm to the temporary folder (or other specified folder) so that it can be used to analyse free text by calling doAnalysis. Alternatively, to use specific versions of the program or lookups, run demo().

This function also sets the options CALIBERfma_dir_R, CALIBERfma_dir_win and CALIBERfma_command. This allows doAnalysis to be run immediately afterwards without needing to manually set these options.

Usage

1
downloadFMA(filename = "fma15command.exe")

Arguments

filename

a character string with the name of the Freetext Matching Algorithm executable

Details

Git must be installed. This function uses Unix system commands to create a directory 'fma' in the R temporary directory, and subdirectories 'program' and 'lookups'. The online Git repositories 'freetext-matching-algorithm' and 'freetext-matching-algorithm-lookups' are downloaded into these folders; the relevant binary file and lookup tables are moved out into the 'fma' directory and the R options are set to this directory.

Value

None

Author(s)

Anoop Shah

See Also

doAnalysis


CALIBERfma documentation built on May 2, 2019, 5:25 p.m.