I have a rather untidy dataset and can\'t wrap my head around how to do this in R. Alternative would be to do this in Excel but since I have several of these, this would tak