hi; I have couple of column names that have this at the beginning "^cumulative_cumulative_" how would I use across or something similar to replace all those column names with a single "cumulative_"
I will assume you have tidyverse or dplyr installed and attached df % rename_with(.fn = ~str_remove(., "cumulative_"), .cols = starts_with("cumulative_cumulative_"))
@@fiiinspires thank u. It works like charm Do you work with rmarkdown with word out put? It is driving me crazy i cannot make small charts with all the information I hope you keep posting such tutorials I am hungry to learn and implement new ideas
Lots of great stuff packed into this presentation. The regex work was particularly useful! Thank you and cheers!
Great. Thanks for making complex things simple for beginners
You are welcome!
Great explanation making it easy for me to understand. You are a Gem
Glad it was helpful!
Great works...
Thanks for watching
You did a great job. Thank you.
Hopefully, it was useful
thank you for this. this is superb and very informative
You're very welcome!
@@fiiinspires hope to see more of this nature; i am going through the same video more than once and i am getting a lot of knowledge
love the content. got any courses or playlist for such content?
ruclips.net/video/miL9VaeDJPg/видео.html
Hi, I didn't find the code in google drive, though the emergency data was there.
docs.google.com/spreadsheets/d/1AyBMHXA5cv1bKX_Nd2WlxAQIBOLKKYd4/edit?usp=sharing&ouid=116327071321401868336&rtpof=true&sd=true
hi; I have couple of column names that have this at the beginning
"^cumulative_cumulative_"
how would I use across or something similar to replace all those column names with a single "cumulative_"
I will assume you have tidyverse or dplyr installed and attached
df % rename_with(.fn = ~str_remove(., "cumulative_"), .cols = starts_with("cumulative_cumulative_"))
@@fiiinspires thank you for this. I will try it
@@fiiinspires thank u. It works like charm
Do you work with rmarkdown with word out put? It is driving me crazy i cannot make small charts with all the information
I hope you keep posting such tutorials
I am hungry to learn and implement new ideas