(v1.4.0.9024) is_new_episode()

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-11-17 16:57:41 +01:00
1 parent 0800d33228
commit 363218da7e
20 files changed
+379 -94

No files matched your search

+4
View File
@@ -139,9 +139,13 @@ check_dataset_integrity <- function() {
}
search_type_in_df <- function(x, type, info = TRUE) {
meet_criteria(x, allow_class = "data.frame")
meet_criteria(type, allow_class = "character", has_length = 1)
# try to find columns based on type
found <- NULL
# remove attributes from other packages
x <- as.data.frame(x, stringsAsFactors = FALSE)
colnames(x) <- trimws(colnames(x))