Description Usage Arguments See Also
Exports flat files from the database. One file per practice
1 2 | flat_files(db, table = "Consultation", practice_table = "Practice", out_dir,
file_type = c("txt", "csv", "rda", "dta"), ...)
|
db |
a database connection |
table |
character the table to be exported |
practice_table |
the table that the practice definitions can be found |
out_dir |
a directory to output to. This will be created if it does not already exist |
file_type |
the type of file to be saved. This can be one of "txt", "csv", "rda", "dta". |
... |
arguments to be passed to export_fn Defaults to exporting consultation tables for use by |
match_on_index export_fn
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.