Get access to all lessons in this course.
Getting Started With R
Examine our Data
This lesson is locked
This lesson is called Examine our Data, part of the Getting Started With R course. This lesson is called Examine our Data, part of the Getting Started With R 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 thegtsummary
package
makeDataReport()
from thedataReporter
packagescan_data()
from thepointblank
package
You need to be signed-in to comment on this post. Login.
Brittany Ripper
September 14, 2023
This is the text that was generated after I identified the library and typed the "makeDataReport" function. A word file was generated instead of a pdf as shown in the video. Was there a problem with my code?
David Keyes
September 14, 2023
Nothing wrong with your code! I don't know why it generated a Word document for you (to be honest, I never personally use the
dataReporter
package). However, it looks like there is anoutput
argument you can use to change the output format. This will produce a PDF:Let me know if that helps!
Ishaan Kumar
September 14, 2023
I had the same issue, and inserted output = "pdf" and got this error. Perhaps it's because I don't have a LaTex viewer on my computer?
Is dataReporter_penguins_data.pdf open on your computer? Please close it as fast as possible to avoid problems!
Error: LaTeX failed to compile dataReporter_penguins_data.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. In addition: Warning message: In system2(..., stdout = if (use_file_stdout()) f1 else FALSE, stderr = f2) : '"pdflatex"' not found
David Keyes
September 14, 2023
Yes, I think that's right.
Jessica France
September 14, 2023
Hello David. After using the scan_data function, I get this message
This seems to imply that I install the
ggforce
package first. Since you did not mention anything about a ggforce package, I do no know if this poses as a problem. Thanks.David Keyes
September 14, 2023
Sorry, I didn't realize you would need to install another package. Yes, you can install it safely!
Jessica France
September 18, 2023
Thank you!
Eric Walcott
September 29, 2023
When I ran the scan with pointblank, I got an error message saying the "interactions" and "correlations" requires the ggforce package. I installed that, so I was able to move forward, but not sure if that signifies a wrong step somewhere else, or something else going on. Here's the output:
install.packages("ggforce")
.David Keyes
September 29, 2023
I didn't realize this when I made the video, but it seems like you need to also install the
ggforce
package to usepointblank
. You can do that by runninginstall.packages("ggforce")
in the console. Let me know if that solves your problem!