Adding references to the output

Everything related to the development of modules in jamovi
Post Reply
sfcheung
Posts: 11
Joined: Wed Jan 19, 2022 5:29 am

Adding references to the output

Post 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
sbalci
Posts: 125
Joined: Sat Jan 06, 2018 10:25 pm
Contact:

Re: Adding references to the output

Post 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
sfcheung
Posts: 11
Joined: Wed Jan 19, 2022 5:29 am

Re: Adding references to the output

Post by sfcheung »

Many thanks for the examples! I will try them in my modules.

-- Shu Fai
Post Reply