Description Usage Arguments Value Note Examples
Retrieve details of Sections.
1 2 3 4 5 |
unitid |
integer Retrieve a section with a specific unitid. When defined, sections are limited to those found at the specified unit. When undefined, all sections are returned. |
sectionid |
integer Retrieve a section with a specific sectionid. When defined, limits the sections to only the specified section. When undefined, all sections are returned |
data |
string Determines the extent of data that will be returned. Count: Returns count of all activities found. Summary: Returns an array of sections and counts of activities within that section. Detailed: Returns an array of sections and a subarray of activityids for each section. |
q |
string Search term. Use '*' as wildcard. |
limit |
integer Limit query to specified number of records. |
offset |
integer Used with limit to return records in batches, e.g., if limit = 20 and offset = 21, records 21-40 will be returned. |
... |
additional arguments passed to |
a response
object
API documentation: https://faculty180.interfolio.com/swagger/ui/#tag/Sections
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Not run:
## retrieves data sections
r <- fac_get_sections()
content(r)
# retrieves data sections
r <- fac_get_sections(sectionid = 5, data = "summary")
content(r)
## retrieves information on a specific section
r <- fac_get_section(sectionid = -15)
content(r)
# retrieves information on a specific section
r <- fac_get_section(sectionid = -15, data = "summary")
content(r)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.