Here is a cheatsheet using stringr: rstudio.github.io/cheatsheets...
I probably use stringr::str_replace() once every other day...
to clean up metadata (of course!) #rstats
Here is a cheatsheet using stringr: rstudio.github.io/cheatsheets...
I probably use stringr::str_replace() once every other day...
to clean up metadata (of course!) #rstats
This update brings performance gains and new fns for string manipulation in #RStats.
Highlights include: Faster replacements with `str_replace_all()`, 🐫 new case tools to camel, snake, and kebab, case-sensitive str_like(), & more.
Read more: tidyverse.org/blog/2025/11...
This update brings performance gains and new fns for string manipulation in #RStats.
Highlights include: Faster replacements with `str_replace_all()`, 🐫 new case tools to camel, snake, and kebab, case-sensitive str_like(), & more.
Read more: tidyverse.org/blog/2025/11...
This update brings performance gains and new fns for string manipulation in #RStats.
Highlights include: Faster replacements with `str_replace_all()`, 🐫 new case tools to camel, snake, and kebab, case-sensitive str_like(), & more.
Read more: tidyverse.org/blog/2025/11...
Instead of barfing a package's entire namespace into your environment when you don't need to:
library(stringr, include.only = c("str_extract", "str_remove"))
#rstats
Instead of barfing a package's entire namespace into your environment when you don't need to:
library(stringr, include.only = c("str_extract", "str_remove"))
#rstats
x <- c("8", "10", "1", "40")
str_sort(x, numeric = TRUE)
[1] "1" "8" "10" "40"
x <- c("8", "10", "1", "40")
str_sort(x, numeric = TRUE)
[1] "1" "8" "10" "40"
#rstats
dplyr &
tidyr &
ggplot2 &
readr &
readxl &
writexl &
haven &
dbplyr &
purrr &
stringr &
forcats &
lubridate &
rvest &
janitor &
rio &
tidytext
…into #julialang
#rstats
dplyr &
tidyr &
ggplot2 &
readr &
readxl &
writexl &
haven &
dbplyr &
purrr &
stringr &
forcats &
lubridate &
rvest &
janitor &
rio &
tidytext
…into #julialang
unfuck_excel()
It takes strings like "May-23" and converts them back into "05-23" because I'm tired of my street numbers being destroyed #rstats
unfuck_excel()
It takes strings like "May-23" and converts them back into "05-23" because I'm tired of my street numbers being destroyed #rstats
"...Defense Secretary Pete Hegseth has been blowing through armament stockpiles despite warnings, has the Pentagon close to running out of money,..."
www.rawstory.com/stringr/hegs...
"...Defense Secretary Pete Hegseth has been blowing through armament stockpiles despite warnings, has the Pentagon close to running out of money,..."
www.rawstory.com/stringr/hegs...
cghlewis.github.io/data-wrangli...
cghlewis.github.io/data-wrangli...
www.rawstory.com/stringr/whit...
www.rawstory.com/stringr/whit...
df %>% filter(stringr::str_detect(df$var1,"[alpha]+")) %>% select(var2,var3) %>% table() %>% chisq.test()
..actually works
df %>% filter(stringr::str_detect(df$var1,"[alpha]+")) %>% select(var2,var3) %>% table() %>% chisq.test()
..actually works
{furrr} — dead simple way to make sure you take full advantage of modern systems
Here are mine!
- {targets}: 🔥🔥80% of my code runs there.
- {data.table}: 🚅🤯impressive software engineering (but weird syntax).
- {terra}: 🗺️ made me forget about desktop GIS.
- {future}: 🧙♂️🪄 async and parallel wizardry made easy!
Your turn!
{furrr} — dead simple way to make sure you take full advantage of modern systems