Learn R Programming

epos (version 1.1)

readAtcMapIntoHashMapDrugNamesAtcCodes: Processes the input file db-atc.map to form a HashMap containing the drug names with ATC codes

Description

Processes the input file db-atc.map to form a HashMap containing the drug names with ATC codes

Usage

readAtcMapIntoHashMapDrugNamesAtcCodes(filename, seperator)

Value

atchashda hash with drug names as keys and atc codes as values

Arguments

filename

character vector with the file name of the file db-atc.map

seperator

character vector with the seperator used within the map-file

Examples

Run this code
atchashda <- readAtcMapIntoHashMapDrugNamesAtcCodes(
  system.file("extdata", "db-atc.map", package = "epos"), "\t")

Run the code above in your browser using DataLab