Skip to content
R for the Rest of Us Logo

This lesson is locked

Get access to all lessons in this 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:

  1. In the console by typing penguins_data

  2. Using the glimpse() function

  3. With the RStudio viewer (or using the view() function)

  4. With one of the functions I showed from the packages that I demonstrated:

    • skim() from the skimr package

    • tbl_summary() from the gtsummary package

    • makeDataReport() from the dataReporter package

    • scan_data() from the pointblank package

Have any questions? Put them below and we will help you out!

You need to be signed-in to comment on this post. Login.

Ethan Chapman

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

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

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

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

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

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 ;)

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

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

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:

  1. Is there a way to see what packages have been installed and loaded?
  2. Is there a way to execute the entire script (well, besides selecting all lines and hitting the "Run" button)?

Thanks!

Hanan Perlman

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

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

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

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

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

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

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

Kiana Robinson

March 22, 2023

> skim(faketucky) Error in skim(faketucky) : could not find function "skim"

Muhammed Elhadedy

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

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

David Keyes Founder

August 24, 2023

I'm not exactly sure what you mean by whitespace. Can you clarify that, please?