Tom Mock Profile picture
He/Him | Product Manager @posit_pbc👨‍💻 I ❤️ Data, 🌮, tables, Quarto, #tidyverse & #RStats | @thomas_mock@fosstodon.org
Sep 10, 2021 18 tweets 11 min read
So excited to announce the initial release of {gtExtras}, a #rstats 📦 providing "extras for {gt} tables!

🎉🎉🎉

Includes:
💅 4 full themes
🛠️ 12 utility/formatting functions
📊 5 inline plot types
🎨 3 built in color tools

Thread below of functions:

jthomasmock.github.io/gtExtras/ This package is highlighting capabilities that are all _possible_ with {gt} but have repeated boilerplate or wrap multiple function calls internally.

If you haven't updated {gt} recently, make sure to update as gt v0.3 added full support for tidyeval!

gt.rstudio.com/news/index.htm…
Dec 29, 2020 5 tweets 5 min read
Gotten lots of request for this #rstats blogpost:

"Creating and using custom #ggplot2 themes"

- Theme components/elements
- Building your own theme
- Inspiration from @FiveThirtyEight
- 6 Different examples of using the theme
- Full code to reproduce

themockup.blog/posts/2020-12-… There are two primary ways I've built #rstats ggplot themes:
- theme() - Add theme components individually, wrap as a function
- %+replace% - Apply an existing theme and overwriting components of it
Sep 8, 2020 9 tweets 5 min read
1/9

In case you missed it over the long weekend, I put together 45 examples of best practices for building tables in #rstats w/ {gt}!

This includes:
- Example tables (good vs bad)
- Reproducible code for ALL tables
- Links to other resources

themockup.blog/posts/2020-09-… 2/9

@jschwabish put together his "10 Guidelines for tables", which I've adapted to {gt} + #rstats with "good" and "bad" examples.

Jul 27, 2020 6 tweets 3 min read
I spent the weekend putting together a "Meta RMarkdown" blog post!

4 R Markdown Strategies:

1 - Literate Programming
2 - Data Product
3 - Control Document
4 - Template

themockup.blog/posts/2020-07-…

#rstats #datascience #tidyverse 1 - Literate Programming

Use RMarkdown like a reproducible scientific notebook, capturing code, comments, and specific outputs in a output document.

All in plain text that is easily human-readable in version control!
Jan 17, 2020 9 tweets 13 min read
@KTorresStats Hi Katy!

The resume looks good to me!

I'm starting a thread with some ideas.

Goal 1: Connect with #rstats data science community
- Tons of academic and industry here on Twitter
- do informational interviews with acquaintances
- join @RLadiesGlobal Slack @R4DScommunity @KTorresStats @RLadiesGlobal @R4DScommunity Goal here is to meet someone who can get your name to a hiring manager
- referrals == stronger chance of interview/hire
- R4DS and #rladies Slack are places outside Twitter to find job posts, ask questions, network
- Info interviews help you understand what pro DS do/expect