getSummary | R Documentation |
This function retrieves summary data from the FDIC API based on given state names, a range of years, and specified fields. The returned data frame includes columns for state name, year, CB_SI, and the specified fields.
getSummary(states, range, fields, limit = 10000)
states |
a character vector of state names to filter by |
range |
a numeric vector of length two representing the beginning and ending years to filter by. If NULL, no year filtering will occur. |
fields |
a character vector of field names to include in the output data frame |
limit |
an integer specifying the maximum number of rows to retrieve from the API |
a data frame with summary data for the given states, years, and fields
df <- getSummary(c("West Virginia", "Delaware", "Alabama"), c(2015, 2016), c("ASSET", "INTINC"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.