pull_dt function

Pull out a single variable