write_description_file: Write Description File

Description Usage Arguments Details

View source: R/write.R

Description

Create the DESCRIPTION file for the R Data package based on an Exported REDCap Project

Usage

1
2
3
write_description_file(access_time, user, roles, project_info, path)

write_authors(user, roles = NULL)

Arguments

access_time

The Sys.time() when the API calls were made

user

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

roles the user hold with respect to the R data package. These roles have no relationship to REDCap roles.

project_info

project metadata

path

path to the root for the generated R data package.

Details

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.


REDCapExporter documentation built on Feb. 2, 2021, 5:15 p.m.