Specify haven write function depending on the data type

writeDataFunc(agrisvy)

Arguments

agrisvy

an agrisvy object