We decided the equivalent of the current RequiredFormat function will be the first function used by the user/Shinny app.
Technically it should be split in at least two functions:
RequiredFormat_interaction:
which will will ask the user:
[ ] column names to standardize name equivalences
[ ] extra info needed and not stored in columns
---> same info is asked by Shiny app ATTENTION: ANYTHING ASKED in SHINY APP SHOULD BE ENTERED IN THIS FILE (which I may need to move - also I could try to use that file to generate what is asked in RequiredFormat_interaction... I need to look into it).
The output should be a list containing things like column names equivalences and values for arguments need in other "calcul" functions
RequiredFormat_calcul
which will take the output of RequiredFormat_interaction and:
[ ] transform the format to a long format if necessary
[ ] rename the column to the standard names
[ ] add/populate necessary columns (making sure the user knows about that)
[ ] make unit conversions
[ ] ...
The output of RequiredFormat_calcul is a data.table in [this]([@VincyaneBadouard: please insert link to a RData file that is in perfect format for your functions]) standardize format, which is the format used by all other functions (mainly developped by @VincyaneBadouard).
(@VincyaneBadouard feel free to edit to add to the lists + add what you think is important for this function)
We decided the equivalent of the current
RequiredFormat
function will be the first function used by the user/Shinny app.Technically it should be split in at least two functions:
RequiredFormat_interaction
:which will will ask the user:
---> same info is asked by Shiny app ATTENTION: ANYTHING ASKED in SHINY APP SHOULD BE ENTERED IN THIS FILE (which I may need to move - also I could try to use that file to generate what is asked in
RequiredFormat_interaction
... I need to look into it).The output should be a list containing things like column names equivalences and values for arguments need in other "calcul" functions
RequiredFormat_calcul
which will take the output of
RequiredFormat_interaction
and:The output of
RequiredFormat_calcul
is a data.table in [this]([@VincyaneBadouard: please insert link to a RData file that is in perfect format for your functions]) standardize format, which is the format used by all other functions (mainly developped by @VincyaneBadouard).(@VincyaneBadouard feel free to edit to add to the lists + add what you think is important for this function)