This function retrieves location information for a bank with a given CERT number from the Federal Deposit Insurance Corporation (FDIC) database.
getLocation(CERT, fields = c("NAME", "CITY", "STNAME"), limit = 10000)
A data frame containing location information for the bank.
A character string specifying the CERT number of the bank to retrieve location information for.
A character vector specifying the fields to include in the output. Default is c("NAME", "CITY", "STNAME").
An integer specifying the maximum number of locations to retrieve. Default is 10000.
The ZIP code for the location.
A unique identifier for the location.
The name of the state where the location is located.
The name of the county where the location is located.
The two-letter abbreviation for the state where the location is located.
A description of the type of service provided at the location.
A code indicating the type of service provided at the location.
The date the location information was last updated.
The number of the office associated with the location.
The name of the office associated with the location.
The name of the financial institution associated with the location.
A flag indicating whether the location is the main office for the financial institution.
A description of the regulatory status of the financial institution associated with the location.
A code indicating the regulatory status of the financial institution associated with the location.
The longitude of the location.
The latitude of the location.
A unique identifier for the financial institution associated with the location.
The date the financial institution associated with the location was established.
The Core Based Statistical Area (CBSA) number for the location.
A flag indicating whether the location is part of a CBSA.
The name of the CBSA associated with the location.
The name of the county associated with the location.
The name of the city associated with the location.
The certificate number of the financial institution associated with the location.
The CBSA number for the location.
A flag indicating whether the CBSA associated with the location is a micro area.
The name of the metropolitan area associated with the location.
A flag indicating whether the location is part of a metropolitan area.
The code for the metropolitan area associated with the location.
The CBSA division number for the location.
A flag indicating whether the location is part of a CBSA division.
The name of the CBSA division associated with the location.
The code for the CBSA associated with the location.
The bank class associated with the location.
Address of the bank.
# 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"))
Run the code above in your browser using DataLab