Plain text in output

Everything related to the development of modules in jamovi
Post Reply
WolfgangLenhard
Posts: 10
Joined: Sun Jun 28, 2020 7:38 am

Plain text in output

Post by WolfgangLenhard »

Dear all,
many thanks for JAMOVI and the terrific developer tutorial. I am currently working on a new package and I am struggling with the output. Is there a way to include pure text? There is the 'Preformatted' type in the *.r.yaml files. Could you give me a hint, where to find information on which types are possible. Additionally: Is there a way to include a reference in the output, pointing to the original R package?

Thanks and with best regards,
Wolfgang
sbalci
Posts: 124
Joined: Sat Jan 06, 2018 10:25 pm
Contact:

Re: Plain text in output

Post by sbalci »

For references prepare a 00refs.yaml under jamovi like: https://github.com/sbalci/ClinicoPathJamoviModule/blob/master/jamovi/00refs.yaml

For plain text:
https://github.com/sbalci/ClinicoPathJamoviModule/blob/master/R/tableone.b.R#L24
https://github.com/sbalci/ClinicoPathJamoviModule/blob/master/R/reportcat.b.R#L47

Best wishes
WolfgangLenhard
Posts: 10
Joined: Sun Jun 28, 2020 7:38 am

Re: Plain text in output

Post by WolfgangLenhard »

Many thanks!
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Plain text in output

Post by jonathon »

hi wolfgang,

you'll find different results types for the .r.yaml file described here:

https://dev.jamovi.org/api_results-definition.html

cheers
WolfgangLenhard
Posts: 10
Joined: Sun Jun 28, 2020 7:38 am

Re: Plain text in output

Post by WolfgangLenhard »

Hi Jonathan,
I had a look at one of your modules at GitHub (PsychoPDA) and this helped me a lot in styling the output and the GUI in addition to the great developer tutorial. I am currently testing and polishing and I would like to contribute the module to the Jamovi library - as soon as it works flawlessly. Can you tell me the way to proceed? What are the mandatory steps / criteria to get it included in the library?

The module is as well on psychometrics, more specifically on regression based continuous norming. There is already a GUI available via https://www.psychometrica.de/cNorm_gui_en.html but JAMOVI would take this still a step further in terms of ease of usage. I tried to strip it down as far as possible in order to make the procedure applicable without deeper statistical knowledge on data modelling.

And finally: We switched methodological teaching at our institute completely to Jamovi (and R for the advanced students). And we advocate the use of Jamovi. This is really an awesome project!

Cheers,
Wolfgang

P.S.: For text output, I switched to the Html element in addition to tables and plots.
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Plain text in output

Post by jonathon »

great to hear wolfgang! :)

when you're ready, commit the module to a git repo (i'd encourage you not to commit the build folder), then drop us a line at contact <at> jamovi.org. we usually do a bit of a review, and then after a bit of back and forth, add it to the library.

cheers

jonathon
Post Reply