getFinancials {fdicdata}R Documentation

Get financial data for a given institution

Description

This function retrieves financial data for a given institution from the FDIC API.

Usage

getFinancials(IDRSSD_or_CERT, metrics, limit = 1, IDRSSD = TRUE, range = NULL)

Arguments

IDRSSD_or_CERT

Numeric value indicating the IDRSSD or CERT number of the institution to retrieve data for.

metrics

Vector of metric names to retrieve financial data for.

limit

Number of records to retrieve.

IDRSSD

Boolean value indicating whether IDRSSD (True) or CERT number (False) is used.

range

Character vector contains start and end date for range. Open ended ranges can be expressed using a "*"

Value

A dataframe containing the requested financial data.

Examples

getFinancials(37, metrics = c("ASSET", "DEP"),limit = 10, range = c("2015-01-01","*"))
getFinancials(37, metrics = c("ASSET", "DEP"),limit = 10, range = c("2015-01-01","2016-01-01"))

[Package fdicdata version 0.1.0 Index]