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

Possible faded example for Challenge: Plot Polygon by Attribute #319

Open
trasea986 opened this issue Mar 27, 2020 · 2 comments
Open

Possible faded example for Challenge: Plot Polygon by Attribute #319

trasea986 opened this issue Mar 27, 2020 · 2 comments
Labels
type:enhancement Propose enhancement to the lesson

Comments

@trasea986
Copy link

One topic that came up during instructor training was potentially providing faded examples for existing challenges. Here is a possible series of faded examples. First time contributing, so hopefully this is okay. I am definitely open to feedback. Note from issue 256 "Unnecessary coord_sf() calls in plotting examples? #256," which calls for the removal of "coord_sf()", that these could be adjusted to match those potential changes accordingly.

Lesson: 07-vector-shapefile-attributes-in-r

Order: Answer, Beginner, Intermediate, Advanced

colors <- c("purple", "springgreen", "yellow", "brown", "navy")
ggplot() + geom_sf(data = state_boundary_US, aes(color = region), size = 1) + scale_color_manual(values = colors) +
coord_sf()

colors <- c(_____, _____, _____, _____, _____)
ggplot() + geom_sf(data = state_boundary_US, aes(color = _______), size = ______) + scale_color_manual(values = _____) +
coord_sf()

colors <- c() #using 5 colors of your choice
ggplot() + geom_sf(
_, _____(color = _______), size = ) + scale_color_manual( = _____) +
coord_sf()

colors <- c(_____)
ggplot() + _____
_____ ()

@jsta
Copy link
Member

jsta commented Mar 31, 2020

Thanks for filing an issue. What do you mean by a "faded example"?

@trasea986
Copy link
Author

Less of an issue and more of a suggestion. Like I said, this was one thing that the instructors during instructor training said may be useful.

Under guided practice at work:
https://carpentries.github.io/instructor-training/05-memory/

@jsta jsta added the type:enhancement Propose enhancement to the lesson label Jul 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement Propose enhancement to the lesson
Projects
None yet
Development

No branches or pull requests

2 participants