R/write_to_file.R

Defines functions write_to_file

Documented in write_to_file

#' \code{write_to_file} - Writes a dataframe as a CSV file.
#'
#' @param df The dataframe to write.
#'
#' @param name The name of the output file, as a character object. If a file path is not given,
#' The function assumes cwd.
#'
#' @importFrom readr write_csv
#'
write_to_file <- function(df, name){
  readr::write_csv(df,name)
}
12mre1/geocodr documentation built on Oct. 30, 2019, 4:02 a.m.