read_mesh_file: Download and parse an ASCII MeSH File

Description Usage Arguments

View source: R/read-mesh-file.R

Description

If the string passed in matches a local filename it will be read in locally, otherwise it will be downloaded. NOTE: large files take a while.

Usage

1
read_mesh_file(fil, wide = FALSE)

Arguments

fil

filename of a local ('.bin') ASCII MeSH file to parse or downlaod and parse. 'fil' will be checked to see if it exists locally and if not the 'nlmpubs.nlm.nih.gov' prefix FTP URL will be added to the file and the file will be read into memory before parsing.

wide

if 'TRUE' then the repeating column names will be made unique and spread out into a wide data frame; otherwise a data frame with nested columns will be returned.


hrbrmstr/whatamesh documentation built on May 22, 2019, 2:18 p.m.