R's padr package claiming the “datetime variable does not vary” when it does vary
问题 library(tidyverse) library(lubridate) library(padr) df #> # A tibble: 828 x 5 #> Scar_Id Code Type Value YrMo #> <chr> <chr> <chr> <date> <date> #> 1 0070-179 AA Start_Date 2020-04-22 2020-04-01 #> 2 0070-179 AA Closure_Date 2020-05-23 2020-05-01 #> 3 1139-179 AA Start_Date 2020-04-23 2020-04-01 #> 4 1139-179 AA Closure_Date 2020-05-23 2020-05-01 #> 5 262-179 AA Start_Date 2019-08-29 2019-08-01 #> 6 262-179 AA Closure_Date 2020-05-23 2020-05-01 #> 7 270-179 AA Start_Date 2019-08-29 2019-08-01