R/read_data.R

#' read data in 'file_name' as a data frame
#'
#' @param file_name name of the file that contains bike counts
#' @return a data frame with bike counts
#' @export
read_data <- function(file_name) {
  print(paste(file_name, "is ready to be read into R"))
  my_df <- readxl::read_excel(file_name)
  return(my_df)
}
khademul/myfirstpackage documentation built on May 9, 2019, 9:58 p.m.