R/utils.R

determineType <- function(infile){
    read_excel(infile, sheet = "CONCEPTS", col_names = TRUE ) %>>%
        data.table %>>%
        select(
            concept_id = `Concept Code`,
            type = Type
        )->
        data

    return(data)
}
jcizel/snlutils documentation built on May 18, 2019, 10:25 p.m.