getLatestReport: Retrieve latest report for each of the linked accounts.

View source: R/getArchive.R

getLatestReportR Documentation

Retrieve latest report for each of the linked accounts.

Description

getLatestReport provides access to the latest reports from the appFigures web API

Usage

getLatestReport(type = c("all", "daily", "weekly", "monthly", "yearly",
  "finance", "payment"), curlHandle, verbose = FALSE, orgJSON = FALSE)

Arguments

type

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

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.