View source: R/drive_get_info.R
drive_get_info | R Documentation |
Extract galacticPubs-relevant information from a GP lesson file, with an expected format of ShortTitle_L1_G5-9_wksht (TEACHER)
drive_get_info(
dribble,
set_lsn = NULL,
set_envir = NULL,
set_grades = NULL,
validate = FALSE,
all_info = FALSE
)
dribble |
a dribble input (e.g. piped from |
set_lsn |
set lesson manually (not from file name) |
set_envir |
set envir output manually (not from file name); partial string matching of options "classroom", "remote", "assessments" |
set_grades |
set grade bands manually (not from file name); passed as a string (e.g. "5-9") |
validate |
logical; do you want to throw an error if any of the following are missing? default= FALSE
|
all_info |
logical; keep the full drive_resources list with all the dribble meta info for each row item? default=FALSE |
Also extracts the modification datetime and drive link. 'title' and 'description' are also included to match TeachMatLinks fields, though they cannot be populated automatically.
a tibble with a row corresponding to each row in dribble input, with title and other information extracted from filename
Other Google Drive Functions:
drive_contents()
,
drive_copy_missing_files()
,
drive_cp_dir()
,
drive_find_path()
,
drive_inSync()
,
drive_new_from_template()
,
drive_open()
,
init_lesson_meta()
,
update_teach_links()
drive_find_path("GP-Studio/Edu/Lessons/assumptionsMatter_femalesSing_math/teaching-materials/classroom/classroom_5-6/handouts/Females Sing_P1_G5-6 wksht (STUDENT)_classroom.gdoc")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.