mm_data()
downloads Megamation tables into R. It automatically
Creates and performs the necessary API GET request(s)
Extracts and combines the data from the API response(s)
Informs when no data is returned or when the API errors
Arguments
- endpoint
The API endpoint. For example,
"timecard"
for employee transactions, and"workorder"
for work orders. All endpoints are listed at https://apidocs.megamation.com/.- ...
<
dynamic-dots
> Name-value pairs to filter the request. The name should be the lower-case name of a field that is filter-enabled (in Megamation's words, a criteria). These arguments are processed withrlang::quos()
and support unquote via!!
and unquote-splice via!!!
.- allfields
If
TRUE
, return all fields currently available for the endpoint.
Value
A data frame of class tbl_df
containing
the requested data.