getLocation {fdicdata}R Documentation

Get location information for a bank with a given CERT number

Description

This function retrieves location information for a bank with a given CERT number from the Federal Deposit Insurance Corporation (FDIC) database.

Usage

getLocation(CERT, fields = c("NAME", "CITY", "STNAME"), limit = 10000)

Arguments

CERT

A character string specifying the CERT number of the bank to retrieve location information for.

fields

A character vector specifying the fields to include in the output. Default is c("NAME", "CITY", "STNAME").

limit

An integer specifying the maximum number of locations to retrieve. Default is 10000.

ZIP

The ZIP code for the location.

UNINUM

A unique identifier for the location.

STNAME

The name of the state where the location is located.

STCNTY

The name of the county where the location is located.

STALP

The two-letter abbreviation for the state where the location is located.

SERVTYPE_DESC

A description of the type of service provided at the location.

SERVTYPE

A code indicating the type of service provided at the location.

RUNDATE

The date the location information was last updated.

OFFNUM

The number of the office associated with the location.

OFFNAME

The name of the office associated with the location.

NAME

The name of the financial institution associated with the location.

MAINOFF

A flag indicating whether the location is the main office for the financial institution.

MDI_STATUS_DESC

A description of the regulatory status of the financial institution associated with the location.

MDI_STATUS_CODE

A code indicating the regulatory status of the financial institution associated with the location.

LONGITUDE

The longitude of the location.

LATITUDE

The latitude of the location.

FI_UNINUM

A unique identifier for the financial institution associated with the location.

ESTYMD

The date the financial institution associated with the location was established.

CSA_NO

The Core Based Statistical Area (CBSA) number for the location.

CSA_FLG

A flag indicating whether the location is part of a CBSA.

CSA

The name of the CBSA associated with the location.

COUNTY

The name of the county associated with the location.

CITY

The name of the city associated with the location.

CERT

The certificate number of the financial institution associated with the location.

CBSA_NO

The CBSA number for the location.

CBSA_MICRO_FLG

A flag indicating whether the CBSA associated with the location is a micro area.

CBSA_METRO_NAME

The name of the metropolitan area associated with the location.

CBSA_METRO_FLG

A flag indicating whether the location is part of a metropolitan area.

CBSA_METRO

The code for the metropolitan area associated with the location.

CBSA_DIV_NO

The CBSA division number for the location.

CBSA_DIV_FLG

A flag indicating whether the location is part of a CBSA division.

CBSA_DIV

The name of the CBSA division associated with the location.

CBSA

The code for the CBSA associated with the location.

BKCLASS

The bank class associated with the location.

ADDRESS

Address of the bank.

Value

A data frame containing location information for the bank.

Examples

# 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"))

[Package fdicdata version 0.1.0 Index]