I need help with ideas for parsing this text. I want do it the most automatic way possible. This is the text text <- "JOHN DEERE: PMWF2126 NEW ...
I need help with ideas for parsing this text. I want do it the most automatic way possible. This is the text text <- "JOHN DEERE: PMWF2126 NEW ...
I'm trying to generate pretty labels from cut-style bins. The bin names default to structures '(-Inf, -2]' and '(0,1]'. I'd like to replace just the e ...
Two big real life tables to join up, but here's a little reprex: I've got a table of small strings and I want to left join on a second table, with th ...
I got a dataset from a government (Dubai) website and I want to do basic data analysis. But one of the variables is recorded in Arabic language. Is th ...
I have a data set with Words and their Tags: I would like to break up the column of Words into a vector of strings where each string starts with a ...
I would like to extract the terms between \n- and \n and store it as a vector: I tried the following, but it didn't do what I wanted: ...
I have column in dataframe which has following structure in the rows. I want to replace all rows with first entry of shifting cycle to shifting cyc ...
I've tried replace character which match with specific character or followed by "BT", but my codes failed. This is my codes: the error is: Where ...
Pls how can i rename each columns after str_split() operations in data frames Here i created example data set but i get the error. however i was ...
Hope everyone is well. In my dataset there is column including free texts. My goal is to remove all dates in any format form the text. this is a snaps ...
the dataset that I work contains some numbers (usually up to 12) and I need to have all those numbers at the end: I tried doing sth like this with ...
[Asking for a colleague because his post is considered as a spam by the website bot.] I am trying to install the package stringr on R. I ran install ...
I have the following gastly string: I want to remove everything before and including "Dandre Carlton (F)" which can be found at the end of the seco ...
I have item codes and descriptions in the same column. The item codes can have letters, numbers, spaces and special characters. The description always ...
` I'm starting with a variable with chr strings. df$Specs : chr [1:28752] "4 GB RAM | 64 GB ROM | ExpandableUpto256GB", "..." enter image descripti ...
I have the following 2 dataframes vendor_list and firm_list: I need to search for strings in MARKET_NAME column in vendor_list dataframe in MARKE ...
I want to remove second and subsequent occurrences of decimal point in string. My attempt is below: However, I want the output like 3.99-013. Any h ...
I specified that I'm using stringr because its character escaping is not "standard" regex escaping. I want to detect strings that have a single word ...
I have imported a data frame with huge variations the names of columns, random spaces and punctuation signs that I want to homogenize to get a uniform ...
I have two data.tables. The first data.table, DT_1, contains strings and a matching type as follows: I then want to return the first match of the " ...