R/import-csv.R

Defines functions import_csv

Documented in import_csv

#' Import csv file
#'
#' @param filepath a string indicating the relative or absolute
#'     filepath of the file to import
#'
#' @return a [tibble][tibble::tibble-package] of each row
#'   corrresponding to a line of the text file, with the column named
#'   "text"
import_csv <- function(filepath){
  readr::read_csv(filepath) ## %>%
    ## table_textcol()
}
jcai849/iNZightTA documentation built on Dec. 2, 2020, 6:59 a.m.