Skip to content

R Tips and Tricks: custom functions, regex, and iteration. Learn techniques for common needs such as data-scraping, ingesting multiple files, transforming messy data into tidy data, quickly cleaning column names, separating multivalue fields, uniting variable values, and nesting data.

License

Notifications You must be signed in to change notification settings

libjohn/workshop_rfun_iterate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Creative Commons CC BY-NC YouTube Playlist

Practical R/data-wrangling Tips and Tricks: custom functions, regex, and iteration. Learn techniques for common needs such as data-scraping, ingesting multiple files, transforming messy data into tidy data, quickly cleaning column names, separating multivalue fields, uniting variable values, and nesting data.

mybinder container

Launch Rstudio Binder

Applied topics

  • File handling: ingesting multiple CSV files ; multivalue fields
  • Regular expressions and pattern matching: working with strings
    • if_else() and case_when()
  • Custom functions: leverage R as a functional coding language
  • Nesting data-frames: preparing to iterate over list columns
  • Data wrangling case study with Excel; how to use fill()(“fill down”) and pivot_longer()
  • Harvesting data from the web

See Also

License

CC-BY 4.0 Attribution 4.0 International (CC BY 4.0)

About

R Tips and Tricks: custom functions, regex, and iteration. Learn techniques for common needs such as data-scraping, ingesting multiple files, transforming messy data into tidy data, quickly cleaning column names, separating multivalue fields, uniting variable values, and nesting data.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages