@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

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

DataAngler, to random
@DataAngler@vis.social avatar

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

DataAngler, to Birds
@DataAngler@vis.social avatar

Nest of a house wren (?) in my hanging plant. Three eggs. #birdcallout #birds #nest

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

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

One side effect of banging your head against the wall with in is that when your job needs you to write a function to run 100 times on a data set with reproducible seed and store each run in a list, you're like, hey no problem.

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

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

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

My contribution is a map of life expectancy in South America.

I used the "compact" data file from this United Nations data source (full of lots of stats for the world): https://population.un.org/wpp/Download/Standard/MostUsed/

With this data set, you could take 1950 and 2021 data years and use lag() to compute percent change for all kinds of vital statistics for nations.

Code: https://github.com/bardolater/R_Projects/blob/main/12_SouthAmerica_TidyTuesday.R

DataAngler, to random
@DataAngler@vis.social avatar

Here's a horror story:

user-submitted datafiles

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

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

The update to {gt} in includes an ability add trendlines to tables with gt::cols_nanoplot. I tried it out on a table with data about enrollment in Delaware public school districts. The two districts with the most students are seeing steady declines in enrollment.

Table and code: https://rpubs.com/svanhorne/DE_enrollment

DataAngler, to random
@DataAngler@vis.social avatar

Typing PUMPKIN SPICE COFFEE NEAR ME and betting on surveillance capitalism

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

Federal government to start providing free coronavirus tests once again

https://www.washingtonpost.com/health/2023/09/20/free-covid-tests-mail-usps/

DataAngler, to random
@DataAngler@vis.social avatar

I spent a good part of the day trying to pass a list into an argument of an custom function with pmap().

The score:

Evaluation in R: 1
Me: 0

DataAngler, to HashtagGames
@DataAngler@vis.social avatar

Now, ma’am, if you see the Misfit just act like you didn’t.

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?

DataAngler, to HashtagGames
@DataAngler@vis.social avatar

You took the front off the car stereo and kept it in the glove compartment .

DataAngler, to random
@DataAngler@vis.social avatar

Grateful for the {broom.mixed} 📦 for getting tidy objects with effect estimates from linear mixed models.

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

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