process_response: Process a Canvas API response

Description Usage Arguments Value

View source: R/uva_utils.R

Description

Wrapper function for common tasks in going from Canvas url to dataframe. Most of the heavy lifting is done in paginate, which finds which pages to download. This function adds necessary arguments to those pages (e.g. the authentication token), downloads the content, converts from JSON into data frame format, and if there are multiple pages/dataframes, converts it into one final dataframe.

Usage

1

Arguments

url

url to query

args

query arguments to be passed to httr, e.g. auth token

Value

processed dataframe


ICTO-FMG/uvacanvas documentation built on Jan. 24, 2022, 5:16 a.m.