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

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

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

Value

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

Examples

# \donttest{
emr_download_example_data()
#> Extracting data...
#> Downloaded example database to /tmp/Rtmp9qUkld/file1309ae21ce2b/reference/sample_db
# }