rename_and_move_files: Rename and move files

Description Usage Arguments Value

Description

Takes a list of surgery sheet file names, looks to see if there is an animal procedure on the date corresponding to the date indicated by the filename. If there is the file is copied to the appropriate year directory and renamed.

Usage

1
rename_and_move_files(conn, all_files)

Arguments

conn

database connection object

all_files

character vector of one or more files

Value

A list containing moved_files, bad_file_count, surgery_sheet_count, and the failed_to_copy_count.


rmsharp/renameSurgerySheets documentation built on May 8, 2019, 2:46 p.m.