James Laird-Smith

138 posts

James Laird-Smith banner
James Laird-Smith

James Laird-Smith

@JLS_DataScience

Data Scientist at the @BankofEngland. Previously at the @FinancialTimes and University of Cape Town. 🩴🇿🇦

London, England Присоединился Şubat 2018
337 Подписки232 Подписчики
James Laird-Smith
James Laird-Smith@JLS_DataScience·
Can anyone explain why Kamala Harris hasn't download my R package from CRAN yet? I understand she's on the campaign trail, but all she needs is an internet connection. Technical difficulties? #rstats
James Laird-Smith tweet media
English
0
0
0
193
James Laird-Smith
James Laird-Smith@JLS_DataScience·
#rstats friends, I have a question: given that I have some built R package on disk, what is the blessed/easiest way can I (programmatically) check if it's in source or binary format? Beyond just checking the file extension.
English
0
1
1
343
James Laird-Smith
James Laird-Smith@JLS_DataScience·
This Wednesday (Nov 29th) I'm excited to be giving a webinar to the NHS-R Community on "Customising your R experience"! It's going to be at 1pm GMT. Registration link is here, but it will also be recorded. #rstats nhsrcommunity.com/events/novembe…
English
0
0
0
93
James Laird-Smith
James Laird-Smith@JLS_DataScience·
At 5pm (BST) on Thursday I'm going to be a guest on @posit_pbc's Data Science Hangout speaking about the work I do for the @bankofengland and supporting its 1000 R users. #rstats There's no need to register, you can join the stream using this link: pos.it/dsh
English
0
2
6
1.9K
James Laird-Smith
James Laird-Smith@JLS_DataScience·
Is it wrong that, when the NYT crossword clue is "something to stub", my first thought is 'function' and not 'toe'? 😅 #rstats
English
0
0
0
243
James Laird-Smith
James Laird-Smith@JLS_DataScience·
@EmilyRiederer I always do this too 🙈. Maybe we should start templating the date field with stop() if it's in the past? #rstats
English
0
0
1
103
Emily Riederer
Emily Riederer@EmilyRiederer·
That awkward moment when you notice your deck for a talk about (largely) data quality has the wrong date on the cover slide 🤦🏻‍♀️
English
2
0
8
941
James Laird-Smith
James Laird-Smith@JLS_DataScience·
@ajordannafa Do you have recommendations for where I could read more about this?
English
1
0
0
47
James Laird-Smith
James Laird-Smith@JLS_DataScience·
There's a lot of be said for removing cognitive overhead for developers. By using withr I'm saved the decision of where to put temporary directories or remembering to reset compiler flags. A huge thank you to the authors for this very sleek and amazingly useful package!
English
0
0
0
55
James Laird-Smith
James Laird-Smith@JLS_DataScience·
Here's an example where I create a function to install a package in a temporary directory, with temporary libpaths and with temporary compiler flags. And it's just so straightforward! I don't need to worry about global state because I know withr will take care of it for me.
James Laird-Smith tweet media
English
1
0
0
91
James Laird-Smith
James Laird-Smith@JLS_DataScience·
I've been doing a bunch of #rstats package 📦 install testing this week. And the withr package (as usual!) just makes the experience so much easier and cleaner. 🤩👇
James Laird-Smith tweet media
English
1
0
0
182
James Laird-Smith
James Laird-Smith@JLS_DataScience·
After a hard day of wrangling data from APIs, I'm very seriously considering naming my first child `tidyr::unnest_wider()`. I mean, just look how easy it makes converting highly nested JSON into a tidy data frame?! 🤩 Friday #rstats fun!
James Laird-Smith tweet media
English
0
0
3
211
James Laird-Smith
James Laird-Smith@JLS_DataScience·
Have you ever wanted to generate random but readable strings? Like for files or folders? Today's Friday #rstats fun is thanks to @rgfitzjohn for the ids package📦 and its wonderful `adjective_animal()` 😻function.
James Laird-Smith tweet media
English
0
3
7
1.5K
James Laird-Smith
James Laird-Smith@JLS_DataScience·
Today's Friday #rstats fun: I discovered the (experimental) `tree()` function in the lobstr package for the pretty-printing of lists. So much cleaner than `str()`! 😍🗒️ Thanks @NicholasStrayer!
James Laird-Smith tweet media
English
0
6
33
2.5K
James Laird-Smith
James Laird-Smith@JLS_DataScience·
@polesasunder I used to. Then I learned how few papers actually publish their data and code in full.
English
0
0
0
69
Andrew MacDonald 🌈
Andrew MacDonald 🌈@polesasunder·
When I see an interesting paper, my impulse is always to try to get the data and play with it myself. Anyone else feel this way?
English
3
1
25
4.5K