7 Followers
128 Following
57 Posts

"Research slave" in public healthcare living in πŸ‡ΈπŸ‡¬

#rstats and photography enthusiast

I don't know what I don't know

Twitterhttps://twitter.com/simplify_ed

I just released a new version of the #RStats package {charlatan} version 0.6.1. https://cran.r-project.org/package=charlatan

You can use charlatan to create realistic fake data. You can create fake data for in class room exercises, as test material before you have real users, or as a talking example when you talk to stakeholders about data modeling.

I have worked on the package over the last years but I did not push a new version to CRAN. So what is new, and why the minor bump (from 0.5.1)?

charlatan: Make Fake Data

Make fake data that looks realistic, supporting addresses, person names, dates, times, colors, coordinates, currencies, digital object identifiers ('DOIs'), jobs, phone numbers, 'DNA' sequences, doubles and integers from distributions and within a range.

I use targets package heavily every day, but the following article gave me new insights.
https://carpentries-incubator.github.io/targets-workshop/index.html

tarchetypes package is very useful!
#rstats

Introduction to targets: Summary and Setup

Three short stories about targets – Notes from a data witch

In which our intrepid adventurer turns a hacky data visualisation exercise into an analysis pipeline; builds an R blog with litedown and targets; and tries to wrap her head around the crews integration for multithreaded target building

Notes from a data witch

Some people have very short memories.

When nothing happens, the culprit conveniently forgets.

When something happens, the culprit starts a witch hunt.

πŸ€·πŸ»β€β™‚οΈ

So {targets} is a great package, but sometimes it creates friction when working interactively. So today, I made a little helper function to load a selection of targets. It allows me to bind this to a shortcut key in VSCode that will load all the highlighted targets.

So far, it is going very well for when I am debugging a function and need to load a bunch of targets into memory. #rStats #workflow

And all that positivity is gone within 2 days.

At this rate, I'm going to become an extremely cynical person.

Is this a sign of depression?

I recently have a strangely good feeling that things are somehow falling into place nicely.

It's strange as I haven't felt like this in a really, really long time.

I hope that I don't jinx it by putting it out here 🀞🏼

Parquet has steadily won over much of #RStats world as a CSV replacement but the real barrier to adoption is that you can't open parquet files in Excel
I think it’s time for some #RStats package love. Share a package that makes your life/work easier when you use it, or that sparks joy at how beautifully it addresses a problem you need to solve. For me it is the {targets}  package and associated friends. I don’t have to worry if something has run or not because targets takes care of it. #PackageLove @lwpembleton

@danwwilson @lwpembleton

#rdatatable
{data.table}

Was quite scared of it, didn't want to learn it really, but it kept cropping up as a solution.
Took the plunge, realised that it was not as hard as it seemed, and now, yeah, I think I love it.
It helped me massively with {runcharter}, and could not have done {patientcounter}without it..(fun fact, the person who inspired me to write that package has never used it. Luckily, plenty other NHS analysts have found it useful)