Skip to content

Commit

Permalink
Merge branch 'random_forest_imputation' of https://github.com/jpquast…
Browse files Browse the repository at this point in the history
…/protti into random_forest_imputation
  • Loading branch information
elena-krismer committed Oct 10, 2024
2 parents 93eb66a + c113f21 commit 70dd1ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/try_query.R
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ try_query <-
} else if (type == "text/csv" || type == "txt/csv") {
result <- readr::read_csv(text_content, ...)
} else if (type == "application/json") {
result <- jsonlite::fromJSON(text_content, ...) # Using jsonlite for JSON parsing
result <- jsonlite::fromJSON(text_content, ...) # Using jsonlite for JSON parsing
} else if (type == "text") {
result <- text_content # Return raw text as-is
result <- text_content # Return raw text as-is
} else {
stop("Unsupported content type: ", type)
}
Expand Down

0 comments on commit 70dd1ca

Please sign in to comment.