The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
The fdicdata R package provides a set of functions for working with data from the Federal Deposit Insurance Corporation (FDIC), including retrieving financial data for FDIC-insured institutions and accessing the data taxonomy.
install.packages("fdicdata")
::install_github("Visbanking/fdicdata",ref="main") remotes
dataTaxonomy("financial")
# Getting all data
getInstitutionsAll()
# Get data for specific bank (name uses fuzzy match "Iland"~"Island")
getInstitution(name = "Bank of America", fields = c("NAME", "CITY", "STATE"))
# Get location information for a bank with CERT number 3850
getLocation(3850)
# Get location information for a bank with CERT number 3850 and fields "NAME", "CITY", and "ZIP"
getLocation(3850, fields = c("NAME", "CITY", "ZIP"))
# Getting all location data for a bank.
getLocation(3850 ,fields = dataTaxonomy("location")$Name)
getHistory(CERT_or_NAME = 3850, c("INSTNAME","CERT","PCITY","PSTALP","PZIP5"))
getHistory("Iland",fields=c("INSTNAME","CERT","PCITY","PSTALP","PZIP5"),CERT=FALSE)
# Get data for specific bank (CERT_or_NAME uses fuzzy match "Iland"~"Island")
getHistory(CERT_or_NAME = "JP Morgan", fields =c("INSTNAME","CERT","PCITY","PSTALP","PZIP5"), CERT = FALSE)
getSummary(c("West Virginia", "Delaware", "Alabama"), c(2015, 2016), c("ASSET", "INTINC"))
library(fdicdata)
getFinancials(37,"ASSET")
<- function(IDRSSD_or_CERT,metrics,limit=5){
getAllFinancials <- data.frame()
all_financials_banks <- IDRSSD_or_CERT
feds <- length(feds)
n_feds for (j in 1:n_feds) {
<- feds[j]
i message(paste("Processing", i, "(", j, "of", n_feds, ")"))
<- 0
retry <- FALSE
success while (!success && retry < 3) {
tryCatch({
suppressWarnings({
<- getFinancials(i, metrics, limit = limit)
all_financials_single_bank
})<- rbind(all_financials_single_bank, all_financials_banks)
all_financials_banks message(paste(i, "added to data"))
<- TRUE
success error = function(e) {
}, message(paste("API rejected the request, retrying in 3 minutes..."))
Sys.sleep( sample(1:30, 1))
<<- retry + 1
retry
})
}if (!success) {
message(paste("Could not add", i, "to data after 3 tries"))
}
}return(all_financials_banks)
}<- dataTaxonomy("financial")
financial_taxonomy # FDIC Bank Find Suite API limits the data user can pull at once
getAllFinancials(c(37,242),financial_taxonomy$Name[1:100])
getFailures(c("CERT", "NAME", "FAILDATE", "CITY", "STATE"), range = c(2010, 2015))
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.