Spaces:
Sleeping
Sleeping
Update process_data.R
Browse files- process_data.R +1 -14
process_data.R
CHANGED
|
@@ -219,20 +219,7 @@ trustbuilder_present <- as.logical(tolower(args[13]))
|
|
| 219 |
log_message("Starting Trust Driver and Builder Analysis Script.", output_text_file)
|
| 220 |
|
| 221 |
########## Trust Driver Analysis ######################
|
| 222 |
-
|
| 223 |
-
if (is.character(cell)) {
|
| 224 |
-
cell <- gsub("\t", "", cell)
|
| 225 |
-
}
|
| 226 |
-
# Convert to float
|
| 227 |
-
suppressWarnings({
|
| 228 |
-
num_cell <- as.numeric(cell)
|
| 229 |
-
if (!is.na(num_cell)) {
|
| 230 |
-
return(num_cell)
|
| 231 |
-
} else {
|
| 232 |
-
return(cell)
|
| 233 |
-
}
|
| 234 |
-
})
|
| 235 |
-
}
|
| 236 |
# Load the trust driver dataset (CSV or Excel)
|
| 237 |
|
| 238 |
|
|
|
|
| 219 |
log_message("Starting Trust Driver and Builder Analysis Script.", output_text_file)
|
| 220 |
|
| 221 |
########## Trust Driver Analysis ######################
|
| 222 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 223 |
# Load the trust driver dataset (CSV or Excel)
|
| 224 |
|
| 225 |
|