Description Usage Arguments Value Examples
View source: R/simple_functions.R
This function sets course starting date and end date
This function sets course starting date and end date
1 2 3 | set_course_dates(course_id, start_date = NULL, end_date = NULL)
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.
server response. Either 200 status code if everything went correctly or a specific http status warning.
1 2 3 4 5 | set_course_dates(404, start_date = "2019-01-01T00:00Z")
set_course_dates(404, start_date = NA, end_date = NA )
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.