“reml now extends R’s data.frame class by introducing the data.set class which includes additional metadata required by EML” https://github.com/ropensci/reml
and “I’d like to define a class that acts just like a data.frame, just like the data.table class does, but contains some additional metadata (e.g. the units associated with the columns) and has some additional methods associated with it (e.g. that might do something with those units) while also working with any function that simply knows how to handle data.frame objects. How might this be done?” http://carlboettiger.info/2013/09/11/extending-data-frame-class.html
Also this guys attempt was interesting (I like TraMineR too!) http://ivanhanigan.github.io/2013/11/handling-survey-data-with-r/