Skip to content
R for the Rest of Us Logo

Unusable Variable Names

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

  • Import a .csv file with problematic headers (MPAS-your.csv)

  • Make the variable names usable by placing all header fragments in a single header row

  • Clean the names for consistency

Learn More

To learn about the clean_names() function, check out the janitor package docs.

To learn more about the mash_colnames() function, check out the unheadr GitHub page.

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

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