I need some help creating a loop/automatic way of cleaning my data
I’m quite new to programmin language and I am starting with R in my research predicting dengue desease cases with climatic data.
I’m still cleaning my data to work with and this particular one has around 172.855 obs and 17 variables, for each of the 23 files.
So I want to keep only the obs. and variables I need to use (which are the date, municipality and quantity of cases registered), but I wanted to create a way to do it automatically so I don’t need to keep doing it to all of them, but I didn’t quite understand how to do it using a loop from purrr our lapply.
Could anyone help me with this?