leombastos / 2024_ppa

1 stars 4 forks source link

Issue with wrangling assignment #14

Open ClintHerndon opened 6 months ago

ClintHerndon commented 6 months ago

Hey everybody, yesterday I followed along with the video that showed us how to work the assignment and got an error which I haven’t been able to figure out. When I first opened R I reran everything without any issues but at the final piping step I'm getting an error in 'Mutate'. Any help/ideas with this issue would be much appreciated for knowledge as to where this error might be coming from for future reference.
wrangling_assignment1

wrangling_assignment2

KVUGA commented 6 months ago

Hey Clint, I tried to find the reason, but I couldn't. I hope someone else may, and I would like to understand it as well.

RegimarGarcia commented 6 months ago

Hey Clint, I think the problem is in the order of the commands, you tried to put the "arrange" command on line 212 without piping signal and get a piping sinal at end of command "summarize"? This way will work I believe.

ClintHerndon commented 6 months ago

For those of y'all interested, we figured out where the problem was coming from. In line 188 I had incorrectly assigned to 'soyk' when it should've been 'soyk_w'. After changing this it ran without any errors

Capture