Get access to all lessons in this course.
-
Week 1: Getting Started with R
- Welcome to Getting Started with R
- Install R
- Install RStudio
- Projects
- Files in R
- Packages
- Import Data
- Objects and Functions
- Examine our Data
- Import Our Data Again
- Getting Help
- Wrapping Up
- R in 3 Months Spring 2022 Week 1 Live Session
-
Week 2: Fundamentals of R (RMarkdown)
- Welcome to Fundamentals of R
- RMarkdown Overview
- YAML
- Text
- Code Chunks
- Wrapping Up
- R in 3 Months Spring 2022 Week 2 Project Assignment
- R in 3 Months Spring 2022 Week 2 Office Hours
- R in 3 Months Spring 2022 Week 2 Live Session
-
Week 3: Fundamentals of R (Data Wrangling and Analysis)
- Getting Started
- The Tidyverse
- select
- mutate
- filter
- summarize
- group_by
- count
- arrange
- Create a New Data Frame
- Crosstabs
- Wrapping Up
- R in 3 Months Spring 2022 Week 3 Office Hours
- R in 3 Months Spring 2022 Week 3 Live Session
- R in 3 Months Spring 2022 Week 3 Project Assignment
-
Week 4: Fundamentals of R (Data Visualization)
- An Important Workflow Tip
- The Grammar of Graphics
- Scatterplots
- Histograms
- Bar Charts
- color and fill
- scales
- Text and Labels
- Plot Labels
- Themes
- Facets
- Save Plots
- Wrapping Up
- You Did It!
- R in 3 Months Spring 2022 Week 4 Office Hours
- R in 3 Months Spring 2022 Week 4 Live Session
- R in 3 Months Spring 2022 Week 4 Project Assignment
-
Week 5: Catch-Up Week
- R in 3 Months Spring 2022 Week 5 Office Hours
- R in 3 Months Spring 2022 Week 5 Project Assignment: ASSIGNMENT AMNESTY
-
Week 6: Git + GitHub
- What is Git? What is GitHub?
- Why Should You Learn to Use Git and GitHub?
- Update Everything
- Install Git
- Configure Git
- Create a Local Git Repository
- Commits
- Commit History
- GitHub Repositories
- Connect RStudio and GitHub
- Push an RStudio Project to a GitHub Repository
- Pull a GitHub Repository to an RStudio Project
- Keep RStudio and GitHub in Sync
- R in 3 Months Spring 2022 Week 6 Office Hours
- R in 3 Months Spring 2022 Week 6 Live Session
- R in 3 Months Spring 2022 Week 6 Project Assignment
-
Week 7: Going Deeper with R (Advanced Data Wrangling, Part 1)
- Overview
- Importing Data
- Tidy Data
- Reshaping Data
- Dealing with Missing Data
- Changing Variable Types
- Advanced Variable Creation
- Advanced Summarizing
- Binding Data Frames
- R in 3 Months Spring 2022 Week 7 Office Hours
- R in 3 Months Spring 2022 Week 7 Project Assignment
- R in 3 Months Spring 2022 Week 7 Live Session
-
Week 8: Going Deeper with R (Advanced Data Wrangling, Part 2)
- Functions
- Merging Data
- Renaming Variables
- Quick Interlude to Reorganize our Code
- Exporting Data
- R in 3 Months Spring 2022 Week 8 Office Hours
- R in 3 Months Spring 2022 Week 8 Live Session
- R in 3 Months Spring 2022 Week 8 Project Assignment
-
Week 9: Catch-Up Week
- R in 3 Months Spring 2022 Week 9 Office Hours
- R in 3 Months Spring 2022 Week 9 - Assignment Amnesty
-
Week 10: Going Deeper with R (Advanced Data Visualization, Part 1)
- Data Visualization Best Practices
- Tidy Data
- Pipe Data Into ggplot
- Reorder Plots to Highlight Findings
- Line Charts
- Use Color to Highlight Findings
- Declutter
- Use the scales Package for Nicely Formatted Values
- Use Direct Labeling
- R in 3 Months Spring 2022 Week 10 Office Hours
- R in 3 Months Spring 2022 Week 10 Live Session
- R in 3 Months Spring 2022 Week 10 Project Assignment
-
Week 11: Going Deeper with R (Advanced Data Visualization, Part 2)
- Use Axis Text Wisely
- Use Titles to Highlight Findings
- Use Color in Titles to Highlight Findings
- Use Annotations to Explain
- Tweak Spacing
- Customize Your Theme
- Customize Your Fonts
- Try New Plot Types
- R in 3 Months Spring 2022 Week 11 Live Session
- R in 3 Months Spring 2022 Week 11 Office Hours
- R in 3 Months Spring 2022 Week 11 Project Assignment
-
Week 12: Going Deeper with R (Advanced RMarkdown)
- Advanced Markdown Text Formatting
- Tables
- Advanced YAML
- Inline R Code
- Making Your Reports Shine: Word Edition
- Making Your Reports Shine: HTML Edition
- Making Your Reports Shine: PDF Edition
- Presentations
- Dashboards
- Other Formats
- You Did It!
- R in 3 Months Spring 2022 Week 12 Office Hours
- R in 3 Months Spring 2022 Week 12 Live Session
- R in 3 Months Spring 2022 Week 12 Project Assignment
-
Week 13: Final Assignment
- R in 3 Months Spring 2022 Week 13 Office Hours
- R in 3 Months Spring 2022 Week 13 Live Session
- R in 3 Months Spring 2022 Final Project Assignment
-
WEEK 14: Retrospective
R in 3 Months (Spring 2022)
Examine our Data
This lesson is locked
This lesson is called Examine our Data, part of the R in 3 Months (Spring 2022) course. This lesson is called Examine our Data, part of the R in 3 Months (Spring 2022) course.
If the video is not playing correctly, you can watch it in a new window
Transcript
Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.
Your Turn
Take a look at your data in the following ways:
In the console by typing
penguins_data
Using the
glimpse()
functionWith the RStudio viewer (or using the
view()
function)With one of the functions I showed from the packages that I demonstrated:
skim()
from theskimr
packagetbl_summary() from the gtsummary package
makeDataReport()
from thedataReporter
packagescan_data()
from thepointblank
package
You need to be signed-in to comment on this post. Login.
Ethan Chapman
March 16, 2021
When I type call faketucky I do get an output but it does not give me nearly that much information. It does not display the column types or even the fact that it is a tibble.
David Keyes Founder
March 16, 2021
Can you post a screenshot of what yours looks like? You can post to a site like Imgur and post a link here.
IBRAH SENINDE
March 18, 2021
when I type "skim", they suggest "skimr ::" instead and they bring an error (skim doesn't exist). Also the "skimr::" function does not execute. https://imgur.com/rw9OHNM
Atlang Mompe
March 29, 2021
Hi David,
The links of this sentence do not work: If you have issues getting the histograms to display properly and you’re using Windows, there is a known issue. Please see the skimr documentation for potential solutions..
Thanks, Atty
Krystal Robinson
March 31, 2021
Everything else worked until I got to the skim function. > library(tidyverse) > library(slimr) Error in library(slimr) : there is no package called ‘slimr’ > skim(faketucky) Error in skim(faketucky) : could not find function "skim" > skim(faketucky) Error in skim(faketucky) : could not find function "skim"
Portia Hunt
April 1, 2021
Not sure why I'm getting this error message:
skim(faketucky) Error: 'across' is not an exported object from 'namespace:dplyr'
Googling, unfortunately, hasn't given me an answer ;)
Matt M
September 12, 2021
i noticed that in your output from skim(faketucky) the numerical variables were in alphabetical order (act_math, act_reacing). In my output, they are in the order they appear in the View (student_id, male).
I assume there's an ability to manipulate this that we'll learn later, but was surprised that our output was in a different order despite both running the simple skim() function.
Skarlleth Martinez Prado
September 21, 2021
When I type facketucky, it does not give me the information about the tibble and the info below. It just appears in blue in my console, but I don't have the details. Maybe I did something wrong, or I jumped a step. Could you please help me?
John Franjione
January 14, 2022
Got some weird results, but then I realized (aided by reading some of these questions) that I hadn't installed and loaded the tidyverse and skimr packages. Well, actually I had, but then I quit RStudio, but then re-opened the project thinking it would be in the same state as when I quit. But it was not. So I had to re-execute the install and library functions.
Two questions:
Thanks!
Hanan Perlman
March 17, 2022
Hi David, When trying to skim I got this error message. What should I do? library(tidyverse) Error: package or namespace load failed for ‘tidyverse’: .onAttach failed in attachNamespace() for 'tidyverse', details: call: library.dynam(lib, package, package.lib) error: DLL ‘cli’ not found: maybe not installed for this architecture? > library(skimr) > skim(faketucky) Error in library.dynam(lib, package, package.lib) : DLL ‘cli’ not found: maybe not installed for this architecture? >
Hanan Perlman
March 18, 2022
Hi David and Charlie, This is the error that I got: library(tidyverse) Error: package or namespace load failed for ‘tidyverse’: .onAttach failed in attachNamespace() for 'tidyverse', details: call: library.dynam(lib, package, package.lib) error: DLL ‘cli’ not found: maybe not installed for this architecture?
Vishnu Gunneri
April 22, 2022
Hi Team, I have revisited this course and I have updated the skimr package but the histograms doesn't show up Here is the link https://imgur.com/a/uI9epEp to check out the image
Todd Rosenboom
July 19, 2022
Hi, I was curious why my skim(faketucky) didn't output the histogram correcty?
skim_variable n_missing complete_rate mean sd p0 p25 p50 p75 p100 hist 1 student_id 0 1 55922. 32333. 1 27910. 56070 83872. 111990
Manraj Kaur
September 29, 2022
Hi David, everything works for me but I only see 4 columns instead of what you see. You mention in the video that it is related to how much space is available for R to show the data. How do I adjust my screen/settings to see everything that is shown in your video? Thanks! https://imgur.com/a/Z4TWf0r
Jaime Perez
November 25, 2022
So we'll have to load the libraries each time we're running our code? I thought it had to be done just once...
Marcia Dewandel
March 16, 2023
All well so far, except when attempting skim(faketucky). Got this message:
Error in skim(faketucky) : could not find function "skim:
Kiana Robinson
March 22, 2023
> skim(faketucky) Error in skim(faketucky) : could not find function "skim"
Muhammed Elhadedy
May 3, 2023
Hi David. When I use the skim function, everything goes well except the histogram. I don't find a histogram, and I get these instead:
Can you help me with it? Note: I checked that the tidyverse package (including ggplot2) had been loaded as well as skimr package.
Jessica Smith
August 23, 2023
Hi! I am trying to use the skim() function for a dataset that I have imported, and I noticed that it shows up with what it calls "whitespace." Do you know what this is and how I get rid of it?
David Keyes Founder
August 24, 2023
I'm not exactly sure what you mean by whitespace. Can you clarify that, please?