cc_from_file | R Documentation |
cc_from_list
, as this prevents usernames and passwords being included in source code.This function will read a JSON file containing options used to build a clinical dictionary object. This is used by subsequent functions
to direct building and querying. For security reasons, for non-SQLite databases this function is preferred to cc_from_list
, as this prevents usernames and passwords being included in source code.
cc_from_file(dict_type, json_file)
dict_type |
Clinical concept dictionary type. Currently supported are NHSReadV2, NHSReadV3, NHSICD10 and NHSSnomedCT |
json_file |
Location of JSON file containing options to use to create a clinical dictionary object |
cc_from_list
## Not run: config_file<-paste0(system.file(package="clinconcept"),"/extdata/dictconfig.json")) dict<-cc_from_file("NHSReadV3",config_file) #clinical dictionary object then passed to other functions ... # extdata/dictconfig.json file { "type":"sqlite" "dbname":"/path/to/sqlitedb.sqlite" } ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.