We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is not very informative, other than the underlying logic failed
data2 <- c( 'Order/ID : IN-2013-77878', 'Order/Date : 2/5/13', 'Ship/Mode: Second Class', 'product/id : TEC-AC-10003033', ' ', 'Order/ID : IN-2013-77878', 'Order/Date : 2/8/13', 'Ship/Mode: Second Class', 'product/id : FUR-CH-10004050' ) > data <- tibble::enframe(data2) %>% + select(value) %>% + filter(., str_detect(value,':')) %>% + separate(., value, into = c('var','val')) # use tidyr's seperate to split data Warning message: Too many values at 8 locations: 1, 2, 3, 4, 5, 6, 7, 8
It fails due to no sep argument, so maybe outputting an error message stating "Hey are you missing a separator argument?)
This works:
data <- tibble::enframe(data2) %>% select(value) %>% filter(., str_detect(value,':')) %>% separate(., value, into = c('var','val'), sep = ':')
The text was updated successfully, but these errors were encountered:
The default splits at non-alphanumeric symbols, which I think is useful. But maybe the error message could be more informative here
Sorry, something went wrong.
3b80146
No branches or pull requests
This is not very informative, other than the underlying logic failed
It fails due to no sep argument, so maybe outputting an error message stating "Hey are you missing a separator argument?)
This works:
The text was updated successfully, but these errors were encountered: