Functions to retrieve detailed information about specific treasury accounts including object classes and program activities.
Usage
agency_treasury_account_object_class(treasury_account_symbol, ...)
agency_treasury_account_program_activity(treasury_account_symbol, ...)
Arguments
- treasury_account_symbol
A character string representing the Treasury Account Symbol (TAS) in the format "XXX-X-XXXX-XXX"
- ...
Additional parameters passed to specific API endpoints. Common options include:
page
: Integer specifying the page number to retrieve (default: 1)limit
: Integer specifying number of records per page (default: 10)sort
: Field to sort results by (varies by endpoint)order
: Sort direction: "asc" or "desc" (default varies by endpoint)
Value
Each function returns a tibble with different structures:
agency_treasury_account_object_class()
returns:treasury_account_symbol
: TAS codefiscal_year
: Fiscal yearresults
: List of object classes with financial data
agency_treasury_account_program_activity()
returns:treasury_account_symbol
: TAS codefiscal_year
: Fiscal yearresults
: List of program activities with financial data