Description Usage Arguments Details Value Examples
save_db()
saves a list of UK Biobank data schemas (or, if as_is == TRUE
,
any list of tibbles) to an SQLite database
1 2 |
sch |
List of tibbles, representing UK Biobank data schemas (unless
|
file |
The filename for the schema database. Defaults to |
path |
The path to the directory where the file will be saved. Defaults
to |
date_str |
The date-stamp for the default filename. Defaults to the
current date in |
silent |
Do not report progress. Defaults to |
overwrite |
Always overwrite existing files? Helpful for
non-interactive use. Defaults to |
as_is |
Import the schemas into the database without tidying? Defaults
to |
save_db()
takes a list of UK Biobank schemas and saves
them to an SQLite database. If !as_is
, they are tidied. Note that if the
table structure has changed (i.e. has been changed by UK Biobank), then the
function may fail partially or fully unless as_is == TRUE
.
A database connection object of class RSQLite::SQLiteConnection.
1 2 3 4 5 | ## Not run:
sch <- ukbschemas()
db <- save_db(sch, path = tempdir())
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.