30  Topics

The following are many of the topics that this course will covers. This is just an overview. See the main section of the text for more info on each topic. This list of topics may change.

30.1 Quarto (newer version of RMarkdown)

30.2 More practice with “base” R

Throughout the course you will be working with R. You must understand all of the basics that were covered in the R programming course. This includes but is no limited to lists,dataframes,user defined functions, if/else/else if, while loop, for loop, etc. etc. etc.

Resources

30.3 R Packages

31 Working with different types of files

  • install.packages(“fs”)
    library(fs)
    dir_tree()

  • CSV files

  • JSON files

    • jsonlite package
  • XML and HTML files

    • packages: xml2, httr
  • Excel files

    • package: readxl (part of the “tidyverse” set of packages)

31.1 Command Line Interfaces

  • what is a command line interface (CLI)

  • Windows (CMD, Powershell)

  • Unix, Linux and Mac Terminal (Bash and others)

  • Bash

    • Terminal tab in RStudio

    • working with the file system

    • editing files

    • working with text

      • cut
      • grep
    • redirection

      • command > filename
      • command < filename
      • command | command2 | command3
    • script files

      • chmod command
      • $PATH
      • basic script files
      • $env
      • variable=value # no spaces
      • 32 comments

32.1 Regular Expressions

  • http://regextutorials.com/ Good examples with practice questions. Need to explain about /g and other forward slash options.

  • https://regexcrossword.com/

32.2 Web scraping


32.3 Other topics (beyond the scope of the course)