current status
This commit is contained in:
+2
-10
@@ -6,7 +6,9 @@ correctJSON <- function(string) {
|
||||
# string <- str_replace_all(string, pattern = "\r", replacement = " ")
|
||||
# string <- str_replace_all(string, pattern = "\\^", replacement = " ")
|
||||
string <- str_replace_all(string, pattern = "[^[:print:]]", replacement = " ")
|
||||
string <- str_replace_all(string, pattern = "&..;", replacement = " ")
|
||||
string <- str_replace_all(string, pattern = perl('\\\\(?![tn"])'), replacement = " ")
|
||||
string <- str_replace_all(string, pattern = "\\{5}", replacement = " ")
|
||||
return(string)
|
||||
}
|
||||
|
||||
@@ -17,13 +19,3 @@ insertRow <- function(existingDF, newrow, r) {
|
||||
row.names(existingDF) <- 1:nrow(existingDF)
|
||||
return(existingDF)
|
||||
}
|
||||
|
||||
# mergeIfExists <- function(fulldf, tempdf) {
|
||||
# if(exists(fulldf)) {
|
||||
# fulldf <- insertRow(fulldf, tempdf)
|
||||
# }
|
||||
# else {
|
||||
# fulldf <- tempdf
|
||||
# }
|
||||
# return(fulldf)
|
||||
# }
|
||||
Reference in New Issue
Block a user