Plain text in output

Everything related to the development of modules in jamovi

by WolfgangLenhard » Mon Jun 29, 2020 2:45 pm

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
WolfgangLenhard
 
Posts: 3
Joined: Sun Jun 28, 2020 7:38 am

by sbalci » Mon Jun 29, 2020 5:19 pm

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

by WolfgangLenhard » Mon Jun 29, 2020 6:53 pm

Many thanks!
WolfgangLenhard
 
Posts: 3
Joined: Sun Jun 28, 2020 7:38 am

by jonathon » Wed Jul 01, 2020 10:29 am

hi wolfgang,

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

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

cheers
User avatar
jonathon
 
Posts: 1379
Joined: Fri Jan 27, 2017 10:04 am

by WolfgangLenhard » Wed Jul 01, 2020 2:25 pm

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.
WolfgangLenhard
 
Posts: 3
Joined: Sun Jun 28, 2020 7:38 am

by jonathon » Thu Jul 02, 2020 1:41 am

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
User avatar
jonathon
 
Posts: 1379
Joined: Fri Jan 27, 2017 10:04 am


Return to Module development