Closed HeidiSeibold closed 6 years ago
I have some problems following this data recipe: WIP - Visualisation of polls results during presidential election in France. First, there is only code and no description. Also, all comments are in French. I could work on this if I could follow through the end and understand the objectives of the data recipe but I encountered an error at this line:
colnames(polls_round1) <- c("Poll source","Fieldwork date", "Sample size", "Abstention", "Arthaud", "Poutou", "Mélenchon", "Hamon", "Macron", "Lassalle","Fillon", "Dupont-Aignan", "Asselineau","Le Pen", "Cheminade") #enlever les partis des noms de colonnes
The error was:
Error in names(x) <- value :
'names' attribute [15] must be the same length as the vector [6]
@samgoeta can you help?
@puripant this is being updated a lot currently. We are officially starting with beta testing in January. You can find out here which parts are ready for testing.
Thanks :cake:
Look at one of our first recipes we have started.
The first one is a bit more advanced than the second one. Go through the code and let us know if it is clear and easy to understand. In the end all data recipes are supposed to adhere to a standard. This is why we created a template. You can also check it out in R via
You can solve this issue in two different ways: