Description Usage Arguments Details Value Examples
View source: R/ukbschemas-db.R
ukbschemas_db()
generates an SQLite database containing the UK Biobank
data schemas from http://biobank.ctsu.ox.ac.uk/crystal/schema.cgi
1 2 3 | ukbschemas_db(file = "", path = ".", date_str = Sys.Date(),
overwrite = FALSE, silent = !interactive(), as_is = FALSE,
url_prefix = UKB_URL_PREFIX)
|
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 |
overwrite |
Always overwrite existing files? Helpful for non-interactive
use. Defaults to |
silent |
Do not report progress. Defaults to |
as_is |
Import the schemas into the database without tidying? Defaults
to |
url_prefix |
First part of the URL at which the schema files can be
found. For local repositories, the directory with a trailing delimiter (i.e.
|
ukbschemas_db()
uses ukbschemas to load the schemas and
save_db to save the result.
A database connection object of class RSQLite::SQLiteConnection.
1 2 3 4 | ## Not run:
db <- ukbschemas_db(path = tempdir())
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.