Create the DESCRIPTION file for the R Data package based on an Exported REDCap Project
write_description_file(access_time, user, roles, project_info, path)write_authors(user, roles = NULL)
The Sys.time()
when the API calls were made
User(s), as noted in the REDCap project meta data. This parameter is singular as it refers to the "user" content one can access from the REDCap API.
roles the user
hold with respect to the R data package.
These roles have no relationship to REDCap roles.
project metadata
path to the root for the generated R data package.
These is a non-exported function and is not expected to be called by the end user.
write_description_file
creates the DESCRIPTION file for the
exported R data package and write_authors
creates the "Authors@R"
field of the DESCRIPTION based on the "user" data extracted from the REDCap
project.