Data pre-processing functions
Merge branch 'master' of github.com:debray/consumer-lossaversion