无法插入JDBC oracleRowSet buttonGroup

时间:2017-05-27 15:02:39

标签: netbeans-8

df <- data.table( "MemberID"=c("111","0111A","0111B","112","0112A","113","0113B"),
              "resign.date"=c("2013/01/01",NA,NA,"2014/03/01",NA,NA,NA)) 

df[, myID := gsub("(?<![0-9])0+", "", gsub("\\D+", "", MemberID), perl = TRUE)]
df <- df[order(myID, -MemberID)]

df[ , my.resign.date := resign.date[1L], by = myID]
df <- df[!is.na(my.resign.date)]

0 个答案:

没有答案