Sign in

Julian Ricardo

@booolio.bsky.social
49 followers 447 following 29 posts

Data carpenter / carpinteiro de dados Climate & energy nerd Cat dad

PostsRepliesMedia
Julian Ricardo @booolio.bsky.social · 17/12/2024
Good shout! In case somebody comes looking for it, Nixtla's got one: github.com/Nixtla/fpp3-...
github.com
GitHub - Nixtla/fpp3-python: Forecasting: principles and practice in python
Forecasting: principles and practice in python. Contribute to Nixtla/fpp3-python development by creating an account on GitHub.
020
Julian Ricardo @booolio.bsky.social · 15/12/2024
📌
010
Julian Ricardo @booolio.bsky.social · 14/12/2024
YMMV, but I am a faithful of the tidytable package for expressing things in a tidyverse style with data.table under the hood. Perhaps not all that different from the dtplyr suggestion here markfairbanks.github.io/tidytable/
markfairbanks.github.io
Tidy Interface to data.table
A tidy interface to data.table, giving users the speed of data.table while using tidyverse-like syntax.
010
Reposted by Julian Ricardo
Teun van den Brand @teunbrand.bsky.social · 14/12/2024
Hi folks! I know it is the weekend, but I'd like to quickly announance an update to {legendry} version 0.2.0: teunbrand.github.io/teunbrand_bl... #rstats #ggplot2
A scatterplot of the gapminder dataset, showing GDP per capita on the x-axis and life expectancy on the y-axis. The points are sized by population, which has a legend with overlapping circles.A correlation heatmap of the mtcars dataset. Car names on the left are decorated with a dendrogram. The bottom cells also have a dendrogram, whereas the labels are on the top.
59418
Reposted by Julian Ricardo
Nico Ritschel @nicoritschel.com · 09/12/2024
For all the folks at the crossroads of Excel & DuckDB, this just went open source
github.com
GitHub - RusselWebber/xlDuckDb: Use DuckDB within Excel with the xlDuckDb addin
Use DuckDB within Excel with the xlDuckDb addin. Contribute to RusselWebber/xlDuckDb development by creating an account on GitHub.
46812
Reposted by Julian Ricardo
Michael Friendly @datavisfriendly.bsky.social · 05/12/2024
#rstats #quarto Do you want to use different versions of a figure for HTML, PDF for online vs. print, perhaps an animated GIF for the former, but a static image for the latter? Here's a discussion of this and solutions, github.com/quarto-dev/q...
github.com
How to provide alternative figures for HTML (.gif) and PDF (.png) versions of a book? · quarto-dev quarto-cli · Discussion #8172
Description Using Quarto: 1.3.450 In a book project I have several animated .gif images for the HTML version, but I need to replace these with static .png images for the LaTeX / PDF version. Follow...
0103
Julian Ricardo @booolio.bsky.social · 05/12/2024
anybody got cheat codes for finding #rstats jobs they're willing to share?
000
Julian Ricardo @booolio.bsky.social · 05/12/2024
s/o to @acastroaraujo.bsky.social for sharing a recursive fn, which I really liked bsky.app/profile/acas...
000
Julian Ricardo @booolio.bsky.social · 05/12/2024
Day 5 of #AdventofCode went smoother for me than yesterday, but I struggled with part 2 until learning from others' solutions
Code in R solving Advent of Code day 5 part 1
120
Julian Ricardo @booolio.bsky.social · 04/12/2024
deep dive? omw
110
Julian Ricardo @booolio.bsky.social · 04/12/2024
Learning just how rusty I am with matrices today.... #AdventofCode #rstats
media.tenor.com
a man wearing sunglasses says " you haven t answered my question "
ALT: a man wearing sunglasses says " you haven t answered my question "
050
Reposted by Julian Ricardo
Shannon Pileggi @pipinghotdata.com · 03/12/2024
R-Ladies Philly 🔔 is thrilled to have @zabore.bsky.social ✨ present "An Introduction to Survival Analysis in R" on Tues, Dec 17. We hope you can join us! 🤗 buff.ly/3OAUxhZ #rstats #rladies
buff.ly
Lunch & Learn: An Introduction to Survival Analysis in R, Tue, Dec 17, 2024, 12:00 PM | Meetup
This talk will provide a general introduction to survival analysis in R. After introducing the concept of and need for survival analysis methods, we will first discuss how
03211
Julian Ricardo @booolio.bsky.social · 03/12/2024
why the calc_muls function? 🤷
000
Reposted by Julian Ricardo
Noam Ross @noamross.net · 03/12/2024
Excited and grateful that R-Universe is R Consortium's newest top-level project! This means sustained support for @rOpenSci.hachyderm.io.ap.brid.gy's platform for discovery and publishing of #rstats packages. Hats off to @jeroenooms.bsky.social for his leadership! ropensci.org/blog/2024/12...
ropensci.org
R-Universe Named R Consortium Top-Level Project
We're excited to announce R-Universe has been named the R-Consortium's newest Top-Level Project.
07628
Julian Ricardo @booolio.bsky.social · 03/12/2024
Day 2 of #AdventofCode stumped me for a while, but thankfully I was able to troubleshoot with others' solutions on here. Moving right along, here's my attempt at day 3 #rstats
Code in R answering day 3 of advent of code
140
Julian Ricardo @booolio.bsky.social · 03/12/2024
posted about it here: jdnricardo.com/posts/advent...
jdnricardo.com
Advent of Code: Day 1 – Julian Ricardo
000
Julian Ricardo @booolio.bsky.social · 03/12/2024
posted about it here: jdnricardo.com/posts/advent...
jdnricardo.com
Advent of Code: Day 1 – Julian Ricardo
000
Julian Ricardo @booolio.bsky.social · 03/12/2024
I used the collapse package to get my answer for day 1, part 2 #rstats #AdventofCode
Code in R to answer day 1 part 2 of the Advent of Code
251
Julian Ricardo @booolio.bsky.social · 03/12/2024
I just completed "Historian Hysteria" - Day 1 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/1
120
Julian Ricardo @booolio.bsky.social · 02/12/2024
Catching up on Advent of Code with my day 1 solution #rstats
Code in R to answer Day 1 of the Advent of Code 2024
130
Reposted by Julian Ricardo
Josiah @josiah.rs · 26/11/2024
I now dedicate the first 20+ lines of my user facing functions to argument validation. I cannot emphasize how helpful this is for preventing bugs. Read about r-lib standalone check: josiahparry.com/posts/2024-0... #rstats
Screenshot of the following code 

arc_read <- function(
    url,
    col_names = TRUE,
    col_select = NULL,
    n_max = Inf,
    name_repair = "unique",
    crs = NULL,
    ...,
    fields = NULL,
    alias = c("drop", "label", "replace"),
    token = arc_token()
) {

  # argument validation
  check_string(url, allow_empty = FALSE)
  check_string(alias, allow_empty = FALSE)
  check_character(fields, allow_null = TRUE)
  check_character(col_select, allow_null = TRUE)

  is_valid_col_names_arg <- rlang::is_logical(col_names, 1) ||
    rlang::is_null(col_names) ||
    rlang::is_character(col_names)

  if (!is_valid_col_names_arg) {
    cli::cli_abort(
      "{.arg col_names} must be one of {.val TRUE}, {.val FALSE},\\
      {.val NULL}, or a character vector of the new column names"
    )
  }

  if (!rlang::is_integerish(n_max, 1)) {
    cli::cli_abort("{.arg n_max} must be a scalar integer.")
  }
58217
Julian Ricardo @booolio.bsky.social · 24/11/2024
giving this a try, but pal keeps prompting me for an anthropic API key after I save a fake one to my .Renviron. did you run into this too?
100
Julian Ricardo @booolio.bsky.social · 24/11/2024
media.tenor.com
two cartoon characters are standing next to each other in a room with a green light behind them
Alt: two cartoon characters are standing next to each other in a room with a green light behind them
000
Reposted by Julian Ricardo
Eric Leung @erictleung.bsky.social · 23/11/2024
just remembered this scales R package function that quickly makes your large dollar amounts into human friendly units, and it takes care of those changing units from say millions to billions #RStats scales::label_dollar(scale_cut = cut_short_scale() reference: scales.r-lib.org/reference/la...
Screenshot of a y-axis of a graph showing that large dollar amounts are shown in human friendly units, like five hundred million dollars and one billion dollars
1607
Julian Ricardo @booolio.bsky.social · 22/11/2024
Yessssssss! I took the plunge a few months ago and found @albertrapp.bsky.social's guide very helpful. a couple years old now so maybe cross-check with another resource? albert-rapp.de/posts/13_qua...
albert-rapp.de
The ultimate guide to starting a Quarto blog – Albert Rapp
This blog post is an in-depth guide on how to start blogging with Quarto.
021
Reposted by Julian Ricardo
Lara @laracrc.bsky.social · 21/11/2024
To celebrate this gem of a book by @statsteph.bsky.social, @ivelasq3.bsky.social and Rebecca Powell on complex survey data with #RStats and the #tidyverse, we are giving away one copy to a lucky winner. To enter, re-post this and follow me by Nov 24. Not affiliated with bsky.
Book cover of the book 'Exploring complex survey data analysis using R', showing a light blue background with a hand-drawn map showing mountains, houses, roads and the sea.
111887
Julian Ricardo @booolio.bsky.social · 22/11/2024
"render_snapshot" works just fine, but when I render the above using "render_highquality", I get all those artifacts 🤷
100
Julian Ricardo @booolio.bsky.social · 22/11/2024
anybody handy with #rstats or #rayshader able to diagnose what's going on here? looks cool but...
Rendered image of forest cover in Portugal, with artifacts from the rendering where there should be negative space
100
Reposted by Julian Ricardo
Jan Broder Engler @jbengler.de · 22/11/2024
The brand new `legendry` package by @teunbrand.bsky.social takes ggplots2 guides to the next level 🤩 teunbrand.github.io/teunbrand_bl...
1623355
Reposted by Julian Ricardo
Melissa Hegeman @mel-likes-maps.bsky.social · 20/11/2024
#30DayMapChallenge Day 13: A new tool. I finally took the leap and experimented with DuckDB to create and access spatial data from #rstats. #gis #duckdb mel-likes-maps.micro.blog/2024/11/1…
092
Julian Ricardo @booolio.bsky.social · 20/11/2024
agree 100% on this. polars was the main reason I waded back into learning python for day-to-day data manipulation, instead of just turning to it for specific applications (e.g. webscraping)
000
Reposted by Julian Ricardo
Jeroen Ooms @jeroenooms.bsky.social · 20/11/2024
The R-universe search engine WebUI now lazy-loads the cards (upon scrolling), such that we can include more results while making the page still load instantly! Have a look, e.g. r-universe.dev/search?q=json
r-universe.dev
R-universe - browse and search R packages
072
Julian Ricardo @booolio.bsky.social · 19/11/2024
Welcome!! I've got my personal blog set up on Quarto! jdnricardo.com
jdnricardo.com
Who am I? – Julian Ricardo
010
Julian Ricardo @booolio.bsky.social · 18/11/2024
📌
000
Julian Ricardo @booolio.bsky.social · 16/11/2024
yesss! getting in the habit of loading up {scales} was a huge upgrade to my workflow. same for the fmt_* helper functions in {gt} gt.rstudio.com/reference/in...
gt.rstudio.com
Package index
010
Julian Ricardo @booolio.bsky.social · 15/11/2024
yup! almost forgot to tag Mark @markfairbanks.bsky.social
010
Julian Ricardo @booolio.bsky.social · 15/11/2024
seems a good place to plug Mark Fairbanks' tidytable, a go-to when I want to code tidy-style and use data.table 🤘 markfairbanks.github.io/tidytable/
markfairbanks.github.io
Tidy Interface to data.table
A tidy interface to data.table, giving users the speed of data.table while using tidyverse-like syntax.
031
Julian Ricardo @booolio.bsky.social · 15/11/2024
I wrote about crunching numbers on power outages, and how one could try to recreate EIA figures on the average number of outages people across the US experience jdnricardo.com/posts/eaglei...
jdnricardo.com
Series: Eagle-Itm – Julian Ricardo
000
Julian Ricardo @booolio.bsky.social · 15/11/2024
Looking for like-minded and maybe some not-entirely-like-minded moots on here #rstats #datascience #energyefficiency #boombap #climate #energy #strictlybops #heatrocks #physics
030
Julian Ricardo @booolio.bsky.social · 15/11/2024
Here on bsky to do my favorite thing... self-promotion! I'm a data scientist with domain expertise in energy systems, env engineering, and being a solid mentor for folks new to analysis (esp in R). I thrive when juggling my own projects while helping others to learn. Please hire me! jdnricardo.com
jdnricardo.com
Who am I? – Julian Ricardo
000