Changes order of columns to fit the last survey (2018) and set all column data type to character varying in order to prepare for merge
Order_cols(con, years)
Connection to db
Numeric vector of years to be harmonised
To create the conection please see Connect_to_db
# NOT RUN { Order_cols(con, c(2006, 2009, 2012, 2015)) # }
Run the code above in your browser using DataCamp Workspace