Tidy Data
Data Visualizations
Data Transformations
Logical Operators
100

The number of variables in a tidy data set is equal to...

What is the number of columns?

100
Describe the visualization:

ggplot(data=mpg)+
  geom_point(mapping=aes(x=displ, y=hwy, color=class)

What is a scatter plot of displacement vs. high way miles, color coded by class of car?

100

This tidyverse package provides five key functions that allow you to solve the vast majority of data-manipulation challenges. 

What is dplyr?

100

x={1,2,3,4,5}

x>3|x==1

What is <ANSWER VARIES>?

possible answers {1,4,5}

200

The number of rows in a tidy data set.

What is the number of observations?

200

A geometrical object that a plot uses to represent data. 

What is a geom?

200

This dplyr function allows you pick observations by their values

What is filter()?

200

This number is (greater than 5 AND even)AND(less than 10 AND a multiple of 3)

What is 6?

300

R package design for exploratory data analysis of rectangular data sets. 

What is Tidyverse?

300

Every geom has a default stat. This is the default stat of geom_bar. 

What is stat_count or count?

300

This dplyr funciton allows you to reorder the rows.

What is arrange()?

300

x={1,2,3,5,7,9}

(x!=2)|even

What is <ANSWER VARIES>?


possible answers:{1,3,5,7,9}

400

This core member of tidyverse implements the "grammar of graphics" for describing and building graphs.

What is ggplot?

400

This layer of graphics allows you to split your plot into subplots. It is particulartly useful for categorical data. 

What is faceting?

400

How do you pick all the flights after September?

filter(flights, month>9)

or 

filter(flights, month>=10)

400
filter() only includes rows where the condition is TRUE; it excludes both FALSE and these values...

What are NAs?

500
This line of code allows you to load tidyverse into your session. 

What is library(tidyverse)?

500

This coordinate system function allows you to switch the x and y axes. 

What is coord_flip()?

500

You can use this function to determine if a value is missing. 

What is is.na()?

500

One day your minimalist friend is visiting, and she presents you with the numbers 2, 3, 4 and 5, and the symbols = and +, and the following tantalizing challenge:  It is possible to use each number and symbol once and only once and end up with a true equation; further, you cannot use any number or symbol not given. How can you do this?

What is <still working on the answer>