An implementation of tidyr in Stata