Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest moving use of str() in Episode 2 setup to a place where it feels more natural #904

Open
nicole-a-moore opened this issue Aug 20, 2024 · 1 comment
Assignees

Comments

@nicole-a-moore
Copy link

How could the content be improved?

In Episode 2. Data visualization with ggplot2, the Setup section jumps right into teaching the learner the ?help function, the View() function, and the str() function, but without really showing when you would use each. Then, in the next section, when building the first ggplot it isn't really clear how we know that the variables weight and hindfoot_length exist as columns of the complete_old dataset.

I think the flow of the lesson could be improved and the utility of the str() function better communicated if we teach the str() function later. In the Setup section, I suggest teaching how to use the ?help and View() functions to get an initial idea of what the complete_old dataset looks like. Then, in the Plotting with ggplot section, we can show how to use the str() function to quickly see which variables of the dataset we can map onto our ggplot.

Which part of the content does your suggestion apply to?

https://datacarpentry.org/R-ecology-lesson/visualizing-ggplot.html#setup

@doujouDC
Copy link
Contributor

doujouDC commented Aug 20, 2024 via email

@doujouDC doujouDC self-assigned this Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants