Skip to content
R for the Rest of Us: A Statistics-Free Introduction comes out June 25th. Or you can read the online version today. Check it out →
R for the Rest of Us Logo

Getting Started

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.

Learn More

Information about the NHANES is available on the CDC website. Information about the NHANES R package is here.

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

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

Vuk Sekicki

Vuk Sekicki

March 17, 2021

https://www.youtube.com/watch?v=GmnN2r5J0YA broken link, just FYI.

Sara Cifuentes

Sara Cifuentes

March 30, 2022

Could you explain the meaning of "custom CSS" better, please?

Tatiana Bustos

Tatiana Bustos

July 22, 2022

It looks like the video is no longer available.. Is that accurate? Just want to make sure it isn't another link related issue. Thanks !

Nadia Chang

Nadia Chang

October 6, 2022

If I want to download the package, the link above send you to a page with this information: Package source: NHANES_2.1.0.tar.gz Windows binaries: r-devel: NHANES_2.1.0.zip, r-release: NHANES_2.1.0.zip, r-oldrel: NHANES_2.1.0.zip macOS binaries: r-release (arm64): NHANES_2.1.0.tgz, r-oldrel (arm64): NHANES_2.1.0.tgz, r-release (x86_64): NHANES_2.1.0.tgz, r-oldrel (x86_64): NHANES_2.1.0.tgz

which one should I install (I am using Mac) and what are the binaries options that are there? or should I only: install.packages("nhanes") in the console?

Morgan Garner

Morgan Garner

March 15, 2023

Hello! I am having a blast working through this course. Especially the NHANES data wrangling section (this is exactly why I wanted to learn R)! I was having trouble creating a new variable based on another preexisting variable, then I realized that some of the variable field names in the NHANES dataset have changed since this tutorial was created. I was able to discover this by using the view() function. I updated the variable name in my code and voila! Simple fix! I'm already using the tools I've learned in this course and feel so accomplished being able to troubleshoot already!! Many thanks to the R for the Rest of Us team!

Oscar Tetteh

Oscar Tetteh

March 25, 2023

Please, how can I get the nhanes data.

Andrew Paquin

Andrew Paquin

March 26, 2023

Hi. I am trying to update my packages in R as directed in the video above. I get the following error message (in red): Error in gzfile(file, mode) : cannot open the connection In addition: Warning message: In gzfile(file, mode) : cannot open compressed file 'C:\Users\paquinan\AppData\Local\Temp\RtmpoFAckU/libloc_185_13d200b7.rds', probable reason 'No such file or directory' I have no idea what this means, but it does not look good. What should I do?