Page 1 of 1

Adding references to the output

Posted: Tue Mar 01, 2022 12:28 am
by sfcheung
By default, some references are added to the output. I like this feature because they can help users want to read to understand more about the results.

Is there any way for a module to add more references this way? Should we do this through the Results element?

-- Shu Fai

Re: Adding references to the output

Posted: Tue Mar 01, 2022 6:05 am
by sbalci
Hi,

You make 00refs.yaml like this: https://github.com/sbalci/meddecide/blob/master/jamovi/00refs.yaml

Then in r.yaml add the reference

For overall reference use like: https://github.com/sbalci/meddecide/blob/master/jamovi/decisioncalculator.r.yaml#L250

For specific analysis based reference use like: https://github.com/sbalci/meddecide/blob/master/jamovi/decisioncalculator.r.yaml#L210

Re: Adding references to the output

Posted: Tue Mar 01, 2022 6:29 am
by sfcheung
Many thanks for the examples! I will try them in my modules.

-- Shu Fai