writeDataFunc.Rd
Specify haven write function depending on the data type
writeDataFunc(agrisvy)
an agrisvy object