View source: R/simple_functions.R
set_course_dates | R Documentation |
This function sets course starting date and end date
set_course_dates(course_id, start_date = NULL, end_date = NULL)
course_id |
the canvas id of the course (integer) |
start_date |
starting date in ISO DateTime format or use NA for no date (character) |
end_date |
end date in ISO DateTime format or use NA for no date (character) |
server response. Either 200 status code if everything went correctly or a specific http status warning.
set_course_dates(404, start_date = "2019-01-01T00:00Z")
set_course_dates(404, start_date = NA, end_date = NA )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.