@DataAngler@vis.social
@DataAngler@vis.social avatar

DataAngler

@DataAngler@vis.social

I am a data scientist who programs in R and SAS. Don't ask me to pick one. I am also particularly interested in equity in education as well as gender equity and equity in policing. Occasionally fly fishing. My posts are my own.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

DataAngler, to random
@DataAngler@vis.social avatar

For Day 1 of , I mapped 9 of the schools for Black children in northern Delaware when Delaware--there were more than 80 throughout the state when the state enforced racial segregation in schools.

Code: https://github.com/bardolater/30DayMapChallenge/blob/main/2023/01_Points

DataAngler, to random
@DataAngler@vis.social avatar

Is it possible to set a code chunk in to execute only if a variable has a specific value? I am setting up parameterized reports and some code blocks are extraneous for some reports in which sets of variables have missing values.

DataAngler, to random
@DataAngler@vis.social avatar

10% of data science is asking people to export data from Qualtrics in a different format.

hrbrmstr, to random
@hrbrmstr@mastodon.social avatar

Thanks to the great work by @klmr & @idavydov I've put together this repo: https://github.com/hrbrmstr/rdaradar that will help sanity check #RStats R data files in as safe a way as possible.

It's super basic and I'm rly tight on time this week, so issues (and, eventual PRs) are welcome.

You're still better off not trusting R data files not created by you.

cc: @AlexandreSieira

DataAngler,
@DataAngler@vis.social avatar

@hrbrmstr @klmr @idavydov @AlexandreSieira Holy cow. So if I read this correctly, I could potentially pull down an .rda file and the exploit would go undetected by any antivirus and be activated upon a call to read_rds()?

DataAngler, to random
@DataAngler@vis.social avatar

Just learned that I needed to go back a version in to keep using the groundhog ๐Ÿ“ฆ and load versions of packages that I was using. Future me better appreciate this...

DataAngler, to random
@DataAngler@vis.social avatar

Going to present to my office on adopting research practices for reproducibility...do I dare try to learn {docker} ๐Ÿ“ฆ ? It seems critical for ensuring someone else can reproduce the analyses.

DataAngler, to datascience
@DataAngler@vis.social avatar

This is an excellent tutorial from @debruine on how to create a power simulation in and call the simulation n times with parameters in a dataframe. Which is so useful for wanting to check how power is affected by different aspects of study design

But I get messages in R that purrr::pmap_dfr are superseded, so are we supposed to switch to a different set of functions for passing a dataframe of parameters to a function?

kim_harding, to random
@kim_harding@mastodon.scot avatar

Wow, this map (nicked from Amazing Maps on another place) really shows how different the Road traffic death rate in the US is vs Europe

DataAngler,
@DataAngler@vis.social avatar

@PyroNeurosis @kim_harding map of traffic fatalities is scary--an unfortunate consequence of our car-centric society. Here is a map of percent of uninsured adults by state...looks kind of similar...

DataAngler, to Birds
@DataAngler@vis.social avatar

Nest of a house wren (?) in my hanging plant. Three eggs.

DataAngler,
@DataAngler@vis.social avatar

A house finch is sitting in the nest, not a robin. I startled it going outside this morning. Weird!

almenal99, to random
@almenal99@fosstodon.org avatar

hey @coolbutuseless @mattdray

what's your take on pipe-at-the-end vs pipe-at-the-beginning?

(others, feel free to chime in)

DataAngler,
@DataAngler@vis.social avatar

@almenal99 @coolbutuseless @mattdray I like the reasons outlined in the resource below for putting |> at the end of the line:

  1. easy to scan verbs on the left to understand what a chunk is doing
  2. easy to add steps to the end of a line

https://r4ds.hadley.nz/workflow-style.html

DataAngler, to random
@DataAngler@vis.social avatar

I really love the parameterized reporting that is possible in in , but I'm stymied by how rendering to MS Word puts my gt() tables in one big chunk with no spacing. Is there a good resource for rendering to Word and controlling the spacing?

DataAngler, to random
@DataAngler@vis.social avatar

Super grateful to those who posted slide decks from , like @jadeynryan who posted a tremendously useful deck about using parameters in in Quarto and also, to add on to the tremendousness, showed how to leverage purrr ๐Ÿ“ฆ to quickly produce multiple reports with different values of those parameters.

DataAngler, to random
@DataAngler@vis.social avatar

This plot for Day 1 of #30DayChartChallenge shows the gender inequity in salary for school superintendents in Delaware. #rstats

I typically would do a q-tip plot to show the difference between men and women, but this challenge was for showing how the part relates to a whole.

Code: https://codeberg.org/svanhorne/30DayChartChallenge/src/branch/main/2024/01_Part_to_Whole.qmd

DataAngler, to random
@DataAngler@vis.social avatar

I am collaborating on a project that renders a markdown file in , and I now see that kableExtra::kable() was the wrong choice of kable

DataAngler, to random
@DataAngler@vis.social avatar

League of Legends but for #rstats folks wrangling legends in multi-layer charts and maps

DataAngler, to Birding
@DataAngler@vis.social avatar

Is this a red-shouldered hawk? My picture is blurry but I think it is one. I read that in the eastern US they can have less bright plumage.

DataAngler, to Birding
@DataAngler@vis.social avatar

Thereโ€™s so much content on mastodon and Iโ€™m here for it all.

DataAngler, to random
@DataAngler@vis.social avatar

For several minutes now, a goldfinch has been just relaxing in my window feeder, breathing, watching. #birdsofmastodon #birdcallout

DataAngler, (edited ) to random
@DataAngler@vis.social avatar

I ๐Ÿ’™ the {glue} package in #rstats

I needed >100 ESTIMATE statements in for a growth curve model in SAS, and I used glue::glue to generate the statements automatically from a dataset with the values for each model predictor. Saves so much time and drudgery.

DataAngler, to pokemon
@DataAngler@vis.social avatar

Is there a parent of a obsessed child who can clarify if you just "buy" packs of gold Pokemon cards on Amazon? Is that legit? the interwebs suggest these are ultra-rare

DataAngler, to Birding
@DataAngler@vis.social avatar

The eastern phoebe will sit atop the feeder, but not eat at it. ๐Ÿค” #birdcallout #birding

DataAngler, to Birds
@DataAngler@vis.social avatar

Eastern phoebes are nesting under my deck atop a security light. There's young in the nest but I can't determine how many. #birds #nestwatch

DataAngler, to random
@DataAngler@vis.social avatar

I wish I had not found tidycensus::load_variables. I can't make myriad maps from Census data. I have other work to do! #rstats

DataAngler, to Birds
@DataAngler@vis.social avatar

Two pileated woodpeckers in the woods on a dead tree! Seeing them glide between the trees never gets old.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • โ€ข
  • JUstTest
  • kavyap
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • osvaldo12
  • mdbf
  • Youngstown
  • cisconetworking
  • slotface
  • rosin
  • thenastyranch
  • ngwrru68w68
  • khanakhh
  • megavids
  • ethstaker
  • tacticalgear
  • modclub
  • cubers
  • Leos
  • everett
  • GTA5RPClips
  • Durango
  • anitta
  • normalnudes
  • provamag3
  • tester
  • lostlight
  • All magazines