lucas (version 1.0)

Order_cols: Change column order

Description

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

Usage

Order_cols(con, years)

Arguments

con

Connection to db

years

Numeric vector of years to be harmonised

See Also

To create the conection please see Connect_to_db

Examples

Run this code
# NOT RUN {
Order_cols(con, c(2006, 2009, 2012, 2015))
# }

Run the code above in your browser using DataCamp Workspace