Description Usage Arguments Value
Generate 'df.text' and 'df.code' objects starting from a floder with a plenty of JSON files. These objects can then be given to function 'buildFromDF' in order to build a predictive model.
1 | csvFromJSONs(jsFolder, diagsPath, corpusName, serviceName)
|
jsFolder |
path to your local folder containing JSON files. |
diagsPath |
path to your local RData file containing diagnostics (codes). The file must contain an object called "Diagnostics" with at least two columns ('NDA', and 'ACTE'). |
corpusName |
choose a name for your corpus. |
serviceName |
choose a service name from the built-in services: {'urologie', 'chirgen', 'chirplas', 'chirmaxfac'}. This argument is used to choose the right UH (Hospital Unit) as well as the right variables from the JSON. If you don't want any restriction regarding UH and VAR, please set serviceName to 'gen'. |
a list of two dataframes: 'texts' and 'codes' to be given separately to function 'buildFromDF'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.