Generates an RMarkdown report for the given REDCap database (
project
object). This function creates an RMarkdown file in the specified directory
or default directory, allowing users to create custom reports based on the
database content.
Arguments
- project
A validated
project
object containing REDCap project data and settings. Generated using load_project or setup_project- dir_other
Character string specifying the directory where the RMarkdown report will be saved. If not provided, it defaults to the
output
directory inside the project's main directory.
Details
This function checks if a directory is specified, and if not, defaults to the
output
folder within the project's directory. It generates the RMarkdown
file that can then be used for further processing or rendering into HTML,
PDF, or other formats.
See also
save_project
for saving the project
object.
Other db_functions:
sync_project()