@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 Birds
@DataAngler@vis.social avatar

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

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

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

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

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

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 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!

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 Birding
@DataAngler@vis.social avatar

The eastern phoebe will sit atop the feeder, but not eat at it. 🤔 #birdcallout #birding

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 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, (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.

TimTeaFan, to random German
@TimTeaFan@fosstodon.org avatar

This R rant by @hendrikerz has got quite some attention on the bird site. The R community over here might have missed it due to the missing #RStats tag.

I don‘t agree with much, but some points are worth for discussion / improvement.

https://www.hendrik-erz.de/post/a-rant

DataAngler,
@DataAngler@vis.social avatar

@TimTeaFan @hendrikerz I do statistical analysis and data visualization in R (and automated reporting in Quarto) so maybe I'm one of those users for whom R works well for many tasks. (And Alt+Arrow works too!)

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

brodriguesco, to random
@brodriguesco@fosstodon.org avatar

What a perfect day to write some SAS© code on my Microsoft Windows 11® 15.6" Acer laptop

DataAngler,
@DataAngler@vis.social avatar

@brodriguesco Ok, as a SAS user that just hurts. 😅

millerdl, to random
@millerdl@mathstodon.xyz avatar

TIL: R has NROW and NCOL as well as nrow and ncol.

NROW will treat an (n)-vector as an (n \times 1) matrix:

> NROW(rep(0, 10))
[1] 10
> nrow(rep(0, 10))
NULL

#rstats

DataAngler,
@DataAngler@vis.social avatar

@edzer @millerdl
So is this equivalent to length() except that NROW() is making it an nX1 matrix in the background? #rstats

defuneste, to random
@defuneste@fosstodon.org avatar

Welp I am trying hard to bring folk from my team to positconf (and ask the org to finance it).

Guess who can't go (for plenty of good reasons) and who can?

Yup all the women can't go and all men can .... Any advice #Rstats ?

DataAngler,
@DataAngler@vis.social avatar

@defuneste I think it is important to ask management to explain their rationale, for sexism in the workplace needs to be addressed. Something like, "I've noticed that only men are going to be supported to attend the conference, and why is that?" If only men are allowed professional development opportunities, then how does this support gender equity in the workplace? #rstats #Sexism

DataAngler,
@DataAngler@vis.social avatar

@defuneste Oh, I misread that. Traveling to conferences can be hard. Maybe there are obstacles that make traveling hard...

DataAngler,
@DataAngler@vis.social avatar

@defuneste It's good to be aware of that and the potential barriers. I remember going with my spouse to some conferences when we had our newborn. My job was to bring her our baby so she could breastfeed between sessions. I was lucky to be able to do that. Often conferences do not have have lactation rooms or childcare...

eliocamp, to random
@eliocamp@mastodon.social avatar

My morning today. #RStats

DataAngler,
@DataAngler@vis.social avatar

@eliocamp Facts. 😆

zoowalk, to vscode
@zoowalk@mastodon.social avatar

Q for #rstats #quarto users in #vscode - am I right that there is no way to see the final appearance of a plot other than rendering the document? There is no preview - other than in rstudio - which gives an accurate representation? The vsc plot window follows its own dimension (distorts proportions).

Love vs code but re-rendering the whole doc for each plot iteration feels quite cumbersome. Tagging the mighty @andrew since I think there was a related discussion on GH which I can't find..🙏🙏👏👏

DataAngler,
@DataAngler@vis.social avatar

@zoowalk @andrew Actually, the in-line preview can be quite different when show_text(enable=TRUE) is set. Then I do need to render the document to see the final plot. #rstats #quarto

ascentale, to random
@ascentale@sfba.social avatar

And the last question is for last week's via @MartyCormack:

Q9. After watching the video, will your helmet wearing habits change? If so, why?

Reference video:
https://youtu.be/rhzH6mEpIps?si=LfQE4Qo1I2l_yZud

DataAngler,
@DataAngler@vis.social avatar

@enobacon @ascentale @MartyCormack A9 Why do I wear a helmet? The research. This YouTuber can do what they want.

https://jamanetwork.com/journals/jama/article-abstract/412317

ascentale, to random
@ascentale@sfba.social avatar

@scottsthoughts has a question about carrying food:

Q6. How do you transport takeout food by cycle? I hit so many bumps on my ride that it’s usually pretty well jostled by the time it gets home.

Also if anyone has a good idea for transporting a straw hat I’m all ears for that too.

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

@sam @SRLevine @ascentale @scottsthoughts My Banjo Brothers was much cheaper, but if I needed to haul large loads in the rain, I might look at these Arkels more closely. (I have a smaller Bontrager that I would put my laptop in if it was raining.)

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