library('data.table')
library('dtsurvey')
library('dplyr')
a2 = data.frame(one = 1:26)
a = data.table(one = 1:26, two = letters)
loc = c(one = 1)
a[loc]
a2[loc]
b = dtsurvey::dtadmin(a)
dput(names(attributes(b)))
na = function(x) names(attributes(x))
# na(b %>% select(one))
options(datatable.verbose = TRUE)
distinct(b, one)
na(distinct(b, one))