open_notes: Opens notes files

View source: R/open-notes-files.R

open_notesR Documentation

Opens notes files

Description

Loops over a vector or file paths and open the files indicated. If two or more datasets have the same name basename, only the last read will be available

Usage

open_notes(
  week,
  day,
  file_types = c("notes", "data", "rmd"),
  path = "/Users/user/Documents/GitHub/data_rewrite2",
  clean_names = TRUE,
  drop_dups = TRUE
)

Arguments

week

Integer

day

Integer

file_types

Character; Any or all of 'notes', 'rmd', or 'data'

path

Character; Location of course repo

clean_names

Logical; Pass dataset columns names through janitor::clean_names

drop_dups

Logical; Remove duplicated dataset names

Value

Character; names of datasets attached.


jmcvw/ccmisc documentation built on July 27, 2022, 1:48 a.m.