Encoding and Visualising Survey Data Using R