Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 95e871a87e
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (14 sloc) 0.499 kb
#' Adds quote padding so terms can be searchable with python
#' @param my_string A vector of strings that are padded with quotation marks so they can be passed to python Required
#' @return a vector of strings padded with quotes
#' @import stringr
#' @author Edmund Hart \email{}
add_char <- function(my_string){
for(i in 1:length(my_string)){
my_string[i] <- str_pad(my_string[i],str_length(my_string[i])+2,"both",pad="'")
Jump to Line
Something went wrong with that request. Please try again.