#PsyTeachR

2024-12-18

πŸ“¦ {flashr} 0.2.0 is out! ⚑
The R package {flashr} creates flashcards for learning R functions or other things. The new version can extract R functions from R Markdown and Quarto documents, which can be used to create flashcard decks.

Blogpost: jeffreyrstevens.github.io/post

* extract_code() grabs content of code blocks
* extract_functions() grabs all R functions in the code text
* build_functions_df() creates a data frame that flashcard() can use to create slides
* automatically populates function definitions from jeffreyrstevens.github.io/flas

With {flashr} you can view/build existing decks from R for Data Science and PsyTeachR (jeffreyrstevens.github.io/flas) or build your own decks extracted from other books and sources.

Feedback is welcome on other decks or ideas for improvements!

#RStats #QuartoPub #R4DS #PsyTeachR

flashr hex logo with lightning bolts striking the word flashr.
2024-01-10

Very much looking forward to presenting this at the Teaching Programming to Non-Programmers: Edinburgh Winter School 2024 tomorrow. The theme for the day is pairs programming.

cdcs.ed.ac.uk/teaching-program

#PsyTeachR #ReroducibleCode #OpenScience #Teaching #Pedagogy

A PowerPoint slide about Code Peer Review Classroom Sessions. The text says: 

Aim: develop skills in reproducible coding
What we did: lab session; students submit their group project scripts as Rmardown files on a Moodle forum  before class; in class peer review of 2-3 other groups’ code; transparent feedback
Supports skills: time management for group projects; builds confidence in coding; practice code review; practice making reproducible analysis
What you need: a template script helps students to make code that peers can understand
2023-09-27

Message from my colleague Tom Beesley (@tombeesley)
"If you work in a university psychology department and teach (or want to teach) statistics using R, then we have a new mailing list for open discussion. We discuss strategies / experiences around teaching R, upcoming workshops, etc."

jiscmail.ac.uk/cgi-bin/webadmi

#RStats #psychology #academicchatter #PsyTeachR

Lisa DeBruine πŸ³οΈβ€πŸŒˆdebruine@tech.lgbt
2023-08-08

I’ve transferred some of the stickers from my old laptop to the new one, but some didn’t survive and I have room to fill. Anyone want to trade stickers (especially 50mm hex)? I can send #PsyTeachR, #ManyFaces, #PsySciAcc and/or progress pride stickers (all matte vinyl)

A laptop with stickers (pride and coding themed) and a big empty space
2023-08-07

This pops up on my memories every year & it's such a stark reminder of how lucky I am to be part of #psyteachr, how badly most psychology training fails its graduates, how vital coding skills are for everyone, & how incomprehensible it is that this opinion is still the minority.

Every year we teach a wildly diverse cohort of 700 new UGs & ~300 new PGT conversion students #rstats. It's demonstrably not true that it's not possible to teach psych students to code. The only people who can't learn to code are those who are not taught or given the time to learn.

All our materials are open-access with creative commons licences & we're also happy to give advice on how to make the switch. Every year another psych department switches to R - don't be the last to see the light!

psyteachr.github.io/

Facebook memory screenshot. Attention all PhD students. Go and open every exel and ssp file you have. Label all the sheet names. Give all the variables proper names. Create detailed notes explaining exactly what is in the file, what you have done to the data, what is left to do, what are the differences between any versions you have. This will take you hours. When you come to write uo you will tha k me because you wont be sitting there with a bunch of numbers thay have absolutely no meaning like I am right now.
Lisa DeBruine πŸ³οΈβ€πŸŒˆdebruine@tech.lgbt
2023-06-20

I’m at the University of Sheffield today for the Perspectives on Teaching Reproducibility symposium at the Teaching Reproducible Research and Open Science conference.

sheffield.ac.uk/smi/events/tea

I’ll add links and notes about the day in this thread #OpenResearch #reproducibility #psyTeachR

Phil McAleermcaleerp
2023-06-19

Today, thanks to the brilliant MarkR package from , I was able to rapidly re-render 300 student feedback documents in under 5 minutes, quickly fixing my inability to spell correctly on Mondays. The only downside was that I changed PYCH to PYSCH and not PSYCH as intended but you win some you lose some!

Link: psyteachr.github.io/markr/

Phil McAleermcaleerp
2023-06-19

This brilliant conference on embedding open science principles in research methods teaching starts tomorrow and if you are in the vicinity you should definitely check it out. A special mention & encouragement to check out the talks of members Helena Paterson (@HelenaPaterson) & Lisa DeBruine (@debruine)

sheffield.ac.uk/smi/events/tea

Phil McAleermcaleerp
2023-05-24
Phil McAleermcaleerp
2023-05-24

One of the lesser known but hugely effective packages from is markr. Developed by @debruine and @HelenaPaterson, and a little bit by me, its function is to create individual feedback documents, for students, from spreadsheets and other types of input. Check it out below and please ask questions if interested.

Link: psyteachr.github.io/markr/

Background: m.youtube.com/watch?v=Du8Xx9lW

Demo: m.youtube.com/watch?v=X8iz9w1w

Lisa DeBruine πŸ³οΈβ€πŸŒˆdebruine@tech.lgbt
2023-05-17

webexercises 1.1.0, the #PsyTeachR #rstats package for interactive quizzes in HTML documents, is now available on CRAN! The new version works in quarto documents and has checked quiz sections that reveal the answers after completion.

(Developed by @dalejbarr and @debruine)

psyteachr.github.io/webexercis

Checked quiz interface, showing questions before and after clicking on a button labelled "Show Answers"
Lisa DeBruine πŸ³οΈβ€πŸŒˆdebruine@tech.lgbt
2023-04-27

I’m doing reproducibility checks on the final assessment scripts for applied data skills and so happy with past me for writing a useful script to (mostly) automate it! #rstats #PsyTeachR

Lisa DeBruine πŸ³οΈβ€πŸŒˆdebruine@tech.lgbt
2023-04-25

So not many people were keen on a weekly zoom for the intro to R packages (focussing on research project packages), but @mcaleerp suggested an intensive course. Would people be interested in a (free) 2-day course this summer covering setting up a package project, creating functions, documenting them with roxygen, creating vignettes, unit testing, package testing, version control with git, and distribution with github? It could be in Glasgow (my preference) or on Zoom, but not hybrid. #rstats #PsyTeachR

psyteachr.github.io/intro-r-pk

Lisa DeBruine πŸ³οΈβ€πŸŒˆdebruine@tech.lgbt
2023-04-20

Would anyone be interested if I re-ran the live weekly zooms for coding club on creating an R package for a research project? #rstats #CodingClub #PsyTeachR

psyteachr.github.io/intro-r-pk

Lisa DeBruine πŸ³οΈβ€πŸŒˆdebruine@tech.lgbt
2023-03-29

I’m off to Bath to give a workshop based on our #psyTeachR #rstats dataviz tutorial, and then speak about why psychologists need to code at the launch event for their R training project. I’ll be there until Sunday if anyone nearby wants to meet up.

psyteachr.github.io/introdatav

debruine.github.io/why-code/

2023-03-10

Delighted to share that will be in Washington DC for #aps23dc where I'll be giving a workshop on our paper "Data visualization using R for researchers who don't use R" so if you ever wanted to learn #rstats from a #PsyTeachR in person, now's your chance!

psychologicalscience.org/conve

Original paper at journals.sagepub.com/doi/10.11

Also pls send DC recs for things to do (especially super queer ones)

#dataviz

Lisa DeBruine πŸ³οΈβ€πŸŒˆdebruine@tech.lgbt
2022-12-16

Shameless plug for @emilynordmann and my #PsyTeachR Applied Data Skills microcredential course. You can enrol up to January 16 for the 10-week course starting January 23.

This course provides an overview of the basic #rstats skills needed to transform raw data into informative summaries and visualisations presented in professional reports and presentations. (There is no inferential stats content.)

gla.ac.uk/study/microcredentia

Learner Feedback: SC Upskilling Microcredentials Courses: β€œWhen I began this course, I didn't have a lot of self-confidence, and there were elements of my current role which I felt warranted knowledge and skills that I just didn't have yet. Completing it confirmed a belief that data and coding are not only areas I am interested in, but that I am capable of being good at.” -Emma Smillie, Applied Data Skills for Processing and Presenting Data
2022-12-11

@strangeseawolf @doctorwanderer I really like the material by (among others) @debruine

And covers two of your topics, and 😊

psyteachr.github.io/resources.

Lisa DeBruine πŸ³οΈβ€πŸŒˆdebruine@tech.lgbt
2022-12-09

I'm enjoying @emilynordmann's RIOTS talk on "R is for Reproducibility". See the #PsyTeachR preprint for further discussion of the themes from her talk. #rstats

psyarxiv.com/hq68s

Phil McAleermcaleerp
2022-11-12

@debruine Really nice to see threaded out like that! Thanks Lisa. Sort of amazes me sometimes that most of us had never used six or seven years ago and were not about or back then. The field has got a long way to go for sure but it is also good to see how far things have come across the with all the different resources out there these days!

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst