cssearcy / AYS-R-Coding-SPR-2020

Coding in R for Policy Analytics
https://cssearcy.github.io/AYS-R-Coding-SPR-2020/
3 stars 3 forks source link

Lab 05 - Q 2.2 - Is 'filter()' by "7 AM" eliminating all your rows? #21

Open jamisoncrawford opened 3 years ago

jamisoncrawford commented 3 years ago

Many folks have asked for help regarding function filter() in Question 2.2 (Lab 05).

filter(hour12 == "7 AM") is eliminating all of your rows! Why? Well, don't hate too much but...

"7 AM" should actually have a single space in front of it: " 7 AM". I.e.:

filter(hour12 == " 7 AM")

That will preserve your rows!

Cam-Hoff commented 2 years ago

It doesnt seem like the space is an issue anymore. At least I havent had that issue (had the inverse on one of my code blocks)

jamisoncrawford commented 2 years ago

@Cam-Hoff You're in the 2020 forum, Cameron! 😆

jamisoncrawford commented 2 years ago

...Which is probably an issue with how we set up links for the course repository. Sorry man!

Cam-Hoff commented 2 years ago

oh dang. Well. How do i get to the new one? I've been posting all my github questions here.

jamisoncrawford commented 2 years ago

https://github.com/DS4PS/ays-r-coding-sum-2022/issues