Posts

Showing posts with the label stringr

How can I remove punctuations and numbers in text from data.frame file in R

Image
Clash Royale CLAN TAG #URR8PPP How can I remove punctuations and numbers in text from data.frame file in R I want to remove punctuations, numbers and http links in text from data.frame file. I tried tm, stringr, quanteda, tidytext packages but none of them worked. I m looking for a useful basic package or function for clean data.frame file without convert it to corpus or something like that. How can I do it? What exactly have you tried? Please see here on making an R post we can help with. That includes a representative sample of data, code that hasn't worked, and expected output. – camille 28 mins ago Welcome to SO. it is always recommended to post samples of Input and expected output in your post with code tags. – RavinderSingh13 21 mins ago ...