Learn R Programming

naryn (version 2.6.30)

emr_download_example_data: Download example database

Description

Download an example database which was simulated to include an example of a typical EMR database.

Usage

emr_download_example_data(dir = getwd(), temp_dir = tempdir())

Value

None. The database is saved under the name `sample_db` in the specified directory.

Arguments

dir

Directory to save the database to. Default: current working directory.

temp_dir

Directory to save the temporary downloaded file to. Change if your system has a small `/tmp`` directory

Examples

Run this code
# \donttest{
emr_download_example_data()
# }

# \dontshow{
unlink("sample_db", recursive = TRUE)
# }

Run the code above in your browser using DataLab