Examine our Data
This lesson is called Examine our Data, part of the R in 3 Months (Fall 2022) course. This lesson is called Examine our Data, part of the R in 3 Months (Fall 2022) course.
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
Have any questions? Put them below and we will help you out!
Course Content
142 Lessons
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 Ahmed 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?
Reema Dodwani • July 27, 2024
I cannot load skimr and gtsummary packages, it says no such packages
David Keyes Founder • July 29, 2024
Did you install them first?
Reema Dodwani • July 29, 2024
Yes, I did install it. But today i tried again in a new session and its working now. Thanks for swift response.
David Keyes Founder • July 29, 2024
Glad it's working now!