getArchivedReport: Retrieve archived reports for each of the linked accounts.

View source: R/getArchive.R

getArchivedReportR Documentation

Retrieve archived reports for each of the linked accounts.

Description

getArchivedReport provides access to archived reports from the appFigures web API

Usage

getArchivedReport(type = c("all", "daily", "weekly", "monthly",
  "monthlyfree", "finance", "payment"), date, curlHandle,
  verbose = FALSE, orgJSON = FALSE)

Arguments

type

Character. Choose between "all", "daily", "weekly", "monthly", "monthlyfree", "finance", or "payment". Defaults to "all".

date

Character. Only return reports with a timestamp on this date. Defaults to all dates.

curlHandle

Provide an instance of the CURLHandle-class from the RCurl package. The default will create a curl handle specific to the function call.

verbose

Logical. Should details of the web request print to the console? Defaults to FALSE.

orgJSON

Logical. Should the JSON string be returned without being converted to R objects? Defaults to FALSE.

Value

A dataframe containing the requested reports.

See Also

Official documentation: http://docs.appfigures.com/archive.


appfigures/afapi documentation built on Nov. 13, 2022, 9:27 a.m.