Convert all csv files in a folder to xlsx and rds files

batch_convert_csv(
  folder,
  xlsx = TRUE,
  rds = TRUE,
  move_csv = "",
  dec = ".",
  sep = ",",
  ...
)

Arguments

folder

Character string with source folder

xlsx

If TRUE creates xlsx files.

rds

If TRUE creates rds files.

move_csv

If not an empty string it names a folder to move csv to after conversion

dec

Decimal sign

sep

Separator sign

...

Further functions for the underlying read.csv. (e.g. fileEncoding = "WINDOWS-1252")

Value

Writes xlsx and/or rds files into the source folder for each csv file.