Updates Record descriptor by adding a field (year) showing the year for which the variable exists and removing variables listed in Remove_vars function from RD
Update_rd(con, rd, years)
Connection to db
Path to record descriptor csv
Character vector of the years of survey
To create the conection please see Connect_to_db
# NOT RUN { Update_rd(con, rd, years) # }
Run the code above in your browser using DataLab