Sign in

Julian Ricardo

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

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

PostsRepliesMedia
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
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
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
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
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
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
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
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 · 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
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