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.
Usage
getSummary(states, range, fields, limit = 10000)
Value
a data frame with summary data for the given states, years, and fields
Arguments
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