bharrap.bsky.social
doer of data things, mainly in #rstats
biostatistics/data engineering/survey design
Indigenous data sovereignty
currently on Ngunnawal and Ngambri lands
non-binary (they/them)
not Indigenous
benharrap.com
432 posts
1,770 followers
735 following
Regular Contributor
Active Commenter
comment in response to
post
I think you underestimate the ability of academics to write research papers.
Publish or perish, baby!
comment in response to
post
Yessssss underscores for life
comment in response to
post
Love it!
comment in response to
post
I hate letters for wave prefixes... Just write w1_, w2_ etc.
Much easier to code with, much more explicit, and I don't have to keep going "hmmm what number is j again?"
comment in response to
post
I'm going to have to take all these shitpost responses and produce a "what not to do" guide
comment in response to
post
Yes this is part of my plan!
I'm thinking {survey wave}_{topic}_{abbreviated question wording}_{optional identifier for free text/other/question sets}
comment in response to
post
Yes the _ is key for me! Makes it really easy to work with variable names in functions like pivot_wider()
comment in response to
post
Columns! Thanks for the link I'll read it at work tomorrow 😊
comment in response to
post
Ah yeah I'll be having a look at exactly what else I can embed in the variables but labels is definitely on the list
comment in response to
post
Do you mean the variable type? Like strings, factors etc?
comment in response to
post
At the moment I'm planning to encode survey wave (it's longitudinal), topic, and question description in the name.
My priority right now is making the names human readable (within reason) and to avoid excessive reference to the dictionary
comment in response to
post
Absolutely not!
comment in response to
post
Hah yes this one does feel more technically correct
comment in response to
post
What about spill? You spill something and make a spill?
comment in response to
post
I think I enjoyed it but I didn't find the 'do calculus' helpful, I don't remember the book ever getting out of concept/theory into actual application
comment in response to
post
Govt, church, police. Holy trinity of harm.
comment in response to
post
Haha I think posting anything on social media is inviting any replies, right?
comment in response to
post
Being from the UK, I had no idea about this book.
My partner is very keen for us to make cakes from it for our kid's birthdays. The first attempt was a bit rough around the edges but still prompted an exclamation of "CAR!"
Going to have to work on my decorating skills for next year...
comment in response to
post
Yep that's the blog post I started with!
comment in response to
post
The main issue is that when you don't use %nin% you don't get 'March of the pigs' playing in your head as you code
comment in response to
post
I guess it depends on what you do once open the file. If you save and exit, the data is changed. If you change formatting to a number, it gives you the date as a numeric value (like 44603).
comment in response to
post
We are the knights who say %ni%
comment in response to
post
Yes this is another annoying feature!
Postcodes in the Northern Territory are 0### which get truncated 🙃
comment in response to
post
Haha yes I remember this.
I can imagine the date feature causes more problems than it solves
comment in response to
post
My current solution to working on a shared drive is to name the raw data files "raw data DO NOT OPEN WITH MICROSOFT EXCEL.csv"
comment in response to
post
Ahaha brilliant
comment in response to
post
Necessary so that we could have the jokes