Skip to content
Snippets Groups Projects
Commit 4ff99f21 authored by Sébastien Galais's avatar Sébastien Galais
Browse files

Force the column 'original_period' to be of class character.

parent 2e46d98f
No related branches found
No related tags found
No related merge requests found
Pipeline #159779 passed with stage
in 6 minutes and 56 seconds
......@@ -152,6 +152,7 @@
call. = FALSE
)
})
DBdata[, original_period := as.character(original_period)]
tryCatch({
data.table::setnames(DBdata, "period_start_day", "period")
......@@ -292,6 +293,7 @@
call. = FALSE
)
})
DBlist[, original_period := as.character(original_period)]
# In case of different classes, the class of the column 'original_period'
# is set to 'character'
if (
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment