@stevensanderson@mstdn.social
@stevensanderson@mstdn.social avatar

stevensanderson

@stevensanderson@mstdn.social

New Book: https://packt.link/oTyZJ | R - install.packages("healthyverse") | #SQL | opinions are mine | #rstats | Mainly though my wife and kids :) | Advisor to DoTadda - All posts delete in 12 months.

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

stevensanderson, to programming
@stevensanderson@mstdn.social avatar
unusual_whales, to news
@unusual_whales@masto.ai avatar

63% of new audits as of Summer 2023 targeted taxpayers with income of less than $200,000, according to figures compiled by The Wall Street Journal’s editorial board

stevensanderson,
@stevensanderson@mstdn.social avatar

@unusual_whales this sort of makes sense on a surface level, most people make less than that. The interesting part would be to see if the proportion of people being audited in each income bracket is even.

stevensanderson,
@stevensanderson@mstdn.social avatar

@CarRamrod @unusual_whales that's ok. I like especially the following of politician portfolio's, shows how much of an oligarchy we live in

stevensanderson, to random
@stevensanderson@mstdn.social avatar
stevensanderson, to datascience
@stevensanderson@mstdn.social avatar

Learn how to handle rows in R containing specific strings using base R's grep() and dplyr's filter() with str_detect(). Select or drop rows efficiently and enhance your data manipulation skills. Give it a try with your datasets for better data cleaning and organization.

#DataScience #RProgramming #Coding #R #RStats #Programming #Data #Strings

Post: https://www.spsanderson.com/steveondata/posts/2024-05-23/

stevensanderson, to programming
@stevensanderson@mstdn.social avatar

Want to split numbers up, because why not? I go over this in todays post using gsub() and strsplit() functions from base R.

Post: https://www.spsanderson.com/steveondata/posts/2024-05-22/

#R #RStats #RProgramming #Programming #Coding #Data #gsub #strsplit #BaseR

image/png

stevensanderson, to programming
@stevensanderson@mstdn.social avatar

I will be updating my healthyR.data package soon as well as my TidyDensity. Here is some news of new functions for healthyR.data:

https://www.spsanderson.com/healthyR.data/news/index.html#new-function-development-version

#R #RProgramming #RStats #Data #Coding #Programming #Healthcare #HealthcareData #healthdata

stevensanderson, to programming
@stevensanderson@mstdn.social avatar

Need to split your data into groups based upon some vector in R? Well I got you covered today!

I go over base R, dplyr and data.table :)

Post: https://www.spsanderson.com/steveondata/posts/2024-05-21/

#R #RStats #RProgramming #Programming #Coding #Data #DataScience

image/png
image/png
image/png

Savvyhomestead, to random
@Savvyhomestead@mastodon.social avatar

It's good to see Target at least attempting to stem corporate price gouging. Maybe others will follow.

https://apnews.com/article/target-inflation-prices-4e9012fc88ba509be0fca59e7dabf1ab

stevensanderson,
@stevensanderson@mstdn.social avatar

@Savvyhomestead Inflation is stemming from these corporate robbers, nothing but raiding the people so that the corporate entity and their puppeteers can scoop up the extra printed dollars from the fed to enrich themselves at the expense of the rest of us

stevensanderson,
@stevensanderson@mstdn.social avatar

@Savvyhomestead exactly correct, we are the country our politicians tell us to hate, while they all hide behind the curtain and are them.

stevensanderson, to random
@stevensanderson@mstdn.social avatar

🚀 Elevate Your R Programming Skills: Removing Elements from Vectors

Want to level up your R programming game? Let's talk about removing specific elements from vectors! It's a fundamental skill.

But here's the real fun: try it yourself! Experiment with your own data and see which method resonates with you. To get yourself familiar with what's happening, you have to experiment.

#R

Post: https://www.spsanderson.com/steveondata/posts/2024-05-20/

stevensanderson, to Excel
@stevensanderson@mstdn.social avatar

This VBA macro saves an Excel worksheet as a PDF. It sets and sorts the data, creates a temporary sheet with headers, formats and aligns the data, and adjusts column widths. The macro defines the PDF path, deletes any existing file, sets page orientation and footer, exports the sheet to PDF, deletes the temporary sheet, and shows a message with the PDF path. Modify to your needs if you find it useful.

#VBA #Excel #PDF #Programming #Coding

stevensanderson, to random
@stevensanderson@mstdn.social avatar

The newest version of my #R TidyDensity really took off for me. Now wait until the next release which introduces 39 new functions. #R

stevensanderson, to medical
@stevensanderson@mstdn.social avatar

DNFB for medicine is discharged not final billed and is used a lot at hospitals as it represents the AR not yet billable. It is important to keep this to a minimum of days for efficiency and ability to get paid. It affects cashflow, so the lower the better. I wrote a quick diddy that sifted 147mllion rows in 2 seconds to give me my average dnfb by AR snapshot month

#SQL #AR #billing #medicalbilling #medical

stevensanderson, to programming
@stevensanderson@mstdn.social avatar

If you work with text data in R, the gregexpr() function is essential for pattern matching. It finds all occurrences of a pattern within a string. Key parameters include pattern, text, ignore.case, perl, fixed, and useBytes. You can match characters, ignore case, use advanced regex, and search fixed strings.

#R

Post: https://www.spsanderson.com/steveondata/posts/2024-05-17/

image/png
image/png

stevensanderson, to random
@stevensanderson@mstdn.social avatar

39 new functions coming to my #R package TidyDensity at it's next release which will be soon.

#R

https://www.spsanderson.com/TidyDensity/news/index.html#tidydensity-development-version

stevensanderson, to programming
@stevensanderson@mstdn.social avatar

🎉 New Post Alert! 🎉

Counting words in a string is a fundamental task in data analysis.

  1. Base R: Use strsplit(), a straightforward method to split strings and count words.

  2. stringr: The str_split() function from the stringr package makes the code more readable.

  3. stringi: For powerful and efficient string manipulation, stri_split_regex() from the stringi package is your go-to.

Happy coding! 🚀

#R #RStats #RProgramming #Programming #regex #Coding #strings

Post: https://www.spsanderson.com/steveondata/posts/2024-05-16/

stevensanderson,
@stevensanderson@mstdn.social avatar

@damien_dupre yes that works too

stevensanderson, to programming
@stevensanderson@mstdn.social avatar
stevensanderson, to programming
@stevensanderson@mstdn.social avatar

After I update my #R Package TidyDensity there will be 176 functions...that's a lot of code I wrote. This is just a reflection. Right now it is 172.

#R

stevensanderson, to programming
@stevensanderson@mstdn.social avatar

🔎 Selecting Columns Containing a Specific String in R: A Quick Guide 🚀

Hey R users! Need to select columns by a specific string? Here's how in base R, stringr, stringi, dplyr, and with a bonus from data.table.

🆒 R
✅ grepl
📦 stringr
📦 stringi
📦 dplyr

Bonus: 📦 data.table
library(data.table)
df_price <- df[, names(df) %like% "price"]

Happy coding! 🚀

Post: https://www.spsanderson.com/steveondata/posts/2024-05-15/

#R

image/png
image/png
image/png

stevensanderson, to Finance
@stevensanderson@mstdn.social avatar

I have started a public team on my DoTadda account (DoTadda is great for portfolio managers specifically) that is for R stuff, you can find it here:

https://app.dotadda.io/teams/bad2fd50-1971-4103-903a-4c6406e3f445/dots

#R

If you are looking for a great way to automate knowledge search, share and the like you can use this to book a demo: https://4fi3yk3dxbg.typeform.com/to/qv1Xd3Ae?typeform-source=www.dotadda.com

stevensanderson, to programming
@stevensanderson@mstdn.social avatar

Want to check duplicate values across columns of a data.frame? Well you can do that in a basic way with TidyDensity and the check_duplicate_rows() function, or you can go through todays blog post for some other ideas with and

#R

Post: https://www.spsanderson.com/steveondata/posts/2024-05-14/

image/png

stevensanderson, to gpt
@stevensanderson@mstdn.social avatar

The white background logo is the current hex sticker for my TidyDensity #R the others were generated from DALL-E pretty cool

image/png
image/png

stevensanderson, to programming
@stevensanderson@mstdn.social avatar

Discover essential techniques to check for column existence in R data frames!

Use %in% with names() or colnames(), explore dynamic checks with exists() and within(), or identify patterns with grepl(). Experiment with these methods in your projects.

Post: https://www.spsanderson.com/steveondata/posts/2024-05-13/

#R

image/png

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