├── tests ├── __init__.py └── test_functions.py ├── .gitattributes ├── docs ├── docs │ ├── release_notes.md │ ├── CNAME │ ├── img │ │ ├── logo.png │ │ ├── favicon.png │ │ └── small_logo.png │ ├── css │ │ └── termynal.css │ ├── index.md │ ├── filtering.md │ ├── js │ │ ├── custom.js │ │ └── termynal.js │ └── functions.md └── mkdocs.yml ├── requirements.txt ├── pytest.ini ├── CHANGELOG.md ├── bankfind ├── __init__.py ├── metadata │ ├── __init__.py │ ├── failure.py │ ├── location.py │ └── summary.py ├── base.py └── main.py ├── .travis.yml ├── LICENSE ├── pyproject.toml ├── .gitignore └── README.md /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto -------------------------------------------------------------------------------- /docs/docs/release_notes.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/docs/CNAME: -------------------------------------------------------------------------------- 1 | bankfind.dpguthrie.com -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | pandas>=0.24 2 | requests==2.24.0 3 | -------------------------------------------------------------------------------- /docs/docs/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpguthrie/bankfind/HEAD/docs/docs/img/logo.png -------------------------------------------------------------------------------- /docs/docs/img/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpguthrie/bankfind/HEAD/docs/docs/img/favicon.png -------------------------------------------------------------------------------- /docs/docs/img/small_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpguthrie/bankfind/HEAD/docs/docs/img/small_logo.png -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- 1 | [pytest] 2 | testpaths = 3 | tests 4 | bankfind 5 | norecursedirs=dist build .venv .vscode demo 6 | addopts = 7 | --doctest-modules 8 | --cov=bankfind 9 | -r a 10 | -v -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## 0.0.1 4 | 5 | - Ability to hit 5 separate endpoints (institutions, failures, history, locations, and summary) as well as filter and search according to the API specifications 6 | -------------------------------------------------------------------------------- /bankfind/__init__.py: -------------------------------------------------------------------------------- 1 | """Python interface to the FDIC's API for publically available bank data""" 2 | 3 | __version__ = '0.0.1' 4 | 5 | 6 | from .main import (get_failures, get_history, get_institutions, # noqa 7 | get_locations, get_summary) 8 | from .metadata import meta_dict # noqa 9 | -------------------------------------------------------------------------------- /bankfind/metadata/__init__.py: -------------------------------------------------------------------------------- 1 | from .failure import failure_dict 2 | from .history import history_dict 3 | from .institution import institution_dict 4 | from .location import location_dict 5 | from .summary import summary_dict 6 | 7 | 8 | meta_dict = { 9 | 'failures': failure_dict, 10 | 'history': history_dict, 11 | 'institutions': institution_dict, 12 | 'locations': location_dict, 13 | 'summary': summary_dict 14 | } 15 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: python 2 | python: 3 | - 3.6 4 | - 3.7 5 | - 3.8 6 | before_install: 7 | - python --version 8 | - pip install -U pip 9 | - pip install -U pytest 10 | - pip install codecov 11 | install: 12 | - pip install Cython 13 | - pip install -r requirements.txt 14 | - pip install ".[test]" . 15 | script: pytest 16 | after_success: 17 | - codecov 18 | # deploy: 19 | # provider: pypi 20 | # username: "__token__" 21 | # password: 22 | # secure: 23 | # on: 24 | # tags: true 25 | # python: 3.8 26 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2020 Doug Guthrie 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /tests/test_functions.py: -------------------------------------------------------------------------------- 1 | import bankfind as bf 2 | 3 | 4 | def test_institutions(): 5 | data = bf.get_institutions( 6 | filters="STALP:CO AND ACTIVE:1", 7 | search="NAME: AMG", 8 | ) 9 | assert len(data['data']) == 1 10 | 11 | 12 | def test_locations(): 13 | data = bf.get_locations( 14 | filters="CERT:57295" 15 | ) 16 | assert len(data['data']) >= 7 17 | 18 | 19 | def test_history(): 20 | data = bf.get_history( 21 | filters="CERT:57295", 22 | output='pandas', 23 | friendly_fields=True 24 | ) 25 | assert len(data) >= 18 26 | 27 | 28 | def test_summary(): 29 | df = bf.get_summary( 30 | filters='CB_SI:CB AND ASSET:[10000000000 TO *] AND YEAR:["2018" TO "2019"]', 31 | output='pandas') 32 | assert len(df) >= 4 33 | 34 | 35 | def test_failures(): 36 | data = bf.get_failures( 37 | filters='PSTALP:CO AND FAILYR:["2008" TO "2011"]', 38 | sort_by='COST', 39 | sort_order='DESC', 40 | friendly_fields=True) 41 | assert len(data['data']) == 9 42 | 43 | 44 | def test_bad_request(): 45 | response = bf.get_institutions(sort_by="BAD_SORT_BY_FIELD") 46 | assert response.status_code == 400 47 | -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [build-system] 2 | requires = ["flit_core >=2,<4"] 3 | build-backend = "flit_core.buildapi" 4 | 5 | [tool.flit.metadata] 6 | module = "bankfind" 7 | author = "Doug Guthrie" 8 | author-email = "douglas.p.guthrie@gmail.com" 9 | home-page = "https://github.com/dpguthrie/bankfind" 10 | keywords = "banking, finance, fdic, api, requests" 11 | classifiers = [ 12 | "Development Status :: 3 - Alpha", 13 | "Intended Audience :: Developers", 14 | "Intended Audience :: Financial and Insurance Industry", 15 | "License :: OSI Approved :: MIT License", 16 | "Operating System :: OS Independent", 17 | "Programming Language :: Python", 18 | "Programming Language :: Python :: 2.7", 19 | "Programming Language :: Python :: 3.5", 20 | "Programming Language :: Python :: 3.6", 21 | "Programming Language :: Python :: 3.7", 22 | "Programming Language :: Python :: 3.8", 23 | ] 24 | requires = [ 25 | "requests==2.24.0", 26 | "pandas>=0.24" 27 | ] 28 | description-file = "README.md" 29 | 30 | [tool.flit.metadata.requires-extra] 31 | test = [ 32 | 'pytest', 33 | 'coverage', 34 | 'pytest-cov' 35 | ] 36 | doc = [ 37 | 'mkdocs-material', 38 | 'pymdown-extensions' 39 | ] 40 | 41 | [tool.flit.metadata.urls] 42 | Documentation = "https://bankfind.dpguthrie.com" 43 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | build/ 12 | develop-eggs/ 13 | dist/ 14 | downloads/ 15 | eggs/ 16 | .eggs/ 17 | lib/ 18 | lib64/ 19 | parts/ 20 | sdist/ 21 | var/ 22 | wheels/ 23 | pip-wheel-metadata/ 24 | share/python-wheels/ 25 | *.egg-info/ 26 | .installed.cfg 27 | *.egg 28 | MANIFEST 29 | 30 | # PyInstaller 31 | # Usually these files are written by a python script from a template 32 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 33 | *.manifest 34 | *.spec 35 | 36 | # Installer logs 37 | pip-log.txt 38 | pip-delete-this-directory.txt 39 | 40 | # Unit test / coverage reports 41 | htmlcov/ 42 | .tox/ 43 | .nox/ 44 | .coverage 45 | .coverage.* 46 | .cache 47 | nosetests.xml 48 | coverage.xml 49 | *.cover 50 | .hypothesis/ 51 | .pytest_cache/ 52 | 53 | # Translations 54 | *.mo 55 | *.pot 56 | 57 | # PyBuilder 58 | target/ 59 | 60 | # pyenv 61 | .python-version 62 | 63 | # Environments 64 | .venv 65 | 66 | # mkdocs documentation 67 | */docs/site 68 | 69 | # mypy 70 | .mypy_cache/ 71 | .dmypy.json 72 | dmypy.json 73 | 74 | # Pyre type checker 75 | .pyre/ 76 | 77 | # Project 78 | .vscode/ 79 | reference/ 80 | next.py 81 | docs/site -------------------------------------------------------------------------------- /docs/mkdocs.yml: -------------------------------------------------------------------------------- 1 | # Project Information 2 | site_name: bankfind 3 | site_description: Python wrapper allowing developers access to the FDIC’s publically available bank data 4 | site_author: Doug Guthrie 5 | 6 | # Repository 7 | repo_name: bankfind 8 | repo_url: https://github.com/dpguthrie/bankfind 9 | 10 | # Configuration 11 | theme: 12 | name: material 13 | palette: 14 | primary: black 15 | icon: 16 | repo: fontawesome/brands/github-alt 17 | logo: img/small_logo.png 18 | favicon: img/favicon.png 19 | language: en 20 | 21 | # Extras 22 | extra: 23 | social: 24 | - icon: fontawesome/brands/github-alt 25 | link: https://github.com/dpguthrie 26 | - icon: fontawesome/brands/linkedin 27 | link: https://www.linkedin.com/in/douglas-guthrie-07994a48/ 28 | - icon: fontawesome/brands/medium 29 | link: https://medium.com/@douglas.p.guthrie 30 | - icon: fontawesome/solid/globe 31 | link: https://dpguthrie.com 32 | 33 | extra_css: 34 | - css/termynal.css 35 | 36 | extra_javascript: 37 | - js/termynal.js 38 | - js/custom.js 39 | 40 | # Extensions 41 | markdown_extensions: 42 | - admonition 43 | - codehilite: 44 | guess_lang: false 45 | - toc: 46 | permalink: true 47 | - pymdownx.superfences 48 | - pymdownx.tabbed 49 | - pymdownx.details 50 | - pymdownx.emoji: 51 | emoji_index: !!python/name:materialx.emoji.twemoji 52 | emoji_generator: !!python/name:materialx.emoji.to_svg 53 | 54 | # Google Analytics 55 | google_analytics: 56 | - UA-175202147-1 57 | - auto 58 | 59 | nav: 60 | - index.md 61 | - functions.md 62 | - filtering.md 63 | - release_notes.md -------------------------------------------------------------------------------- /docs/docs/css/termynal.css: -------------------------------------------------------------------------------- 1 | /** 2 | * termynal.js 3 | * 4 | * @author Ines Montani 5 | * @version 0.0.1 6 | * @license MIT 7 | */ 8 | 9 | :root { 10 | --color-bg: #252a33; 11 | --color-text: #eee; 12 | --color-text-subtle: #a2a2a2; 13 | } 14 | 15 | [data-termynal] { 16 | width: 750px; 17 | max-width: 100%; 18 | background: var(--color-bg); 19 | color: var(--color-text); 20 | font-size: 18px; 21 | font-family: 'Fira Mono', Consolas, Menlo, Monaco, 'Courier New', Courier, monospace; 22 | border-radius: 4px; 23 | padding: 75px 45px 35px; 24 | position: relative; 25 | -webkit-box-sizing: border-box; 26 | box-sizing: border-box; 27 | } 28 | 29 | [data-termynal]:before { 30 | content: ''; 31 | position: absolute; 32 | top: 15px; 33 | left: 15px; 34 | display: inline-block; 35 | width: 15px; 36 | height: 15px; 37 | border-radius: 50%; 38 | /* A little hack to display the window buttons in one pseudo element. */ 39 | background: #d9515d; 40 | -webkit-box-shadow: 25px 0 0 #f4c025, 50px 0 0 #3ec930; 41 | box-shadow: 25px 0 0 #f4c025, 50px 0 0 #3ec930; 42 | } 43 | 44 | [data-termynal]:after { 45 | content: 'bash'; 46 | position: absolute; 47 | color: var(--color-text-subtle); 48 | top: 5px; 49 | left: 0; 50 | width: 100%; 51 | text-align: center; 52 | } 53 | 54 | [data-ty] { 55 | display: block; 56 | line-height: 2; 57 | } 58 | 59 | [data-ty]:before { 60 | /* Set up defaults and ensure empty lines are displayed. */ 61 | content: ''; 62 | display: inline-block; 63 | vertical-align: middle; 64 | } 65 | 66 | [data-ty="input"]:before, 67 | [data-ty-prompt]:before { 68 | margin-right: 0.75em; 69 | color: var(--color-text-subtle); 70 | } 71 | 72 | [data-ty="input"]:before { 73 | content: '$'; 74 | } 75 | 76 | [data-ty][data-ty-prompt]:before { 77 | content: attr(data-ty-prompt); 78 | } 79 | 80 | [data-ty-cursor]:after { 81 | content: attr(data-ty-cursor); 82 | font-family: monospace; 83 | margin-left: 0.5em; 84 | -webkit-animation: blink 1s infinite; 85 | animation: blink 1s infinite; 86 | } 87 | 88 | 89 | /* Cursor animation */ 90 | 91 | @-webkit-keyframes blink { 92 | 50% { 93 | opacity: 0; 94 | } 95 | } 96 | 97 | @keyframes blink { 98 | 50% { 99 | opacity: 0; 100 | } 101 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 |

4 |

5 | Python interface to the FDIC's API for publically available bank data 6 |

7 |

8 | 9 | Build Status 10 | 11 | 12 | Coverage 13 | 14 | 15 | Package version 16 | 17 |

18 | 19 | --- 20 | 21 | **Documentation**: https://bankfind.dpguthrie.com 22 | 23 | **Source Code**: https://github.com/dpguthrie/bankfind 24 | 25 | **FDIC Documentation**: https://banks.data.fdic.gov/docs/ 26 | 27 | --- 28 | 29 | ## Overview 30 | 31 | **bankfind** is a python interface to publically available bank data from the FDIC. 32 | 33 | There are currently, as of 8/11/20, five endpoints that the FDIC has exposed to the public: 34 | 35 | - **failures** - returns detail on failed financial institutions 36 | - **institutions** - returns a list of financial institutions 37 | - **history** - returns detail on structure change events 38 | - **locations** - returns locations / branches of financial institutions 39 | - **summary** - returns aggregate financial and structure data, subtotaled by year, regarding financial institutions 40 | 41 | ## Requirements 42 | 43 | Python 2.7, 3.5+ 44 | 45 | - [Requests](https://requests.readthedocs.io/en/master/) - The elegant and simple HTTP library for Python, built for human beings. 46 | - [Pandas](https://pandas.pydata.org/) - Fast, powerful, flexible and easy to use open source data analysis and manipulation tool 47 | 48 | ## Installation 49 | 50 | ```python 51 | pip install bankfind 52 | ``` 53 | 54 | ## Example 55 | 56 | ```python 57 | import bankfind as bf 58 | 59 | # Get Institutions 60 | data = bf.get_institutions() 61 | 62 | # Get Institutions from Colorado with high ROE 63 | data = bf.get_institutions(filters="STNAME:Colorado AND ROE:[25 TO *]") 64 | 65 | # Get Commercial Banks from Colorado that aren't S-Corps 66 | data = bf.get_institutions(filters="STNAME:Colorado AND SUBCHAPS:0 AND CB:1") 67 | ``` 68 | 69 | ## License 70 | 71 | This project is licensed under the terms of the MIT license. 72 | -------------------------------------------------------------------------------- /docs/docs/index.md: -------------------------------------------------------------------------------- 1 |

2 | 3 |

4 |

5 | Python interface to the FDIC's API for publically available bank data 6 |

7 |

8 | 9 | Build Status 10 | 11 | 12 | Coverage 13 | 14 | 15 | Package version 16 | 17 |

18 | 19 | --- 20 | 21 | **Documentation**: https://bankfind.dpguthrie.com 22 | 23 | 24 | 25 | **Source Code**: https://github.com/dpguthrie/bankfind 26 | 27 | **FDIC Documentation**: https://banks.data.fdic.gov/docs/ 28 | 29 | --- 30 | 31 | ## Overview 32 | 33 | **bankfind** is a python interface to publically available bank data from the FDIC. 34 | 35 | There are currently, as of 8/11/20, five endpoints that the FDIC has exposed to the public: 36 | 37 | - **failures** - returns detail on failed financial institutions 38 | - **institutions** - returns a list of financial institutions 39 | - **history** - returns detail on structure change events 40 | - **locations** - returns locations / branches of financial institutions 41 | - **summary** - returns aggregate financial and structure data, subtotaled by year, regarding financial institutions 42 | 43 | ## Requirements 44 | 45 | Python 2.7, 3.5+ 46 | 47 | - [Requests](https://requests.readthedocs.io/en/master/) - The elegant and simple HTTP library for Python, built for human beings. 48 | 49 | ## Installation 50 | 51 |
52 | pip install bankfind 53 | 54 | Successfully installed bankfind 55 | restart ↻ 56 |
57 | 58 | ## Example 59 | 60 | ```python 61 | import bankfind as bf 62 | 63 | # Get Institutions 64 | data = bf.get_institutions() 65 | 66 | # Get Institutions from Colorado with high ROE 67 | data = bf.get_institutions(filters="STNAME:Colorado AND ROE:[25 TO *]") 68 | 69 | # Get Commercial Banks from Colorado that aren't S-Corps 70 | data = bf.get_institutions(filters="STNAME:Colorado AND SUBCHAPS:0 AND CB:1") 71 | ``` 72 | 73 | ## License 74 | 75 | This project is licensed under the terms of the MIT license. 76 | -------------------------------------------------------------------------------- /bankfind/base.py: -------------------------------------------------------------------------------- 1 | from io import StringIO 2 | import urllib.parse 3 | 4 | import pandas as pd 5 | import requests 6 | from requests.models import Response 7 | 8 | from bankfind.metadata import meta_dict 9 | 10 | 11 | class BF: 12 | 13 | DEFAULTS = { 14 | 'institutions': { 15 | 'sort_by': 'OFFICES', 16 | 'sort_order': 'ASC', 17 | 'limit': 10000, 18 | 'offset': 0, 19 | 'format': 'json', 20 | 'search': True 21 | }, 22 | 'locations': { 23 | 'sort_by': 'NAME', 24 | 'sort_order': 'ASC', 25 | 'limit': 10000, 26 | 'offset': 0, 27 | 'format': 'json', 28 | 'search': False 29 | }, 30 | 'history': { 31 | 'sort_by': 'PROCDATE', 32 | 'sort_order': 'DESC', 33 | 'limit': 10000, 34 | 'offset': 0, 35 | 'format': 'json', 36 | 'search': True 37 | }, 38 | 'summary': { 39 | 'sort_by': 'YEAR', 40 | 'sort_order': 'DESC', 41 | 'limit': 10000, 42 | 'offset': 0, 43 | 'format': 'json', 44 | 'search': False 45 | }, 46 | 'failures': { 47 | 'sort_by': 'FAILDATE', 48 | 'sort_order': 'DESC', 49 | 'limit': 10000, 50 | 'offset': 0, 51 | 'format': 'json', 52 | 'search': False 53 | } 54 | } 55 | 56 | def __init__(self): 57 | pass 58 | 59 | def _construct_params( 60 | self, 61 | key: str, 62 | filters: str = None, 63 | search: str = None, 64 | **kwargs): 65 | d = self.DEFAULTS[key] 66 | params = { 67 | 'sort_by': kwargs.get('sort_by', d['sort_by']), 68 | 'sort_order': kwargs.get( 69 | 'sort_order', d['sort_order']), 70 | 'limit': kwargs.get('limit', d['limit']), 71 | 'offset': kwargs.get('offset', d['offset']), 72 | 'format': 'csv' if kwargs.get('output') == 'pandas' else 'json', 73 | 'download': 'false', 74 | 'fields': kwargs.get( 75 | 'fields', ','.join(list(meta_dict[key].keys()))) 76 | } 77 | if filters: 78 | params.update({'filters': filters}) 79 | if search and d['search']: 80 | params.update({'search': search}) 81 | return params 82 | 83 | def _friendly_fields(self, key, data, dataframe=True): 84 | meta = meta_dict[key] 85 | if isinstance(data, list): 86 | data = pd.DataFrame([i['data'] for i in data]) 87 | data.columns = data.columns.map( 88 | dict((k, meta[k]['title']) 89 | for k in meta.keys() if k in data.columns)) 90 | if dataframe: 91 | return data 92 | return data.to_dict(orient='records') 93 | 94 | def _to_json( 95 | self, 96 | key: str, 97 | response: Response, 98 | friendly_fields: bool = False): 99 | json_data = response.json() 100 | if friendly_fields: 101 | json_data['data'] = self._friendly_fields( 102 | key, json_data['data'], dataframe=False) 103 | else: 104 | json_data['data'] = [i['data'] for i in json_data['data']] 105 | return json_data 106 | 107 | def _to_pandas( 108 | self, 109 | key: str, 110 | response: Response, 111 | friendly_fields: bool = False): 112 | df = pd.read_csv(StringIO(response.text)) 113 | if friendly_fields: 114 | df = self._friendly_fields(key, df) 115 | return df 116 | 117 | def _get_data( 118 | self, 119 | key: str, 120 | filters: str = None, 121 | search: str = None, 122 | **kwargs): 123 | params = self._construct_params(key, filters, search, **kwargs) 124 | r = requests.get( 125 | f"https://banks.data.fdic.gov/api/{key}", 126 | params=urllib.parse.urlencode(params) 127 | ) 128 | if r.ok: 129 | return getattr(self, f"_to_{kwargs.get('output', 'json')}")( 130 | key, r, kwargs.get('friendly_fields', False)) 131 | return r 132 | -------------------------------------------------------------------------------- /docs/docs/filtering.md: -------------------------------------------------------------------------------- 1 | The API uses the Elastic Search [query string syntax](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#query-string-syntax) for filtering. 2 | 3 | ## Overview 4 | 5 | First, get an idea of what fields you can use to filter from the `meta_dict`. 6 | 7 | ```python 8 | >>> import bankfind as bf 9 | >>> fields = bf.meta_dict.keys() 10 | dict_keys(['failures', 'history', 'institutions', 'locations', 'summary']) 11 | ``` 12 | 13 | Each of the keys above represent an endpoint. The values corresponding to each of the keys above are dictionaries. The dictionaries contain the fields available as well as the data type, description, and, sometimes, options to filter with. 14 | 15 | ```python 16 | >>> bf.meta_dict['failures'].keys() 17 | dict_keys(['NAME', 'CERT', 'FIN', 'CITYST', 'FAILDATE', 'FAILYR', 'SAVR', 'RESTYPE1', 'CHCLASS1', 'RESTYPE', 'QBFDEP', 'QBFASSET', 'COST', 'PSTALP']) 18 | 19 | >>> bf.meta_dict['failures']['NAME'] 20 | {'type': 'string', 'x-elastic-type': 'keyword', 'title': 'Institution Name', 'description': "This is the legal name of the institution. When available, the Institution's name links to useful information for the customers and vendors of these institutions. This information includes press releases, information about the acquiring institution, (if applicable), how your accounts and loans are affected, and how vendors can file claims against the receivership."} 21 | ``` 22 | 23 | ## Filters 24 | 25 | The syntax for filtering will change based on the data-type. 26 | 27 | ### strings 28 | 29 | **Syntax**: `:` 30 | 31 | First, let's filter based on cert, which as you can see from the `meta_dict` is a string field. 32 | 33 | ```python 34 | >>> bf.meta_dict['failures']['CERT']['type'] 35 | 'string' 36 | 37 | >>> data = bf.get_institutions(filters="CERT:57295") 38 | >>> len(data['data']) 39 | 1 40 | ``` 41 | 42 | Chain filters together with "AND": 43 | 44 | ```python 45 | >>> data = bf.get_institutions(filters="STNAME:Colorado AND CITY:Denver") 46 | >>> len(data['data']) 47 | 108 48 | ``` 49 | 50 | Filtering with "OR" is easy also: 51 | 52 | ```python 53 | >>> data = bf.get_institutions(filters='STNAME:("Colorado","Wyoming")') 54 | >>> len(data['data']) 55 | 844 56 | ``` 57 | 58 | ### dates 59 | 60 | Dates must be entered in the following format: 61 | 62 | **Syntax**: `:yyyy-mm-dd` 63 | 64 | ```python 65 | >>> data = bf.get_institutions(filters='DATEUPDT:2019-12-31') 66 | >>> len(data['data']) 67 | 3919 68 | ``` 69 | 70 | They can also be used as ranges: 71 | 72 | #### exclusive 73 | 74 | Use curly braces `{}` and the range will exclude the beginning and end dates used in the range: 75 | 76 | **Syntax**: `:{yyyy-mm-dd TO yyyy-mm-dd}` 77 | 78 | ```python 79 | >>> data = bf.get_institutions(filters='DATEUPDT:{2015-01-01 TO 2018-12-31}') 80 | >>> len(data['data']) 81 | 1921 82 | ``` 83 | 84 | #### inclusive 85 | 86 | Use brackets `[]` and the range will the include the beginning and end dates used in the range 87 | 88 | **Syntax**: `:[yyyy-mm-dd TO yyyy-mm-dd]` 89 | 90 | ```python 91 | >>> data = bf.get_institutions(filters='DATEUPDT:[2010-01-01 TO 2018-12-31]') 92 | >>> len(data['data']) 93 | 4556 94 | ``` 95 | 96 | ### numbers 97 | 98 | Numbers can also be used in ranges with the same syntax as dates 99 | 100 | #### exclusive 101 | 102 | Use curly braces `{}` and the range will exclude the beginning and end values in the range. Most of the values are represented in thousands. 103 | 104 | **Syntax**: `:{Number TO Number}` 105 | 106 | ```python 107 | >>> data = bf.get_institutions(filters='ASSET:{25000 TO 75000}') 108 | >>> len(data['data']) 109 | 5530 110 | ``` 111 | 112 | #### inclusive 113 | 114 | Use brackets `[]` and the range will the include the beginning and end dates used in the range 115 | 116 | **Syntax**: `:[Number TO Number]` 117 | 118 | *The filter below will retrieve institutions with assets greater than or equal to 2 billion or less than or equal to 5 billion.* 119 | 120 | ```python 121 | >>> data = bf.get_institutions(filters='ASSET:[2000000 TO 5000000]') 122 | >>> len(data['data']) 123 | 685 124 | ``` 125 | 126 | #### wildcard 127 | 128 | **Syntax**: `:[Number to *]` 129 | 130 | *The filter below will retrieve institutions with assets greater than or equal to 5 billion.* 131 | 132 | ```python 133 | >>> data = bf.get_institutions(filters='ASSET:[5000000 TO *]') 134 | >>> len(data['data']) 135 | 602 136 | ``` 137 | 138 | ## Search 139 | 140 | Flexible text search is also available. Search supports text search and fuzzy matching, as opposed to filters that are exact matches. Currently, only two endpoints support the search functionality: `get_institutions` and `get_history`. 141 | 142 | The only field that currently supports the search functionality is `NAME`. It's a similar syntax to the [string filter](#strings). 143 | 144 | ```python 145 | >>> data = bf.get_institutions(search='NAME:AMG') 146 | >>> len(data['data']) 147 | 5 148 | ``` 149 | 150 | Take it a little further: 151 | 152 | ```python 153 | >>> data = bf.get_institutions(search='NAME:AMG National') 154 | >>> len(data['data']) 155 | 1 156 | ``` 157 | -------------------------------------------------------------------------------- /bankfind/main.py: -------------------------------------------------------------------------------- 1 | from bankfind.base import BF 2 | 3 | 4 | def get_failures(filters: str = None, **kwargs): 5 | """ 6 | Detail on failed financial institutions 7 | 8 | Arguments 9 | --------- 10 | filters: str, default None, optional 11 | Filter for the bank search 12 | 13 | Keyword Arguments 14 | ----------------- 15 | fields: str, default ALL FIELDS, optional 16 | Comma delimited list of fields to search 17 | sort_by: str, default OFFICES, optional 18 | Field name by which to sort returned data 19 | sort_order: str, default ASC, optional 20 | Indicator if ascending (ASC) or descending (DESC) 21 | limit: int, default 10,000, optional 22 | Number of records to return. Maximum is 10,000 23 | offset: int, default 0, optional 24 | Offset of page to return 25 | format: str, default json, optional 26 | Format of the data to return 27 | friendly_fields: bool, default False, optional 28 | Return friendly field names 29 | """ 30 | return BF()._get_data("failures", filters, **kwargs) 31 | 32 | 33 | def get_history(filters: str = None, search: str = None, **kwargs): 34 | """ 35 | Detail on structure change events 36 | 37 | Arguments 38 | --------- 39 | filters: str, default None, optional 40 | Filter for the bank search 41 | search: str 42 | Flexible text search against institution records. Currently, only 43 | supports name search. Text search and fuzzy matching is supported 44 | as well. 45 | 46 | Keyword Arguments 47 | ----------------- 48 | fields: str, default ALL FIELDS, optional 49 | Comma delimited list of fields to search 50 | sort_by: str, default OFFICES, optional 51 | Field name by which to sort returned data 52 | sort_order: str, default ASC, optional 53 | Indicator if ascending (ASC) or descending (DESC) 54 | limit: int, default 10,000, optional 55 | Number of records to return. Maximum is 10,000 56 | offset: int, default 0, optional 57 | Offset of page to return 58 | output: str, default json, optional 59 | Format of the data to return, json or pandas 60 | friendly_fields: bool, default False, optional 61 | Return friendly field names 62 | """ 63 | return BF()._get_data("history", filters, search, **kwargs) 64 | 65 | 66 | def get_institutions(filters: str = None, search: str = None, **kwargs): 67 | """ 68 | List of financial institutions 69 | 70 | Arguments 71 | --------- 72 | filters: str, default None, optional 73 | Filter for the bank search 74 | search: str 75 | Flexible text search against institution records. Currently, only 76 | supports name search. Text search and fuzzy matching is supported 77 | as well. 78 | 79 | Keyword Arguments 80 | ----------------- 81 | fields: str, default ALL FIELDS, optional 82 | Comma delimited list of fields to search 83 | sort_by: str, default OFFICES, optional 84 | Field name by which to sort returned data 85 | sort_order: str, default ASC, optional 86 | Indicator if ascending (ASC) or descending (DESC) 87 | limit: int, default 10,000, optional 88 | Number of records to return. Maximum is 10,000 89 | offset: int, default 0, optional 90 | Offset of page to return 91 | format: str, default json, optional 92 | Format of the data to return 93 | friendly_fields: bool, default False, optional 94 | Return friendly field names 95 | """ 96 | return BF()._get_data("institutions", filters, search, **kwargs) 97 | 98 | 99 | def get_locations(filters: str = None, **kwargs): 100 | """ 101 | List of locations / branches of financial institutions 102 | 103 | Arguments 104 | --------- 105 | filters: str, default None, optional 106 | Filter for the bank search 107 | 108 | Keyword Arguments 109 | ----------------- 110 | fields: str, default ALL FIELDS, optional 111 | Comma delimited list of fields to search 112 | sort_by: str, default OFFICES, optional 113 | Field name by which to sort returned data 114 | sort_order: str, default ASC, optional 115 | Indicator if ascending (ASC) or descending (DESC) 116 | limit: int, default 10,000, optional 117 | Number of records to return. Maximum is 10,000 118 | offset: int, default 0, optional 119 | Offset of page to return 120 | format: str, default json, optional 121 | Format of the data to return 122 | friendly_fields: bool, default False, optional 123 | Return friendly field names 124 | """ 125 | return BF()._get_data("locations", filters, **kwargs) 126 | 127 | 128 | def get_summary(filters: str = None, **kwargs): 129 | """ 130 | Aggregate financial and structure data, subtotaled by year 131 | 132 | Arguments 133 | --------- 134 | filters: str, default None, optional 135 | Filter for the bank search 136 | 137 | Keyword Arguments 138 | ----------------- 139 | fields: str, default ALL FIELDS, optional 140 | Comma delimited list of fields to search 141 | sort_by: str, default OFFICES, optional 142 | Field name by which to sort returned data 143 | sort_order: str, default ASC, optional 144 | Indicator if ascending (ASC) or descending (DESC) 145 | limit: int, default 10,000, optional 146 | Number of records to return. Maximum is 10,000 147 | offset: int, default 0, optional 148 | Offset of page to return 149 | format: str, default json, optional 150 | Format of the data to return 151 | friendly_fields: bool, default False, optional 152 | Return friendly field names 153 | """ 154 | return BF()._get_data("summary", filters, **kwargs) 155 | -------------------------------------------------------------------------------- /docs/docs/js/custom.js: -------------------------------------------------------------------------------- 1 | const div = document.querySelector('.github-topic-projects') 2 | 3 | async function getDataBatch(page) { 4 | const response = await fetch(`https://api.github.com/search/repositories?q=topic:bankfind&per_page=100&page=${page}`, { headers: { Accept: 'application/vnd.github.mercy-preview+json' } }) 5 | const data = await response.json() 6 | return data 7 | } 8 | 9 | async function getData() { 10 | let page = 1 11 | let data = [] 12 | let dataBatch = await getDataBatch(page) 13 | data = data.concat(dataBatch.items) 14 | const totalCount = dataBatch.total_count 15 | while (data.length < totalCount) { 16 | page += 1 17 | dataBatch = await getDataBatch(page) 18 | data = data.concat(dataBatch.items) 19 | } 20 | return data 21 | } 22 | 23 | function setupTermynal() { 24 | document.querySelectorAll(".termynal").forEach(node => { 25 | node.style.display = "block"; 26 | new Termynal(node, { 27 | lineDelay: 500 28 | }); 29 | }); 30 | const progressLiteralStart = "---> 100%"; 31 | const promptLiteralStart = "$ "; 32 | const customPromptLiteralStart = "# "; 33 | const termynalActivateClass = "termy"; 34 | let termynals = []; 35 | 36 | function createTermynals() { 37 | document 38 | .querySelectorAll(`.${termynalActivateClass} .highlight`) 39 | .forEach(node => { 40 | const text = node.textContent; 41 | const lines = text.split("\n"); 42 | const useLines = []; 43 | let buffer = []; 44 | function saveBuffer() { 45 | if (buffer.length) { 46 | let isBlankSpace = true; 47 | buffer.forEach(line => { 48 | if (line) { 49 | isBlankSpace = false; 50 | } 51 | }); 52 | dataValue = {}; 53 | if (isBlankSpace) { 54 | dataValue["delay"] = 0; 55 | } 56 | if (buffer[buffer.length - 1] === "") { 57 | // A last single
won't have effect 58 | // so put an additional one 59 | buffer.push(""); 60 | } 61 | const bufferValue = buffer.join("
"); 62 | dataValue["value"] = bufferValue; 63 | useLines.push(dataValue); 64 | buffer = []; 65 | } 66 | } 67 | for (let line of lines) { 68 | if (line === progressLiteralStart) { 69 | saveBuffer(); 70 | useLines.push({ 71 | type: "progress" 72 | }); 73 | } else if (line.startsWith(promptLiteralStart)) { 74 | saveBuffer(); 75 | const value = line.replace(promptLiteralStart, "").trimEnd(); 76 | useLines.push({ 77 | type: "input", 78 | value: value 79 | }); 80 | } else if (line.startsWith("// ")) { 81 | saveBuffer(); 82 | const value = "💬 " + line.replace("// ", "").trimEnd(); 83 | useLines.push({ 84 | value: value, 85 | class: "termynal-comment", 86 | delay: 0 87 | }); 88 | } else if (line.startsWith(customPromptLiteralStart)) { 89 | saveBuffer(); 90 | const promptStart = line.indexOf(promptLiteralStart); 91 | if (promptStart === -1) { 92 | console.error("Custom prompt found but no end delimiter", line) 93 | } 94 | const prompt = line.slice(0, promptStart).replace(customPromptLiteralStart, "") 95 | let value = line.slice(promptStart + promptLiteralStart.length); 96 | useLines.push({ 97 | type: "input", 98 | value: value, 99 | prompt: prompt 100 | }); 101 | } else { 102 | buffer.push(line); 103 | } 104 | } 105 | saveBuffer(); 106 | const div = document.createElement("div"); 107 | node.replaceWith(div); 108 | const termynal = new Termynal(div, { 109 | lineData: useLines, 110 | noInit: true, 111 | lineDelay: 500 112 | }); 113 | termynals.push(termynal); 114 | }); 115 | } 116 | 117 | function loadVisibleTermynals() { 118 | termynals = termynals.filter(termynal => { 119 | if (termynal.container.getBoundingClientRect().top - innerHeight <= 0) { 120 | termynal.init(); 121 | return false; 122 | } 123 | return true; 124 | }); 125 | } 126 | window.addEventListener("scroll", loadVisibleTermynals); 127 | createTermynals(); 128 | loadVisibleTermynals(); 129 | } 130 | 131 | async function main() { 132 | if (div) { 133 | data = await getData() 134 | div.innerHTML = '
    ' 135 | const ul = document.querySelector('.github-topic-projects ul') 136 | data.forEach(v => { 137 | if (v.full_name === 'dpguthrie/bankfind') { 138 | return 139 | } 140 | const li = document.createElement('li') 141 | li.innerHTML = `★ ${v.stargazers_count} - ${v.full_name} by @${v.owner.login}` 142 | ul.append(li) 143 | }) 144 | } 145 | 146 | setupTermynal(); 147 | } 148 | 149 | main() 150 | -------------------------------------------------------------------------------- /docs/docs/js/termynal.js: -------------------------------------------------------------------------------- 1 | /** 2 | * termynal.js 3 | * A lightweight, modern and extensible animated terminal window, using 4 | * async/await. 5 | * 6 | * @author Ines Montani 7 | * @version 0.0.1 8 | * @license MIT 9 | */ 10 | 11 | 'use strict'; 12 | 13 | /** Generate a terminal widget. */ 14 | class Termynal { 15 | /** 16 | * Construct the widget's settings. 17 | * @param {(string|Node)=} container - Query selector or container element. 18 | * @param {Object=} options - Custom settings. 19 | * @param {string} options.prefix - Prefix to use for data attributes. 20 | * @param {number} options.startDelay - Delay before animation, in ms. 21 | * @param {number} options.typeDelay - Delay between each typed character, in ms. 22 | * @param {number} options.lineDelay - Delay between each line, in ms. 23 | * @param {number} options.progressLength - Number of characters displayed as progress bar. 24 | * @param {string} options.progressChar – Character to use for progress bar, defaults to █. 25 | * @param {number} options.progressPercent - Max percent of progress. 26 | * @param {string} options.cursor – Character to use for cursor, defaults to ▋. 27 | * @param {Object[]} lineData - Dynamically loaded line data objects. 28 | * @param {boolean} options.noInit - Don't initialise the animation. 29 | */ 30 | constructor(container = '#termynal', options = {}) { 31 | this.container = (typeof container === 'string') ? document.querySelector(container) : container; 32 | this.pfx = `data-${options.prefix || 'ty'}`; 33 | this.originalStartDelay = this.startDelay = options.startDelay 34 | || parseFloat(this.container.getAttribute(`${this.pfx}-startDelay`)) || 600; 35 | this.originalTypeDelay = this.typeDelay = options.typeDelay 36 | || parseFloat(this.container.getAttribute(`${this.pfx}-typeDelay`)) || 90; 37 | this.originalLineDelay = this.lineDelay = options.lineDelay 38 | || parseFloat(this.container.getAttribute(`${this.pfx}-lineDelay`)) || 1500; 39 | this.progressLength = options.progressLength 40 | || parseFloat(this.container.getAttribute(`${this.pfx}-progressLength`)) || 40; 41 | this.progressChar = options.progressChar 42 | || this.container.getAttribute(`${this.pfx}-progressChar`) || '█'; 43 | this.progressPercent = options.progressPercent 44 | || parseFloat(this.container.getAttribute(`${this.pfx}-progressPercent`)) || 100; 45 | this.cursor = options.cursor 46 | || this.container.getAttribute(`${this.pfx}-cursor`) || '▋'; 47 | this.lineData = this.lineDataToElements(options.lineData || []); 48 | this.loadLines() 49 | if (!options.noInit) this.init() 50 | } 51 | 52 | loadLines() { 53 | // Load all the lines and create the container so that the size is fixed 54 | // Otherwise it would be changing and the user viewport would be constantly 55 | // moving as she/he scrolls 56 | const finish = this.generateFinish() 57 | finish.style.visibility = 'hidden' 58 | this.container.appendChild(finish) 59 | // Appends dynamically loaded lines to existing line elements. 60 | this.lines = [...this.container.querySelectorAll(`[${this.pfx}]`)].concat(this.lineData); 61 | for (let line of this.lines) { 62 | line.style.visibility = 'hidden' 63 | this.container.appendChild(line) 64 | } 65 | const restart = this.generateRestart() 66 | restart.style.visibility = 'hidden' 67 | this.container.appendChild(restart) 68 | this.container.setAttribute('data-termynal', ''); 69 | } 70 | 71 | /** 72 | * Initialise the widget, get lines, clear container and start animation. 73 | */ 74 | init() { 75 | /** 76 | * Calculates width and height of Termynal container. 77 | * If container is empty and lines are dynamically loaded, defaults to browser `auto` or CSS. 78 | */ 79 | const containerStyle = getComputedStyle(this.container); 80 | this.container.style.width = containerStyle.width !== '0px' ? 81 | containerStyle.width : undefined; 82 | this.container.style.minHeight = containerStyle.height !== '0px' ? 83 | containerStyle.height : undefined; 84 | 85 | this.container.setAttribute('data-termynal', ''); 86 | this.container.innerHTML = ''; 87 | for (let line of this.lines) { 88 | line.style.visibility = 'visible' 89 | } 90 | this.start(); 91 | } 92 | 93 | /** 94 | * Start the animation and rener the lines depending on their data attributes. 95 | */ 96 | async start() { 97 | this.addFinish() 98 | await this._wait(this.startDelay); 99 | 100 | for (let line of this.lines) { 101 | const type = line.getAttribute(this.pfx); 102 | const delay = line.getAttribute(`${this.pfx}-delay`) || this.lineDelay; 103 | 104 | if (type == 'input') { 105 | line.setAttribute(`${this.pfx}-cursor`, this.cursor); 106 | await this.type(line); 107 | await this._wait(delay); 108 | } 109 | 110 | else if (type == 'progress') { 111 | await this.progress(line); 112 | await this._wait(delay); 113 | } 114 | 115 | else { 116 | this.container.appendChild(line); 117 | await this._wait(delay); 118 | } 119 | 120 | line.removeAttribute(`${this.pfx}-cursor`); 121 | } 122 | this.addRestart() 123 | this.finishElement.style.visibility = 'hidden' 124 | this.lineDelay = this.originalLineDelay 125 | this.typeDelay = this.originalTypeDelay 126 | this.startDelay = this.originalStartDelay 127 | } 128 | 129 | generateRestart() { 130 | const restart = document.createElement('a') 131 | restart.onclick = (e) => { 132 | e.preventDefault() 133 | this.container.innerHTML = '' 134 | this.init() 135 | } 136 | restart.href = '#' 137 | restart.setAttribute('data-terminal-control', '') 138 | restart.innerHTML = "restart ↻" 139 | return restart 140 | } 141 | 142 | generateFinish() { 143 | const finish = document.createElement('a') 144 | finish.onclick = (e) => { 145 | e.preventDefault() 146 | this.lineDelay = 0 147 | this.typeDelay = 0 148 | this.startDelay = 0 149 | } 150 | finish.href = '#' 151 | finish.setAttribute('data-terminal-control', '') 152 | this.finishElement = finish 153 | return finish 154 | } 155 | 156 | addRestart() { 157 | const restart = this.generateRestart() 158 | this.container.appendChild(restart) 159 | } 160 | 161 | addFinish() { 162 | const finish = this.generateFinish() 163 | this.container.appendChild(finish) 164 | } 165 | 166 | /** 167 | * Animate a typed line. 168 | * @param {Node} line - The line element to render. 169 | */ 170 | async type(line) { 171 | const chars = [...line.textContent]; 172 | line.textContent = ''; 173 | this.container.appendChild(line); 174 | 175 | for (let char of chars) { 176 | const delay = line.getAttribute(`${this.pfx}-typeDelay`) || this.typeDelay; 177 | await this._wait(delay); 178 | line.textContent += char; 179 | } 180 | } 181 | 182 | /** 183 | * Animate a progress bar. 184 | * @param {Node} line - The line element to render. 185 | */ 186 | async progress(line) { 187 | const progressLength = line.getAttribute(`${this.pfx}-progressLength`) 188 | || this.progressLength; 189 | const progressChar = line.getAttribute(`${this.pfx}-progressChar`) 190 | || this.progressChar; 191 | const chars = progressChar.repeat(progressLength); 192 | const progressPercent = line.getAttribute(`${this.pfx}-progressPercent`) 193 | || this.progressPercent; 194 | line.textContent = ''; 195 | this.container.appendChild(line); 196 | 197 | for (let i = 1; i < chars.length + 1; i++) { 198 | await this._wait(this.typeDelay); 199 | const percent = Math.round(i / chars.length * 100); 200 | line.textContent = `${chars.slice(0, i)} ${percent}%`; 201 | if (percent>progressPercent) { 202 | break; 203 | } 204 | } 205 | } 206 | 207 | /** 208 | * Helper function for animation delays, called with `await`. 209 | * @param {number} time - Timeout, in ms. 210 | */ 211 | _wait(time) { 212 | return new Promise(resolve => setTimeout(resolve, time)); 213 | } 214 | 215 | /** 216 | * Converts line data objects into line elements. 217 | * 218 | * @param {Object[]} lineData - Dynamically loaded lines. 219 | * @param {Object} line - Line data object. 220 | * @returns {Element[]} - Array of line elements. 221 | */ 222 | lineDataToElements(lineData) { 223 | return lineData.map(line => { 224 | let div = document.createElement('div'); 225 | div.innerHTML = `${line.value || ''}`; 226 | 227 | return div.firstElementChild; 228 | }); 229 | } 230 | 231 | /** 232 | * Helper function for generating attributes string. 233 | * 234 | * @param {Object} line - Line data object. 235 | * @returns {string} - String of attributes. 236 | */ 237 | _attributes(line) { 238 | let attrs = ''; 239 | for (let prop in line) { 240 | // Custom add class 241 | if (prop === 'class') { 242 | attrs += ` class=${line[prop]} ` 243 | continue 244 | } 245 | if (prop === 'type') { 246 | attrs += `${this.pfx}="${line[prop]}" ` 247 | } else if (prop !== 'value') { 248 | attrs += `${this.pfx}-${prop}="${line[prop]}" ` 249 | } 250 | } 251 | 252 | return attrs; 253 | } 254 | } 255 | 256 | /** 257 | * HTML API: If current script has container(s) specified, initialise Termynal. 258 | */ 259 | if (document.currentScript.hasAttribute('data-termynal-container')) { 260 | const containers = document.currentScript.getAttribute('data-termynal-container'); 261 | containers.split('|') 262 | .forEach(container => new Termynal(container)) 263 | } 264 | -------------------------------------------------------------------------------- /bankfind/metadata/failure.py: -------------------------------------------------------------------------------- 1 | failure_dict = { 2 | 'NAME': { 3 | 'type': 'string', 4 | 'x-elastic-type': 'keyword', 5 | 'title': 'Institution Name', 6 | 'description': "This is the legal name of the institution. When available, the Institution's name links to useful information for the customers and vendors of these institutions. This information includes press releases, information about the acquiring institution, (if applicable), how your accounts and loans are affected, and how vendors can file claims against the receivership." 7 | }, 8 | 'CERT': { 9 | 'type': 'string', 10 | 'x-elastic-type': 'keyword', 11 | 'title': 'Cert', 12 | 'description': 'The certificate number assigned by the FDIC used to identify institutions and for the issuance of insurance certificates. By clicking on this number, you will link to the Institution Directory (ID) system which will provide the last demographic and financial data filed by the selected institution.' 13 | }, 14 | 'FIN': { 15 | 'type': 'string', 16 | 'x-elastic-type': 'keyword', 17 | 'title': 'FIN', 18 | 'description': 'Financial Institution Number (FIN) is a unique number assigned to the institution as an Assistance Agreement, Conservatorship, Bridge Bank or Receivership.' 19 | }, 20 | 'CITYST': { 21 | 'type': 'string', 22 | 'x-elastic-type': 'keyword', 23 | 'title': 'Location', 24 | 'description': 'The city and state (or territory) of the headquarters of the institution.' 25 | }, 26 | 'FAILDATE': { 27 | 'type': 'string', 28 | 'format': 'date-time', 29 | 'title': 'Effective Date', 30 | 'description': 'The date that the failed / assisted institution ceased to exist as a privately held going concern. For institutions that entered into government ownership, such as FDIC Bridge Banks and RTC conservatorships, this is the date that they entered into such ownership.' 31 | }, 32 | 'FAILYR': { 33 | 'type': 'string', 34 | 'x-elastic-type': 'keyword', 35 | 'title': 'Year', 36 | 'description': 'The 4-digit year that the failed / assisted institution ceased to exist as a privately held going concern. For institutions that entered into government ownership, such as FDIC Bridge Banks and RTC conservatorships, this is the date that they entered into such ownership.' 37 | }, 38 | 'SAVR': { 39 | 'type': 'string', 40 | 'x-elastic-type': 'keyword', 41 | 'title': 'Insurance Fund', 42 | 'description': 'Before 1989, there were two federal deposit insurance funds, one administered by the FDIC, which insured deposits in commercial banks and state-chartered savings banks, and another administered by the Federal Savings and Loan Insurance Corporation (FSLIC), which insured deposits in state- and federally-chartered savings associations. In 1989, the Financial Institutions Reform, Recovery and Enforcement Act (FIRREA) specified that thereafter the FDIC would be the federal deposit insurer of all banks and savings associations and would administer both the FDIC fund, which was renamed the Bank Insurance Fund (BIF) and the replacement for the insolvent FSLIC fund, which was called the Savings Association Insurance Fund (SAIF). Although it was created in 1989, the SAIF was not responsible for savings association failures until 1996. From 1989 through 1995, savings association failures were the responsibility of the Resolution Trust Corporation (RTC). In February 2006, The Federal Deposit Insurance Reform Act of 2005 provided for the merger of the BIF and the SAIF into a single Deposit Insurance Fund (DIF). Necessary technical and conforming changes to the law were made under The Federal Deposit Insurance Reform Conforming Amendments Act of 2005. The merger of the funds was effective on March 31, 2006. For additional information about deposit insurance fund and legislation, go to http://www.fdic.gov/deposit/insurance/index.html.', 43 | 'options': ['BIF', 'RTC', 'FSLIC', 'SAIF', 'DIF', 'FDIC'] 44 | }, 45 | 'RESTYPE1': { 46 | 'type': 'string', 47 | 'x-elastic-type': 'keyword', 48 | 'title': 'Transaction Type', 49 | 'description': "Institutions have been resolved through several different types of transactions. The transaction types outlined below can be grouped into three general categories, based upon the method employed to protect insured depositors and how each transaction affects a failed / assisted institution's charter. In most assistance transactions, insured and uninsured depositors are protected, the failed / assisted institution remains open and its charter survives the resolution process. In purchase and assumption transactions, the failed / assisted institution's insured deposits are transferred to a successor institution, and its charter is closed. In most of these transactions, additional liabilities and assets are also transferred to the successor institution. In payoff transactions, the deposit insurer - the FDIC or the former Federal Savings and Loan Insurance Corporation - pays insured depositors, the failed / assisted institution's charter is closed, and there is no successor institution. For a more complete description of resolution transactions and the FDIC's receivership activities, see Managing the Crisis: The FDIC and RTC Experience, a study prepared by the FDIC's Division of Resolutions and Receiverships. Copies are available from the FDIC's Public Information Center.\nCategory 1 - Institution's charter survives\nA/A\t- Assistance Transactions. These include: 1) transactions where assistance was provided to the acquirer, who purchased the entire institution. For a few FSLIC transactions, the acquirer purchased the entire bridge bank - type entity, but certain other assets were moved into a liquidating receivership prior to the sale, and 2) open bank assistance transactions, including those where assistance was provided under a systemic risk determination (in such cases any costs that exceed the amounts estimated under the least cost resolution requirement would be recovered through a special assessment on all FDIC-insured institutions).\nREP -\tReprivatization, management takeover with or without assistance at takeover, followed by a sale with or without additional assistance.\nCategory 2 - Institution's charter is terminated, insured deposits plus some assets and other liabilities are transferred to a successor charter\nP&A - Purchase and Assumption, where some or all of the deposits, certain other liabilities and a portion of the assets (sometimes all of the assets) were sold to an acquirer. It was not determined if all of the deposits (PA) or only the insured deposits (PI) were assumed.\nPA - Purchase and Assumption, where the insured and uninsured deposits, certain other liabilities and a portion of the assets were sold to an acquirer.\nPI - Purchase and Assumption of the insured deposits only, where the traditional P&A was modified so that only the insured deposits were assumed by the acquiring institution.\nIDT - Insured Deposit Transfer, where the acquiring institution served as a paying agent for the insurer, established accounts on their books for depositors, and often acquired some assets as well. Includes ABT (asset-backed transfer, a FSLIC transaction that is very similar to an IDT).\nMGR - An institution where FSLIC took over management and generally provided financial assistance. FSLIC closed down before the institution was sold.\nCategory 3\nPO - Payout, where the insurer paid the depositors directly and placed the assets in a liquidating receivership. Note: Includes transactions where the FDIC established a Deposit Insurance National Bank to facilitate the payout process.", 50 | 'options': ['A/A', 'REP', 'P&A', 'PA', 'PI', 'IDT', 'MGR', 'PO'] 51 | }, 52 | 'CHCLASS1': { 53 | 'type': 'string', 54 | 'x-elastic-type': 'keyword', 55 | 'title': 'Charter Class', 56 | 'description': "The FDIC assigns classification codes indicating an institution's charter type (commercial bank, savings bank, or savings association), its chartering agent (state or federal government), its Federal Reserve membership status (member or nonmember), and its primary federal regulator (state-chartered institutions are subject to both federal and state supervision). These codes are:\nN - National chartered commercial bank supervised by the Office of the Comptroller of the Currency;\nSM - State charter Fed member commercial bank supervised by the Federal Reserve;\nNM - State charter Fed nonmember commercial bank supervised by the FDIC;\nSA - State or federal charter savings association supervised by the Office of Thrift Supervision or Office of the Comptroller of the Currency;\nSB - State charter savings bank supervised by the FDIC.", 57 | 'options': ['N', 'SM', 'NM', 'SA', 'SB'] 58 | }, 59 | 'RESTYPE': { 60 | 'type': 'string', 61 | 'x-elastic-type': 'keyword', 62 | 'title': 'Resolution', 63 | 'description': 'The given institution has failure stature or it can be assistance has been provided by FDIC in merging with other institution.', 64 | 'options': ['Failure', 'Assistance'] 65 | }, 66 | 'QBFDEP': { 67 | 'type': 'number', 68 | 'x-elastic-type': 'double', 69 | 'x-number-unit': 'Thousands of US Dollars', 70 | 'title': 'Total Deposits', 71 | 'description': 'Total including demand deposits, money market deposits, other savings deposits, time deposits and deposits in foreign offices as of the last Call Report or Thrift Financial Report filed by the institution prior to the effective date. Note this does not necessarily reflect total deposits on the last report filed because in some cases reports were filed after the effective date.' 72 | }, 73 | 'QBFASSET': { 74 | 'type': 'number', 75 | 'x-elastic-type': 'double', 76 | 'x-number-unit': 'Thousands of US Dollars', 77 | 'title': 'Total Assets', 78 | 'description': 'The Total assets owned by the institution including cash, loans, securities, bank premises and other assets as of the last Call Report or Thrift Financial Report filed by the institution prior to the effective date. Note this does not necessarily reflect total assets on the last report filed because in some cases reports were filed after the effective date. This total does not include off-balance-sheet accounts.' 79 | }, 80 | 'COST': { 81 | 'type': 'number', 82 | 'x-elastic-type': 'double', 83 | 'x-number-unit': 'Thousands of US Dollars', 84 | 'title': 'Estimated Loss', 85 | 'description': 'The estimated loss is the difference between the amount disbursed from the Deposit Insurance Fund (DIF) to cover obligations to insured depositors and the amount estimated to be ultimately recovered from the liquidation of the receivership estate. Estimated losses reflect unpaid principal amounts deemed unrecoverable and do not reflect interest that may be due on the DIF\'s administrative or subrogated claims should its principal be repaid in full.\nNotes:\nComprehensive data on estimated losses are not available for FDIC-insured failures prior to 1986, or for FSLIC-insured failures from 1934-88. Estimated loss is presented as "N/A" in years for which comprehensive information is not available.\nEstimated Loss data was previously referred to as \'Estimated Cost\' in past releases of the Historical Statistic on Banking. For RTC receiverships, the \'Estimated Cost\' included an allocation of FDIC corporate revenue and expense items such as interest expense on Federal Financing Bank debt, interest expense on escrowed funds and interest revenue on advances to receiverships. Other FDIC receiverships did not include such an allocation. To maintain consistency with FDIC receiverships, the RTC allocation is no longer reflected in the estimated loss amounts for failed / assisted institutions that were resolved through RTC receiverships.\nBeginning with the release of 2007 information, the \'Estimated Loss\' in the Historical Statistics on Banking is presented and defined consistently with the aggregate Estimated Receivership Loss for FRF-RTC institutions and Estimated Losses for FDIC receiverships that are reported in the FDIC\'s Annual Report. The estimated loss is obtained from the FDIC\'s Failed Bank Cost Analysis (FBCA) report and the RTC Loss report. The FBCA provides data for receiverships back to 1986. The RTC Loss Report provides similar data back to 1989. \nQuestions regarding Estimated Loss should be sent to DOFBusinessCenter@fdic.gov. \nAlso, for more detail regarding resolution transactions and the FDIC\'s receivership activities, see Managing the Crisis: The FDIC and RTC Experience, a historical study prepared by the FDIC\'s Division of Resolutions and Receiverships. Copies are available from the FDIC\'s Public Information Center.' 86 | }, 87 | 'PSTALP': { 88 | 'type': 'string', 89 | 'x-elastic-type': 'keyword', 90 | 'title': 'State', 91 | 'description': 'Two-character alphanumeric code for US state or Territory' 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /bankfind/metadata/location.py: -------------------------------------------------------------------------------- 1 | location_dict = { 2 | 'ADDRESS': { 3 | 'type': 'string', 4 | 'title': 'Branch Address', 5 | 'description': 'Street address at which the branch is physically located.', 6 | 'x-source-mapping': [{ 7 | 'file': 'VINST_FIN_CUR_SDC', 8 | 'field': 'LOCN_PHY_LNE1_TXT' 9 | }, { 10 | 'file': 'VINST_BR_CUR_SDC', 11 | 'field': 'LOCN_ADDR_LNE1_TXT' 12 | }] 13 | }, 14 | 'BKCLASS': { 15 | 'type': 'string', 16 | 'title': 'Institution Class', 17 | 'description': "A classification code assigned by the FDIC based on the institution''s charter type (commercial bank or savings institution), charter agent (state or federal), Federal Reserve membership status (Fed member, Fed nonmember) and its primary federal regulator (state chartered institutions are subject to both federal and state supervision). N - Commercial bank, national (federal) charter and Fed member, supervised by the Office of the Comptroller of the Currency (OCC); NM - Commercial bank, state charter and Fed nonmember, supervised by the FDIC; OI - Insured U.S. branch of a foreign chartered institution (IBA); SA - Savings associations, state or federal charter, supervised by the Office of Thrift Supervision (OTS); SB - Savings banks, state charter, supervised by the FDIC; SM - Commercial bank, state charter and Fed member, supervised by the Federal Reserve (FRB)", 18 | 'options': ['N', 'NM', 'OI', 'SA', 'SB', 'SM'], 19 | 'x-source-mapping': [{ 20 | 'formula': { 21 | 'type': 'raw', 22 | 'parameters': { 23 | 'script': 'if(ctx.INST_CLASS_CDE?.toLowerCase() == "sb" || ctx.INST_CLASS_CDE?.toLowerCase() == "sl") { \n ctx.BKCLASS = \'SA\'; \n} else if (ctx.INST_CLASS_CDE?.toLowerCase() == "mi" || ctx.INST_CLASS_CDE?.toLowerCase() == "si") { \n ctx.BKCLASS = \'SB\';\n} else {\n ctx.BKCLASS = ctx.INST_CLASS_CDE;\n}\n' 24 | } 25 | } 26 | }] 27 | }, 28 | 'CBSA': { 29 | 'type': 'string', 30 | 'title': 'Core Based Statistical Area Name (Branch)', 31 | 'description': 'Name of the Core Based Statistical Area (CBSA) as defined by the US Census Bureau Office of Management and Budget.', 32 | 'x-source-mapping': [{ 33 | 'file': 'RELATION', 34 | 'field': 'CBSANAME' 35 | }] 36 | }, 37 | 'CBSA_DIV': { 38 | 'type': 'string', 39 | 'title': 'Metropolitan Divisions Name (Branch)', 40 | 'description': 'Name of the Core Based Statistical Division as defined by the US Census Bureau Office of Management and Budget.', 41 | 'x-source-mapping': [{ 42 | 'file': 'RELATION', 43 | 'field': 'CBSA_DIV_NAME' 44 | }] 45 | }, 46 | 'CBSA_DIV_FLG': { 47 | 'type': 'string', 48 | 'title': 'Metropolitan Divisions Flag (Branch)', 49 | 'description': 'A flag (1=Yes) indicating member of a Core Based Statistical Division as defined by the US Census Bureau Office of Management and Budget.', 50 | 'options': [0, 1], 51 | 'x-source-mapping': [{ 52 | 'file': 'RELATION', 53 | 'field': 'DIVISION_FLAG' 54 | }] 55 | }, 56 | 'CBSA_DIV_NO': { 57 | 'type': 'string', 58 | 'title': 'Metropolitan Divisions Number (Branch)', 59 | 'description': 'Numeric code of the Core Based Statistical Division as defined by the US Census Bureau Office of Management and Budget.', 60 | 'x-source-mapping': [{ 61 | 'file': 'RELATION', 62 | 'field': 'CBSA_DIVISION' 63 | }] 64 | }, 65 | 'CBSA_METRO': { 66 | 'type': 'string', 67 | 'title': 'Metropolitan Division Number (Branch)', 68 | 'description': 'Numeric code of the Metropolitan Statistical Area as defined by the US Census Bureau Office of Management and Budget', 69 | 'x-source-mapping': [{ 70 | 'formula': { 71 | 'type': 'raw', 72 | 'parameters': { 73 | 'script': 'if(ctx.CBSA_METRO_FLG == "1") {\n ctx.CBSA_METRO = ctx.CBSA_NO;\n} else {\n ctx.CBSA_METRO = 0;\n} \n' 74 | } 75 | } 76 | }] 77 | }, 78 | 'CBSA_METRO_FLG': { 79 | 'type': 'string', 80 | 'title': 'Metropolitan Division Flag (Branch)', 81 | 'description': 'A flag (1=Yes) used to indicate whether an branch is in a Metropolitan Statistical Area as defined by the US Census Bureau Office of Management and Budget', 82 | 'x-source-mapping': [{ 83 | 'file': 'RELATION', 84 | 'field': 'METRO_FLAG' 85 | }] 86 | }, 87 | 'CBSA_METRO_NAME': { 88 | 'type': 'string', 89 | 'title': 'Metropolitan Division Name (Branch)', 90 | 'description': 'Name of the Metropolitan Statistical Area as defined by the US Census Bureau Office of Management and Budget', 91 | 'x-source-mapping': [{ 92 | 'formula': { 93 | 'type': 'raw', 94 | 'parameters': { 95 | 'script': 'if(ctx.CBSA_METRO_FLG == "1") {\n ctx.CBSA_METRO_NAME = ctx.CBSA;\n} else {\n ctx.CBSA_METRO_NAME = 0;\n}\n' 96 | } 97 | } 98 | }] 99 | }, 100 | 'CBSA_MICRO_FLG': { 101 | 'type': 'string', 102 | 'title': 'Micropolitan Division Flag (Branch)', 103 | 'description': 'A flag (1=Yes) used to indicate whether an branch is in a Micropolitan Statistical Area as defined by the US Census Bureau Office of Management and Budget', 104 | 'options': [0, 1], 105 | 'x-source-mapping': [{ 106 | 'file': 'RELATION', 107 | 'field': 'MICRO_FLAG' 108 | }] 109 | }, 110 | 'CBSA_NO': { 111 | 'type': 'string', 112 | 'title': 'Core Based Statistical Areas (Branch)', 113 | 'description': 'Numeric code of the Core Based Statistical Area (CBSA) as defined by the US Census Bureau Office of Management and Budget.', 114 | 'x-source-mapping': [{ 115 | 'file': 'RELATION', 116 | 'field': 'CBSA' 117 | }] 118 | }, 119 | 'CERT': { 120 | 'type': 'string', 121 | 'title': 'Institution FDIC Certificate #', 122 | 'description': 'A unique number assigned by the FDIC used to identify institutions and for the issuance of insurance certificates.', 123 | 'x-source-mapping': [{ 124 | 'file': 'VINST_FIN_CUR_SDC', 125 | 'field': 'ORG_CERT_NUM' 126 | }, { 127 | 'file': 'VINST_BR_CUR_SDC', 128 | 'field': 'ORG_CERT_NUM' 129 | }] 130 | }, 131 | 'CITY': { 132 | 'type': 'string', 133 | 'title': 'Branch City', 134 | 'description': 'City in which branch is physically located.', 135 | 'x-source-mapping': [{ 136 | 'file': 'VINST_FIN_CUR_SDC', 137 | 'field': 'LOCN_PHY_CTY_NME' 138 | }, { 139 | 'file': 'VINST_BR_CUR_SDC', 140 | 'field': 'LOCN_CTY_NME' 141 | }] 142 | }, 143 | 'COUNTY': { 144 | 'type': 'string', 145 | 'title': 'Branch County', 146 | 'description': 'County where the branch is physically located.', 147 | 'x-source-mapping': [{ 148 | 'file': 'VINST_FIN_CUR_SDC', 149 | 'field': 'LOCN_PHY_CNTY_NME' 150 | }, { 151 | 'file': 'VINST_BR_CUR_SDC', 152 | 'field': 'LOCN_CNTY_NME' 153 | }] 154 | }, 155 | 'CSA': { 156 | 'type': 'string', 157 | 'title': 'Combined Statistical Area Name (Branch)', 158 | 'description': 'Name of the Combined Statistical Area (CSA) as defined by the US Census Bureau Office of Management and Budget', 159 | 'x-source-mapping': [{ 160 | 'file': 'RELATION', 161 | 'field': 'CSANAME' 162 | }] 163 | }, 164 | 'CSA_FLG': { 165 | 'type': 'string', 166 | 'title': 'Combined Statistical Area Flag (Branch)', 167 | 'description': 'Flag (1=Yes) indicating member of a Combined Statistical Area (CSA) as defined by the US Census Bureau Office of Management and Budget', 168 | 'options': [0, 1], 169 | 'x-source-mapping': [{ 170 | 'file': 'RELATION', 171 | 'field': 'CSA_FLAG' 172 | }] 173 | }, 174 | 'CSA_NO': { 175 | 'type': 'string', 176 | 'title': 'Combined Statistical Area Number (Branch)', 177 | 'description': 'Numeric code of the Combined Statistical Area (CSA) as defined by the US Census Bureau Office of Management and Budget', 178 | 'x-source-mapping': [{ 179 | 'file': 'RELATION', 180 | 'field': 'CSA' 181 | }] 182 | }, 183 | 'ESTYMD': { 184 | 'type': 'string', 185 | 'format': 'date-time', 186 | 'title': 'Branch Established Date', 187 | 'description': 'The date on which the branch began operations.', 188 | 'x-source-mapping': [{ 189 | 'formula': { 190 | 'type': 'date', 191 | 'parameters': { 192 | 'inputFormat': "yyyy-MM-dd'T'HH:mm:ss", 193 | 'outputFormat': 'MM/dd/yyyy', 194 | 'inputField': 'ESTYMD_RAW', 195 | 'outputField': 'ESTYMD' 196 | } 197 | } 198 | }] 199 | }, 200 | 'FI_UNINUM': { 201 | 'type': 'string', 202 | 'title': 'FDIC UNINUM of the Owner Institution', 203 | 'description': 'This is the FDIC UNINUM of the institution that owns the branch. A UNINUM is a unique sequentially number added to the FDIC database for both banks and branches. There is no pattern imbedded within the number. The FI_UNINUM is updated with every merger or purchase of branches to reflect the most current owner.', 204 | 'x-source-mapping': [{ 205 | 'file': 'VINST_FIN_CUR_SDC', 206 | 'field': 'ORG_UNIQ_NUM' 207 | }, { 208 | 'file': 'VINST_BR_CUR_SDC', 209 | 'field': 'FI_ORG_UNIQ_NUM' 210 | }] 211 | }, 212 | 'MAINOFF': { 213 | 'type': 'number', 214 | 'title': 'Main Office', 215 | 'description': 'Flag (1=Yes) indicating this location is the main office for the institution.', 216 | 'options': [0, 1], 217 | 'x-source-mapping': [{ 218 | 'file': 'VINST_FIN_CUR_SDC', 219 | 'field': 'MAINOFF' 220 | }, { 221 | 'file': 'VINST_BR_CUR_SDC', 222 | 'field': 'MAINOFF' 223 | }] 224 | }, 225 | 'NAME': { 226 | 'type': 'string', 227 | 'x-elastic-type': 'keyword', 228 | 'title': 'Institution Name', 229 | 'description': 'Legal name of the FDIC Insured Institution', 230 | 'x-source-mapping': [{ 231 | 'file': 'VINST_FIN_CUR_SDC', 232 | 'field': 'INST_FIN_LGL_NME' 233 | }, { 234 | 'file': 'VINST_BR_CUR_SDC', 235 | 'field': 'INST_FIN_LGL_NME' 236 | }] 237 | }, 238 | 'OFFNAME': { 239 | 'type': 'string', 240 | 'title': 'Office Name', 241 | 'description': 'Name of the branch.', 242 | 'x-source-mapping': [{ 243 | 'file': 'VINST_FIN_CUR_SDC', 244 | 'field': 'INST_FIN_LGL_NME' 245 | }, { 246 | 'file': 'VINST_BR_CUR_SDC', 247 | 'field': 'INST_BR_NME' 248 | }] 249 | }, 250 | 'OFFNUM': { 251 | 'type': 'string', 252 | 'title': 'Branch Number', 253 | 'description': "The branch's corresponding office number.", 254 | 'x-source-mapping': [{ 255 | 'file': 'VINST_FIN_CUR_SDC', 256 | 'field': 'OFFNUM' 257 | }, { 258 | 'file': 'VINST_BR_CUR_SDC', 259 | 'field': 'INST_BR_OFC_NUM' 260 | }] 261 | }, 262 | 'RUNDATE': { 263 | 'type': 'string', 264 | 'format': 'date-time', 265 | 'title': 'Run Date', 266 | 'description': 'The day the institution information was updated.', 267 | 'x-source-mapping': [{ 268 | 'formula': { 269 | 'type': 'simpleSetScript', 270 | 'parameters': { 271 | 'setField': 'RUNDATE', 272 | 'script': 'new SimpleDateFormat("MM/dd/yyyy").format(new Date())' 273 | } 274 | } 275 | }] 276 | }, 277 | 'SERVTYPE': { 278 | 'type': 'number', 279 | 'title': 'Service Type Code', 280 | 'description': 'Define the various types of offices of FDIC-insured institutions. 11 - Full Service Brick and Mortar Office; 12 - Full Service Retail Office; 13 - Full Service Cyber Office; 14 - Full Service Mobile Office; 15 - Full Service Home/Phone Banking; 16 - Full Service Seasonal Office; 21 - Limited Service Administrative Office; 22 - Limited Service Military Facility; 23 - Limited Service Facility Office; 24 - Limited Service Loan Production Office; 25 - Limited Service Consumer Credit Office; 26 - Limited Service Contractual Office; 27 - Limited Service Messenger Office; 28 - Limited Service Retail Office; 29 - Limited Service Mobile Office; 30 - Limited Service Trust Office;', 281 | 'options': [11, 12, 13, 14, 15, 16, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], 282 | 'x-source-mapping': [{ 283 | 'file': 'VINST_FIN_CUR_SDC', 284 | 'field': 'SERVTYPE' 285 | }, { 286 | 'file': 'VINST_BR_CUR_SDC', 287 | 'field': 'INST_BR_SVC_NUM' 288 | }] 289 | }, 290 | 'STALP': { 291 | 'type': 'string', 292 | 'title': 'Branch State Abbreviation', 293 | 'description': 'State abbreviation in which the branch is physically located. The FDIC Act defines state as any State of the United States, the District of Columbia, and any territory of the United States, Puerto Rico, Guam, American Samoa, the Trust Territory of the Pacific Islands, the Virgin Island, and the Northern Mariana Islands.', 294 | 'x-source-mapping': [{ 295 | 'file': 'VINST_FIN_CUR_SDC', 296 | 'field': 'LOCN_PHY_ST_ABNME' 297 | }, { 298 | 'file': 'VINST_BR_CUR_SDC', 299 | 'field': 'LOCN_ST_ABBV_NME' 300 | }] 301 | }, 302 | 'STCNTY': { 303 | 'type': 'string', 304 | 'title': 'State and County Number', 305 | 'description': 'A five digit number representing the state and county in which the institution is physically located. The first two digits represent the FIPS state numeric code and the last three digits represent the FIPS county numeric code.', 306 | 'x-source-mapping': [{ 307 | 'file': 'CALCULATED_IN_PIPELINE', 308 | 'field': 'N/A' 309 | }] 310 | }, 311 | 'STNAME': { 312 | 'type': 'string', 313 | 'title': 'Branch State', 314 | 'description': 'State in which the branch is physically located. The FDIC Act defines state as any State of the United States, the District of Columbia, and any territory of the United States, Puerto Rico, Guam, American Samoa, the Trust Territory of the Pacific Islands, the Virgin Island, and the Northern Mariana Islands.', 315 | 'x-source-mapping': [{ 316 | 'file': 'VINST_FIN_CUR_SDC', 317 | 'field': 'LOCN_PHY_ST_NME' 318 | }, { 319 | 'file': 'VINST_BR_CUR_SDC', 320 | 'field': 'LOCN_ST_NME' 321 | }] 322 | }, 323 | 'UNINUM': { 324 | 'type': 'string', 325 | 'title': 'Unique Identification Number for a Branch Office', 326 | 'description': 'Unique Identification Number for a Branch Office as assigned by the FDIC', 327 | 'x-source-mapping': [{ 328 | 'file': 'VINST_FIN_CUR_SDC', 329 | 'field': 'ORG_UNIQ_NUM' 330 | }, { 331 | 'file': 'VINST_BR_CUR_SDC', 332 | 'field': 'ORG_UNIQ_NUM' 333 | }] 334 | }, 335 | 'ZIP': { 336 | 'type': 'string', 337 | 'title': 'Branch Zip Code', 338 | 'description': 'The first five digits of the full postal zip code representing physical location of the branch.', 339 | 'x-source-mapping': [{ 340 | 'formula': { 341 | 'type': 'raw', 342 | 'parameters': { 343 | 'script': "if (ctx.ZIP_RAW != null && ctx.ZIP_RAW?.length() < 5){\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < 5; i++) {\n sb.append('0');\n }\n ctx.ZIP = sb.substring(ctx.ZIP_RAW.length()) + ctx.ZIP_RAW;\n} else {\n ctx.ZIP = ctx.ZIP_RAW;\n}" 344 | } 345 | } 346 | }] 347 | } 348 | } 349 | -------------------------------------------------------------------------------- /docs/docs/functions.md: -------------------------------------------------------------------------------- 1 | ## **get_failures** 2 | 3 | === "Details" 4 | 5 | - *Description*: Detail on failed financial institutions 6 | - *Return*: `dict` 7 | - *Arguments* 8 | 9 | | Argument | Description | Type | Default | Required | Options | 10 | |:-----------|:-----------------------------------------|:-----------------------------|:----------|:-----------|:--------------------------------------------------------------------------------------| 11 | | filters | Filter(s) for the bank search | `str` | `None` | optional | | 12 | | fields | Comma delimited list of fields to retrieve | `str` | All fields included by default | optional | | | 13 | | sort_by | Field name by which to sort returned data | `str`| `FAILDATE` | optional | See meta_dict 14 | | sort_order | Indicator if ascending or descending | `str` | `DESC` | optional | `ASC`
    `DESC` 15 | | limit | Number of records to return | `int` | `10000` | optional | 0 to 10,000 16 | | offset | Offset of page to return | `int` | `0` | optional | 17 | | output | Format of data to return | `str` | `json` | optional | `json`
    `pandas` 18 | | limit | Number of records to return | `int` | `10000` | optional | 0 to 10,000 19 | | friendly_fields | Replace keys / column names with friendlier title | `bool` | `False` | optional | `True`
    `False` 20 | 21 | === "Example" 22 | 23 | ```python hl_lines="3" 24 | import bankfind as bf 25 | 26 | data = bf.get_failures() 27 | data['data'][0] 28 | ``` 29 | 30 | === "Data" 31 | 32 | ```python 33 | { 34 | 'data': { 35 | 'QBFDEP': 139526, 36 | 'PSTALP': 'WV', 37 | 'FIN': '10536', 38 | 'FAILDATE': '04/03/2020', 39 | 'RESTYPE': 'FAILURE', 40 | 'CITYST': 'BARBOURSVILLE, WV', 41 | 'SAVR': 'DIF', 42 | 'RESTYPE1': 'PA', 43 | 'CHCLASS1': 'NM', 44 | 'NAME': 'THE FIRST STATE BANK', 45 | 'COST': None, 46 | 'QBFASSET': 152400, 47 | 'CERT': 14361, 48 | 'FAILYR': '2020', 49 | 'ID': '4102' 50 | }, 51 | 'score': 1 52 | } 53 | ``` 54 | 55 | ## **get_history** 56 | 57 | 58 | === "Details" 59 | 60 | - *Description*: Detail on structure change events 61 | - *Return*: `dict` 62 | - *Arguments* 63 | 64 | | Argument | Description | Type | Default | Required | Options | 65 | |:-----------|:-----------------------------------------|:-----------------------------|:----------|:-----------|:--------------------------------------------------------------------------------------| 66 | | filters | Filter(s) for the bank search | `str` | `None` | optional | | 67 | | search | Flexible text search against institution records (fuzzy name matching) | `str` | `None` | optional | | 68 | | fields | Comma delimited list of fields to retrieve | `str` | All fields included by default | optional | | | 69 | | sort_by | Field name by which to sort returned data | `str`| `FAILDATE` | optional | See meta_dict 70 | | sort_order | Indicator if ascending or descending | `str` | `DESC` | optional | `ASC`
    `DESC` 71 | | limit | Number of records to return | `int` | `10000` | optional | 0 to 10,000 72 | | offset | Offset of page to return | `int` | `0` | optional | 73 | | output | Format of data to return | `str` | `json` | optional | `json`
    `pandas` 74 | | limit | Number of records to return | `int` | `10000` | optional | 0 to 10,000 75 | | friendly_fields | Replace keys / column names with friendlier title | `bool` | `False` | optional | `True`
    `False` 76 | 77 | 78 | === "Example" 79 | 80 | ```python hl_lines="3" 81 | import bankfind as bf 82 | 83 | data = bf.get_history() 84 | data['data'][0] 85 | ``` 86 | 87 | === "Data" 88 | 89 | ```python 90 | { 91 | 'data': { 92 | 'REPORT_TYPE': 711, 93 | 'INSAGENT1': 'DIF', 94 | 'INSAGENT2': '', 95 | 'OFF_PCITY': 'Colorado Springs', 96 | 'EFFDATE': '2020-07-27T00:00:00', 97 | 'CHARTAGENT': 'STATE', 98 | 'PSTALP': 'NE', 99 | 'CLASS': 'NM', 100 | 'FRM_OFF_SERVTYPE': 0, 101 | 'OFF_LONGITUDE': -104.87635200138965, 102 | 'OFF_PSTATE': 'COLORADO', 103 | 'BANK_INSURED': 'Y', 104 | 'CNTYNUM': 157, 105 | 'INSTNAME': 'First State Bank', 106 | 'OFF_PADDR': '3216 W Colorado AVE', 107 | 'FRM_CLCODE': 0, 108 | 'OFF_SERVTYPE_DESC': 'FULL SERVICE - BRICK AND MORTAR', 109 | 'TRANSNUM': 202012234, 110 | 'MZIPREST': '0000', 111 | 'FDICREGION_DESC': 'KANSAS CITY', 112 | 'FRM_OFF_CLCODE': 0, 113 | 'PZIP5': '69361', 114 | 'OFF_PZIPREST': '1906', 115 | 'OFF_NAME': 'First State Bank Colorado Springs West Branch', 116 | 'CERT': 15586, 117 | 'OFF_PSTALP': 'CO', 118 | 'PCITY': 'SCOTTSBLUFF', 119 | 'LATITUDE': 0, 120 | 'PROCDATE': '2020-08-05T00:00:00', 121 | 'ACQDATE': '9999-12-31T00:00:00', 122 | 'CHANGECODE': 711, 123 | 'PADDR': '2002 BROADWAY', 124 | 'MZIP5': '69361', 125 | 'FI_UNINUM': 9873, 126 | 'LONGITUDE': 0, 127 | 'FRM_LATITUDE': 0, 128 | 'STATE': 'NEBRASKA', 129 | 'MSTALP': 'NE', 130 | 'CNTYNAME': 'SCOTTS BLUFF', 131 | 'ACQ_UNINUM': 0, 132 | 'OFF_CNTYNUM': 41, 133 | 'FI_EFFDATE': '2019-06-10T00:00:00', 134 | 'FDICREGION': 11, 135 | 'MSTATE': 'NEBRASKA', 136 | 'FRM_LONGITUDE': 0, 137 | 'OFF_CNTYNAME': 'EL PASO', 138 | 'CHANGECODE_DESC': 'BRANCH OPENING', 139 | 'MCITY': 'SCOTTSBLUFF', 140 | 'MADDR': 'P.O. BOX 1267', 141 | 'OFF_PZIP5': '80904', 142 | 'OUT_UNINUM': 0, 143 | 'PZIPREST': '0000', 144 | 'ORG_STAT_FLG': 'Y', 145 | 'FRM_OFF_LONGITUDE': 0, 146 | 'ENDDATE': '9999-12-31T00:00:00', 147 | 'UNINUM': 625952, 148 | 'OFF_NUM': 6, 149 | 'CLCODE': 21, 150 | 'OFF_SERVTYPE': 11, 151 | 'FRM_OFF_CNTYNUM': 0, 152 | 'ORG_ROLE_CDE': 'BR', 153 | 'REGAGENT': 'FDIC', 154 | 'OFF_LATITUDE': 38.85583298227556, 155 | 'ESTDATE': '2020-07-27T00:00:00', 156 | 'FRM_OFF_LATITUDE': 0, 157 | 'TRUST': 'Full', 158 | 'ID': '20eb98a36c7c77cf6bc019ce391ba7c9' 159 | }, 160 | 'score': 1 161 | } 162 | ``` 163 | 164 | 165 | ## **get_institutions** 166 | 167 | === "Details" 168 | 169 | - *Description*: List of financial institutions 170 | - *Return*: `dict` 171 | - *Arguments* 172 | 173 | | Argument | Description | Type | Default | Required | Options | 174 | |:-----------|:-----------------------------------------|:-----------------------------|:----------|:-----------|:--------------------------------------------------------------------------------------| 175 | | filters | Filter(s) for the bank search | `str` | `None` | optional | | 176 | | search | Flexible text search against institution records (fuzzy name matching) | `str` | `None` | optional | | 177 | | fields | Comma delimited list of fields to retrieve | `str` | All fields included by default | optional | | | 178 | | sort_by | Field name by which to sort returned data | `str`| `FAILDATE` | optional | See meta_dict 179 | | sort_order | Indicator if ascending or descending | `str` | `DESC` | optional | `ASC`
    `DESC` 180 | | limit | Number of records to return | `int` | `10000` | optional | 0 to 10,000 181 | | offset | Offset of page to return | `int` | `0` | optional | 182 | | output | Format of data to return | `str` | `json` | optional | `json`
    `pandas` 183 | | limit | Number of records to return | `int` | `10000` | optional | 0 to 10,000 184 | | friendly_fields | Replace keys / column names with friendlier title | `bool` | `False` | optional | `True`
    `False` 185 | 186 | 187 | === "Example" 188 | 189 | ```python hl_lines="3" 190 | import bankfind as bf 191 | 192 | data = bf.get_institutions() 193 | data['data'][0] 194 | ``` 195 | 196 | === "Data" 197 | 198 | ```python 199 | { 200 | 'data': { 201 | 'ZIP': '31087', 202 | 'SASSER': 0, 203 | 'CHRTAGNT': 'STATE', 204 | 'CONSERVE': 'N', 205 | 'REGAGENT2': '', 206 | 'STNAME': 'Georgia', 207 | 'ROAQ': 0.65, 208 | 'INSDATE': '01/01/1934', 209 | 'TE06N528': '', 210 | 'TE06N529': '', 211 | 'OFFOA': 0, 212 | 'FDICDBS': '05', 213 | 'NAMEHCR': '', 214 | 'OCCDIST': '5', 215 | 'CMSA': '', 216 | 'DEPDOM': 59267, 217 | 'CBSA_METRO_FLG': '0', 218 | 'TE10N528': '', 219 | 'NETINC': 124, 220 | 'CBSA_DIV_NO': '', 221 | 'MUTUAL': '0', 222 | 'MSA_NO': '0', 223 | 'OFFFOR': 0, 224 | 'INSSAVE': 0, 225 | 'CHARTER': '0', 226 | 'RSSDHCR': '', 227 | 'TE04N528': '', 228 | 'TE04N529': '', 229 | 'CERT': '10057', 230 | 'STALP': 'GA', 231 | 'SPECGRP': 7, 232 | 'CFPBENDDTE': '31-Dec-9999', 233 | 'TE09N528': '', 234 | 'IBA': 0, 235 | 'INSBIF': 0, 236 | 'INSFDIC': 1, 237 | 'ENDEFYMD': '12/31/9999', 238 | 'MSA': '', 239 | 'TE02N528': '', 240 | 'CB': '1', 241 | 'TE02N529': '', 242 | 'TE07N528': '', 243 | 'FDICSUPV': 'Atlanta', 244 | 'FED': '6', 245 | 'REGAGNT': 'FDIC', 246 | 'NEWCERT': 0, 247 | 'ASSET': 76416, 248 | 'CBSA_MICRO_FLG': '1', 249 | 'OFFICES': 1, 250 | 'STCNTY': '13141', 251 | 'CSA_FLG': '0', 252 | 'CITY': 'Sparta', 253 | 'CLCODE': '21', 254 | 'INACTIVE': 0, 255 | 'CMSA_NO': '0', 256 | 'STALPHCR': '', 257 | 'INSAGNT1': 'DIF', 258 | 'BKCLASS': 'NM', 259 | 'EFFDATE': '08/31/2009', 260 | 'SUPRV_FD': '05', 261 | 'DATEUPDT': '09/02/2009', 262 | 'INSAGNT2': '', 263 | 'TE05N528': '', 264 | 'TE05N529': '', 265 | 'ROEQ': 2.96, 266 | 'FDICREGN': 'Atlanta', 267 | 'FLDOFF': 'Savannah', 268 | 'WEBADDR': 'http://www.bankofhancock.com', 269 | 'QBPRCOML': '2', 270 | 'COUNTY': 'Hancock', 271 | 'DOCKET': '0', 272 | 'ULTCERT': '10057', 273 | 'OTSDIST': '2', 274 | 'LAW_SASSER_FLG': 'N', 275 | 'PARCERT': '0', 276 | 'ROA': 0.65, 277 | 'CFPBFLAG': 0, 278 | 'RISDATE': '12/31/2019', 279 | 'ROE': 2.96, 280 | 'INSCOML': 1, 281 | 'OTSREGNM': 'Southeast', 282 | 'EQ': '17026', 283 | 'RUNDATE': '08/08/2020', 284 | 'TE03N528': '', 285 | 'TE03N529': '', 286 | 'NAME': 'Bank of Hancock County', 287 | 'HCTMULT': '', 288 | 'CBSA_DIV': '', 289 | 'ADDRESS': '12855 Broad Street', 290 | 'OFFDOM': 1, 291 | 'SUBCHAPS': '0', 292 | 'PROCDATE': '09/02/2009', 293 | 'INSSAIF': 0, 294 | 'DENOVO': '0', 295 | 'CBSA_NO': '33300', 296 | 'ACTIVE': 1, 297 | 'CFPBEFFDTE': '31-Dec-9999', 298 | 'STCHRTR': 1, 299 | 'REPDTE': '03/31/2020', 300 | 'FORM31': '0', 301 | 'CSA': '', 302 | 'INSDIF': 1, 303 | 'TE01N529': '', 304 | 'ROAPTX': 0.65, 305 | 'STNUM': '13', 306 | 'OAKAR': 0, 307 | 'SPECGRPN': 'Other Specialized Under 1 Billion', 308 | 'ROAPTXQ': 0.65, 309 | 'FED_RSSD': '37', 310 | 'CSA_NO': '', 311 | 'CBSA_METRO': 0, 312 | 'INSTCRCD': 0, 313 | 'DEP': 59267, 314 | 'UNINUM': '6429', 315 | 'INSTAG': '0', 316 | 'TE01N528': '', 317 | 'CITYHCR': '', 318 | 'TRACT': '0', 319 | 'CBSA': 'Milledgeville, GA', 320 | 'CBSA_DIV_FLG': '0', 321 | 'TE08N528': '', 322 | 'NETINCQ': 124, 323 | 'CHANGEC1': 520, 324 | 'CERTCONS': '0', 325 | 'ESTYMD': '09/01/1904', 326 | 'FEDCHRTR': 0, 327 | 'TRUST': '0', 328 | 'ID': '10057' 329 | }, 330 | 'score': 1 331 | } 332 | ``` 333 | 334 | ## **get_locations** 335 | 336 | === "Details" 337 | 338 | - *Description*: Detail on failed financial institutions 339 | - *Return*: `dict` 340 | - *Arguments* 341 | 342 | | Argument | Description | Type | Default | Required | Options | 343 | |:-----------|:-----------------------------------------|:-----------------------------|:----------|:-----------|:--------------------------------------------------------------------------------------| 344 | | filters | Filter(s) for the bank search | `str` | `None` | optional | | 345 | | fields | Comma delimited list of fields to retrieve | `str` | All fields included by default | optional | | | 346 | | sort_by | Field name by which to sort returned data | `str`| `FAILDATE` | optional | See meta_dict 347 | | sort_order | Indicator if ascending or descending | `str` | `DESC` | optional | `ASC`
    `DESC` 348 | | limit | Number of records to return | `int` | `10000` | optional | 0 to 10,000 349 | | offset | Offset of page to return | `int` | `0` | optional | 350 | | output | Format of data to return | `str` | `json` | optional | `json`
    `pandas` 351 | | limit | Number of records to return | `int` | `10000` | optional | 0 to 10,000 352 | | friendly_fields | Replace keys / column names with friendlier title | `bool` | `False` | optional | `True`
    `False` 353 | 354 | 355 | === "Example" 356 | 357 | ```python hl_lines="3" 358 | import bankfind as bf 359 | 360 | data = bf.get_locations() 361 | data['data'][0] 362 | ``` 363 | 364 | === "Data" 365 | 366 | ```python 367 | { 368 | 'data': { 369 | 'ZIP': '21613', 370 | 'CBSA_NO': '15700', 371 | 'BKCLASS': 'SM', 372 | 'FI_UNINUM': 3221, 373 | 'STNAME': 'Maryland', 374 | 'CSA': 'Salisbury-Cambridge, MD-DE', 375 | 'COUNTY': 'Dorchester', 376 | 'MAINOFF': 0, 377 | 'OFFNAME': 'WOODS ROAD BRANCH', 378 | 'CBSA_METRO_FLG': '0', 379 | 'CBSA_MICRO_FLG': '1', 380 | 'CSA_NO': '480', 381 | 'CBSA_METRO': 0, 382 | 'CBSA_DIV_NO': '', 383 | 'RUNDATE': '08/07/2020', 384 | 'NAME': '1880 Bank', 385 | 'UNINUM': 204568, 386 | 'SERVTYPE': 11, 387 | 'CSA_FLG': '1', 388 | 'STCNTY': '24019', 389 | 'CBSA': 'Cambridge, MD', 390 | 'CBSA_DIV': '', 391 | 'CBSA_DIV_FLG': '0', 392 | 'CITY': 'Cambridge', 393 | 'ADDRESS': '803 Woods Road', 394 | 'CERT': '4829', 395 | 'STALP': 'MD', 396 | 'OFFNUM': 1, 397 | 'ESTYMD': '12/23/1968', 398 | 'ID': '204568' 399 | }, 400 | 'score': 1 401 | } 402 | ``` 403 | 404 | ## **get_summary** 405 | 406 | === "Details" 407 | 408 | - *Description*: Detail on failed financial institutions 409 | - *Return*: `dict` 410 | - *Arguments* 411 | 412 | | Argument | Description | Type | Default | Required | Options | 413 | |:-----------|:-----------------------------------------|:-----------------------------|:----------|:-----------|:--------------------------------------------------------------------------------------| 414 | | filters | Filter(s) for the bank search | `str` | `None` | optional | | 415 | | fields | Comma delimited list of fields to retrieve | `str` | All fields included by default | optional | | | 416 | | sort_by | Field name by which to sort returned data | `str`| `FAILDATE` | optional | See meta_dict 417 | | sort_order | Indicator if ascending or descending | `str` | `DESC` | optional | `ASC`
    `DESC` 418 | | limit | Number of records to return | `int` | `10000` | optional | 0 to 10,000 419 | | offset | Offset of page to return | `int` | `0` | optional | 420 | | output | Format of data to return | `str` | `json` | optional | `json`
    `pandas` 421 | | limit | Number of records to return | `int` | `10000` | optional | 0 to 10,000 422 | | friendly_fields | Replace keys / column names with friendlier title | `bool` | `False` | optional | `True`
    `False` 423 | 424 | === "Example" 425 | 426 | ```python hl_lines="3" 427 | import bankfind as bf 428 | 429 | data = bf.get_failures() 430 | data['data'][0] 431 | ``` 432 | 433 | === "Data" 434 | 435 | ```python 436 | { 437 | 'data': { 438 | 'INTINC2': 51722726, 439 | 'EXTRA': 1316, 440 | 'LNATRES': 9769341, 441 | 'chrtrest': 0, 442 | 'STNAME': 'United States and Other Areas', 443 | 'ILNS': 39718788, 444 | 'LNAG': 3306388, 445 | 'EINTEXP2': 10348941, 446 | 'EPREMAGG': 2063405, 447 | 'YEAR': '2019', 448 | 'BKPREM': 8315925, 449 | 'INTAN': 12025281, 450 | 'LNRE': 444072342, 451 | 'chartoth': 1, 452 | 'IGLSEC': 482482, 453 | 'OT_BIF': 0, 454 | 'EAMINTAN': 456598, 455 | 'newcount': 0, 456 | 'DEPI': 840535976, 457 | 'EFHLBADV': None, 458 | 'tofail': 1, 459 | 'SCMTGBK': 292023664, 460 | 'NTRTMLG': 118177154, 461 | 'OEA': 1483578, 462 | 'EFREPP': 90846, 463 | 'LNLSGR': 655127513, 464 | 'NETINC': 15194171, 465 | 'TOT_OTS': 334, 466 | 'CONS': 0, 467 | 'OTHNBORR': 91479748, 468 | 'LNREMULT': 68529412, 469 | 'P9LNLS': 7463014, 470 | 'COUNT': 659, 471 | 'LNRERES': 253541537, 472 | 'EQCS': 790384, 473 | 'SCAGE': 304050945, 474 | 'LNRECONS': 23453492, 475 | 'TOT_FDIC': 325, 476 | 'EINTEXP': 10348941, 477 | 'TPD': 13656751, 478 | 'LNCI': 43378018, 479 | 'EQNM': 125002942, 480 | 'INTBLIB': 1007906756, 481 | 'liqasstd': 0, 482 | 'SC': 385021771, 483 | 'INTBAST': 1096557030, 484 | 'EDEPDOM': 8287049, 485 | 'ILNDOM': 39718603, 486 | 'NCLNLS': 11414221, 487 | 'UNINC': 133264, 488 | 'ISC': 10339424, 489 | 'LIABEQ': 1153906385, 490 | 'tochrt': 7, 491 | 'IFEE': 865589, 492 | 'TOT_SAVE': 659, 493 | 'LNRESRE': None, 494 | 'alsonew': 0, 495 | 'NUMEMP': 121746, 496 | 'ASSET': 1153906405, 497 | 'TINTINC': 11723463, 498 | 'NALNLS': 3951207, 499 | 'EOTHNINT': 14513593, 500 | 'TRADES': 0, 501 | 'ESAL': 12889946, 502 | 'ILNLS': 39999263, 503 | 'LIAB': 1028873691, 504 | 'LNDEP': 417597, 505 | 'OTHBFHLB': 75972627, 506 | 'ITAX': 4361954, 507 | 'EQCDIVP': 12402, 508 | 'SCRES': None, 509 | 'TRADE': 356945, 510 | 'MISSADJ': -1, 511 | 'FD_BIF': 0, 512 | 'CRLNLS': 1422110, 513 | 'LS': 5575099, 514 | 'tomerg': 11, 515 | 'ELNATR': 5247975, 516 | 'LNCRCD': 99551689, 517 | 'INTINC': 51722726, 518 | 'EQUPTOT': 70024149, 519 | 'CHBALI': 64693509, 520 | 'EQPP': 282890, 521 | 'PTXNOINC': 19078526, 522 | 'OINTINC': 11723463, 523 | 'tortc': 0, 524 | 'ILS': 280475, 525 | 'FD_SAIF': 0, 526 | 'EQNWCERT': None, 527 | 'OINTBOR': 85304294, 528 | 'SCUST': 12170713, 529 | 'combos': 12, 530 | 'P3LNLS': 6193737, 531 | 'OTLNCNTA': None, 532 | 'OTHLIAB': 16342193, 533 | 'IFREPO': 18439, 534 | 'LNLSNET': 645358172, 535 | 'LNCONOT1': None, 536 | 'EQCDIVC': 13089203, 537 | 'SCUSA': 316221658, 538 | 'DRLNLS': 7211296, 539 | 'OTHBORR': 1685904, 540 | 'EQCDIV': 13101605, 541 | 'EDEP': 8287065, 542 | 'BRWDMONY': 1685904, 543 | 'comboass': 0, 544 | 'FREPO': 1126633, 545 | 'CHBAL': 73009001, 546 | 'ALLOTHER': 14950385, 547 | 'FREPP': 6067807, 548 | 'IRAKEOGH': 123424709, 549 | 'OT_SAIF': 0, 550 | 'ORE': 302690, 551 | 'SCMUNI': 10308292, 552 | 'ESUBND': 278, 553 | 'SCUS': 316221658, 554 | 'ITRADE': 0, 555 | 'OINTEXP': 1777028, 556 | 'liqunass': 1, 557 | 'DDT': 58550380, 558 | 'EDEPFOR': 16, 559 | 'LNALLOTH': 42378773, 560 | 'SCEQ': 258574, 561 | 'ITAXR': 19078526, 562 | 'ILNFOR': 185, 563 | 'ICHBAL': 1365600, 564 | 'LNRELOC': 21179492, 565 | 'STNUM': '0', 566 | 'SUBLLPF': 26052, 567 | 'OONONII': 11554071, 568 | 'CORPBNDS': 55721897, 569 | 'NONIX': 29466944, 570 | 'NCHGREC': 5789186, 571 | 'OTHASST': 28389467, 572 | 'DEP': 921025698, 573 | 'NIM': 41373785, 574 | 'LNCON': 141930462, 575 | 'EQSUR': 53905519, 576 | 'SAVINGS': 659, 577 | 'ORET': 302690, 578 | 'CB_SI': 'SI', 579 | 'TOINTEXP': 2061876, 580 | 'LNMUNI': 1630491, 581 | 'LNRENRES': 98547901, 582 | 'NONII': 12419660, 583 | 'BRO': 104643398, 584 | 'ID': 'SI_2019_0' 585 | }, 586 | 'score': 1 587 | } 588 | ``` 589 | -------------------------------------------------------------------------------- /bankfind/metadata/summary.py: -------------------------------------------------------------------------------- 1 | summary_dict = { 2 | 'ALLOTHER': { 3 | 'type': 'integer', 4 | 'x-number-unit': 'Thousands of US Dollars', 5 | 'title': 'All Other Loans', 6 | 'description': 'All Other Loans' 7 | }, 8 | 'alsonew': { 9 | 'type': 'integer', 10 | 'title': 'New Charters to Absorb Another Charter', 11 | 'description': 'New savings institution charter created to absorb any other type of charter in its first quarter of operation.' 12 | }, 13 | 'ASSET': { 14 | 'type': 'integer', 15 | 'x-number-unit': 'Thousands of US Dollars', 16 | 'title': 'Total Assets', 17 | 'description': 'Total Assets On A Consolidated Basis\nNote: For Banks With Foreign Operations Data For March &\nSeptember Of 1973 Through 1975 Are Reported On A\nDomestic Basis' 18 | }, 19 | 'BANKS': { 20 | 'type': 'integer', 21 | 'title': 'Total Commercial Banks (Filing Y/E Call)', 22 | 'description': 'Total Insured Commercial Banks filing 12/31 fincncial report (See Notes to User for definition of commercial bank)' 23 | }, 24 | 'BKPREM': { 25 | 'type': 'integer', 26 | 'x-number-unit': 'Thousands of US Dollars', 27 | 'title': 'Bank Premises and Equipment', 28 | 'description': 'Premises and Fixed Assets\nNote:\n(1) Premises and Fixed Assets (Including Capitalized Leases) On A Consolidated Basis\n(2) For Banks With Foreign Operations Data For March & September Of 1972 Through 1975 Was Reported On A Domestic Basis' 29 | }, 30 | 'BRANCHES': { 31 | 'type': 'integer', 32 | 'title': 'Total Branches', 33 | 'description': 'Branches include all offices of a bank, other than its head office, at which deposits are received, checks paid or money lent. Banking facilities separate from a banking house, banking facilities at government installations, offices, agencies, paying or receiving stations, drive-in facilities and other facilities operated for limited purposes are defined as branches under the FDI Act (see Notes to User)' 34 | }, 35 | 'BRANCHIN': { 36 | 'type': 'integer', 37 | 'title': 'Banks with Branches', 38 | 'description': 'Banks with branches are institutions that operate one or more offices at which deposits are received or other banking business conducted in addition to the main or head office.' 39 | }, 40 | 'BRO': { 41 | 'type': 'integer', 42 | 'x-number-unit': 'Thousands of US Dollars', 43 | 'title': 'Memo: Brokered Deposits', 44 | 'description': 'Borrowed Deposits (Represents funds which the reporting bank obtains, directly or indirectly, by or through any deposit broker for deposit into one or more deposit accounts. Includes both those in which the entire beneficial interest in a given bank deposit account or investment is held by a single depositor and those in which deposit broker sells participation in a given bank deposit account or instrument to one or more investors).' 45 | }, 46 | 'BRWDMONY': { 47 | 'type': 'integer', 48 | 'x-number-unit': 'Thousands of US Dollars', 49 | 'title': 'Borrowed Funds', 50 | 'description': 'Borrowed Funds - (1969-Present -- Represents Federal Funds purchase. securities sold under agreements to repurchase, demand notes issued to the US Treasury, mortgage indebtedness, liabilities under capitalized leases and all other liabilities for borrowed money. -- 1934-1968 -- Does not include mortgage indebtedness which is netted against bank premsises.)' 51 | }, 52 | 'CB_SI': { 53 | 'type': 'string', 54 | 'x-elastic-type': 'keyword', 55 | 'title': 'Commercial Banks (CB) vs. Savings Institution (SI)', 56 | 'description': 'Differentiates the summarised data between the Commercial Banks and the Savings Institutions', 57 | 'options': ['CB', 'SI'] 58 | }, 59 | 'chartoth': { 60 | 'type': 'integer', 61 | 'title': 'Charter Transfers from Commercial Banks', 62 | 'description': 'Represents the transfer of a commercial bank to a savings institution charter that meets the definition of a thrift (see Notes to Table SI-1) and has applied for and received FDIC insurance (BIF or SAIF).' 63 | }, 64 | 'CHBAL': { 65 | 'type': 'integer', 66 | 'x-number-unit': 'Thousands of US Dollars', 67 | 'title': 'Cash & Due from Depository Institutions', 68 | 'description': 'Total Cash and Balances Due From Depository Institutions Which Include Both Noninterest-Bearing and Interest-Bearing Deposits On A Consolidated Basis\nNote:\n(1): Additional Detail Can Be Found On Schedule Rc-A\n(2) For Banks With Foreign Operations Data For March and September 1972 Through 1975 Are Reported On A Domestic Basis' 69 | }, 70 | 'CHBALI': { 71 | 'type': 'integer', 72 | 'x-number-unit': 'Thousands of US Dollars', 73 | 'title': 'Interest Earning Balances', 74 | 'description': 'Interest-Bearing Balances Due From Depository Institutions On A Consolidated Basis\nNote: Additional Detail Can Be Found On Schedule Rc-A' 75 | }, 76 | 'chrtrest': { 77 | 'type': 'integer', 78 | 'title': 'Non-insured Becoming insured', 79 | 'description': 'Represents the transfer of an existing institution that does not have deposit insurance to a savings institution charter with FDIC insurance from BIF or SAIF. Examples of such institutions include Trust Banks and savings institutions with state deposit insurance that apply for and receive FDIC insurance' 80 | }, 81 | 'comboass': { 82 | 'type': 'integer', 83 | 'title': 'Assisted Mergers with Thrifts', 84 | 'description': 'Represents the absorption of a failing savings institution by another savings institution with assistance from either the BIF or SAIF. (Included are RTC Accelerated Resolution Program (ARP) assisted mergers. These institutions were not placed in RTC conservatorship.)' 85 | }, 86 | 'combos': { 87 | 'type': 'integer', 88 | 'title': 'Unassisted Mergers/Consolidations of Thrifts', 89 | 'description': 'Represents the absorption of a savings institution charter by another savings institution without assistance. Both institutions may be owned by the same holding company in a consolidation of affiliates.' 90 | }, 91 | 'CONS': { 92 | 'type': 'integer', 93 | 'title': 'RTC Conservatorships', 94 | 'description': 'Institutions in RTC Conservatorship' 95 | }, 96 | 'CORPBNDS': { 97 | 'type': 'integer', 98 | 'x-number-unit': 'Thousands of US Dollars', 99 | 'title': 'Other Debt Securities', 100 | 'description': 'Other Debt Securities' 101 | }, 102 | 'COUNT': { 103 | 'type': 'integer', 104 | 'title': 'Total Savings Institutions (Filing Y/E Call)', 105 | 'description': 'All FDIC Insured Savings Institutions filing a 12/31 financial report' 106 | }, 107 | 'CRLNLS': { 108 | 'type': 'integer', 109 | 'x-number-unit': 'Thousands of US Dollars', 110 | 'title': 'Loan & Lease Recoveries', 111 | 'description': 'Total Recoveries Of Loans and Lease Financing Receivables Credited To The Allowance For Loan and Lease Losses\nNote: For Banks With Foreign Operations, Data For December\n1972 Through December 1975 Are Domestic Only' 112 | }, 113 | 'DDT': { 114 | 'type': 'integer', 115 | 'x-number-unit': 'Thousands of US Dollars', 116 | 'title': 'Deposits - Domestic Demand', 117 | 'description': 'Total Demand Deposits Included In Total Transaction Accounts Held In Domestic Offices\nNote: For Tfr Filers Between June 1989 Through March 1990 Includes Non-interest Bearing Deposits' 118 | }, 119 | 'DEP': { 120 | 'type': 'integer', 121 | 'x-number-unit': 'Thousands of US Dollars', 122 | 'title': 'Total Deposits', 123 | 'description': 'Total Deposits On A Consolidated Basis\nNote:\n(1) Additional Detail Can Be Found On Schedule Rc-E\n(2) For Banks With Foreign Operations Data For March & September Of 1972 Through 1975 Are Reported On A Domestic Basis' 124 | }, 125 | 'DEPDOM': { 126 | 'type': 'integer', 127 | 'x-number-unit': 'Thousands of US Dollars', 128 | 'title': 'Total Domestic Deposits', 129 | 'description': 'Represents the sum of total deposits, domestic offices only' 130 | }, 131 | 'DEPFOR': { 132 | 'type': 'integer', 133 | 'x-number-unit': 'Thousands of US Dollars', 134 | 'title': 'Total Foreign Deposits', 135 | 'description': 'Represents the sum of total deposits in foreign offices' 136 | }, 137 | 'DEPI': { 138 | 'type': 'integer', 139 | 'x-number-unit': 'Thousands of US Dollars', 140 | 'title': 'Interest Bearing Deposits', 141 | 'description': 'Interest-Bearing Consolidated Office Deposits\n\nNote:\n(1) Additional Detail Can Be Found On Schedule Rc-E\n(2) Tfr Filers With Less Than $300 Million In Assets and Risk-Based Capital Ratios In Excess Of 12 Percent Are Not Required To File Schedule Cmr Beginning March 1993, However, When Cmr Data Is Either Incorrect Or Not Filed Fts Assumes That All Deposits Are Interest-Bearing\n(3) Prior To Receipt Of The 75-Day Tfr Tape All Tfr Filers Deposits Are Assumed To Be Interest-Bearing\n(4) For Banks With Foreign Operations Data For March & September Of 1972 Through 1975 Are Reported On A Domestic Basis' 142 | }, 143 | 'DEPIFOR': { 144 | 'type': 'integer', 145 | 'x-number-unit': 'Thousands of US Dollars', 146 | 'title': 'Foreign Deposits - Interest Bearing', 147 | 'description': 'Represents any deposit in foreign offices, whether demand, savings or time, on which the bank pays or accrues interest' 148 | }, 149 | 'DEPNI': { 150 | 'type': 'integer', 151 | 'x-number-unit': 'Thousands of US Dollars', 152 | 'title': 'Memo: Deposits - Non-interest Bearing', 153 | 'description': 'Represents any deposit on which the bank does not pay or accrue interest' 154 | }, 155 | 'DEPNIFOR': { 156 | 'type': 'integer', 157 | 'x-number-unit': 'Thousands of US Dollars', 158 | 'title': 'Foreign Deposits - Non-interest Bearing', 159 | 'description': 'Represents any deposit in foreign offices on which the bank does not pay or accrue interest' 160 | }, 161 | 'DRLNLS': { 162 | 'type': 'integer', 163 | 'x-number-unit': 'Thousands of US Dollars', 164 | 'title': 'Loan & Lease Charge-offs', 165 | 'description': 'Total Charged-Off Loans and Lease Financing Receivables Debited To The Allowance For Loan and Lease Losses\nNote: For Banks With Foreign Operations, Data For December 1972 Through December 1975 Are Domestic Only' 166 | }, 167 | 'EAMINTAN': { 168 | 'type': 'integer', 169 | 'x-number-unit': 'Thousands of US Dollars', 170 | 'title': 'Memo: Amortization of Intangibles', 171 | 'description': 'Goodwill Impairment Losses and Amortization Expense and Impairment Loss For Other Intangible Assets On A Consolidated Basis\n\nNote:\n(1) Prior To March 2001, Listed As Memoranda Only and Is Included In All Other Non-interest Expense\n(2) Includes Only Amortization Of Goodwill For Tfr Filers' 172 | }, 173 | 'EDEP': { 174 | 'type': 'integer', 175 | 'x-number-unit': 'Thousands of US Dollars', 176 | 'title': 'Int Exp - Total Deposits', 177 | 'description': 'Interest Expense On Total Deposits (Domestic and Foreign) On A Consolidated Basis\nNote: For Banks With Foreign Operations, Data For December 1972 Through December 1975 Are Domestic Only' 178 | }, 179 | 'EDEPDOM': { 180 | 'type': 'integer', 181 | 'x-number-unit': 'Thousands of US Dollars', 182 | 'title': 'Int Exp - Deposit in Domestic Offices', 183 | 'description': 'Interest Expense On Total Deposits Held In Domestic Offices\nNote: For Banks With Foreign Operations, Data For December 1972 Through December 1975 Are Domestic Only' 184 | }, 185 | 'EDEPFOR': { 186 | 'type': 'integer', 187 | 'x-number-unit': 'Thousands of US Dollars', 188 | 'title': 'Int Exp - Deposits in Foreign Offices', 189 | 'description': 'Deposit Interest Expense-For (1976-Present -- Represents all interests on all liabilities reportable as deposits in foreign offices. -- 1934-1975 -- Interest on foregin office deposits is not available. Reports of income were submitted on a domestic only basis.)' 190 | }, 191 | 'EEREPP': { 192 | 'type': 'integer', 193 | 'x-number-unit': 'Thousands of US Dollars', 194 | 'title': 'Fed Funds Purchased/Securities Sold', 195 | 'description': 'Represents the gross expenses of all liabilities reportable under this category' 196 | }, 197 | 'EFHLBADV': { 198 | 'type': 'integer', 199 | 'x-number-unit': 'Thousands of US Dollars', 200 | 'title': 'Int Exp Oth - Advances From FHLB', 201 | 'description': 'Interest Expense and The Amortization Of Any Related Yield Adjustments On Fhlbank Advances\nNote: Only Reported By Tfr Filers' 202 | }, 203 | 'EFREPP': { 204 | 'type': 'integer', 205 | 'x-number-unit': 'Thousands of US Dollars', 206 | 'title': 'Int Exp - Fed Funds Purchased/Securities Sold', 207 | 'description': "Interest Expense On Federal Funds Purchased and Securities Sold Under Agreements To Repurchase On A Consolidated Basis (Prior To March 1997 Was On A Consolidated Basis In Domestic Offices Of The Bank and Of Its Edge and Agreement Subsidiaries, and In Ibf'S)\nNote: For Banks With Foreign Operations, Data For December\n1972 Through December 1975 Are Domestic Only" 208 | }, 209 | 'EINTEXP': { 210 | 'type': 'integer', 211 | 'x-number-unit': 'Thousands of US Dollars', 212 | 'title': 'Total Interest Expense', 213 | 'description': 'Total Interest Expense On A Consolidated Basis\nNote: For Banks With Foreign Operations, Data For December\n1972 Through December 1975 Are Domestic Only' 214 | }, 215 | 'EINTEXP2': { 216 | 'type': 'integer', 217 | 'x-number-unit': 'Thousands of US Dollars', 218 | 'title': 'Eintexp2', 219 | 'description': 'Eintexp2' 220 | }, 221 | 'ELNATR': { 222 | 'type': 'integer', 223 | 'x-number-unit': 'Thousands of US Dollars', 224 | 'title': 'Provision for Loan & Lease Losses', 225 | 'description': 'Provision For Loan & Lease Losses On A Consolidated Basis\n\nNote:\n(1) Beginning March 2003, Includes The Provision For Allocated Transfer Risk Related To Loans\n(2) From March 1997 To December 2000, Defined As The Provision For Credit Losses & Allocated Transfer Risk Reserve Which Includes The Provision For Off-Balance Sheet Credit Losses For Call Report Filers\n(3) Prior To March 1997, Defined As The Provision For Loan and Lease Losses & Allocated Transfer Risk\n(4) For Tfr Filers, Consists Of The Provision For Loan and Lease Losses\n(5) Reflects Net Provision For Losses On Interest-Bearing Assets For Tfr Filers\n(6) For Banks With Foreign Operations, Data For December 1972 Through December 1975 Are Domestic Only' 226 | }, 227 | 'EOTHNINT': { 228 | 'type': 'integer', 229 | 'x-number-unit': 'Thousands of US Dollars', 230 | 'title': 'All Other Non-interest Expenses', 231 | 'description': 'All Other Non-interest Expense On A Consolidated Basis\n\nNote:\n(1) Prior To March 2001, Included The Amortization Of Intangible Assets For Call Reporters\n(2) Greater Detail Is Provided In Subsequent Data Fields For All Items In Excess Of 10% Of This Item All Other Non-interest Expense On A Consolidated Basis\n(3) Does Not Include Losses On Asset Sales For Tfr Filers Beginning June 1996, Such Gains (Losses) Are Included Net In Non-interest Income\n(4) Includes Loss On Sale Of Securities Held For Investments For Tfr Filers Between March 1984 Through December 1986\n(5) For Banks With Foreign Operations, Data For December 1972 Through December 1975 Are Domestic Only' 232 | }, 233 | 'EPREMAGG': { 234 | 'type': 'integer', 235 | 'x-number-unit': 'Thousands of US Dollars', 236 | 'title': 'Occupancy Expense', 237 | 'description': 'Expenses Of Premises and Fixed Assets (Net Of Rental Income and Excluding Salaries and Employee Benefits and Mortgage Interest) On A Consolidated Basis\nNote: For Banks With Foreign Operations, Data For December 1972 Through December 1975 Are Domestic Only' 238 | }, 239 | 'EQ': { 240 | 'type': 'integer', 241 | 'x-number-unit': 'Thousands of US Dollars', 242 | 'title': 'Total Equity', 243 | 'description': 'Represents the sum of all capital accounts' 244 | }, 245 | 'EQCDIV': { 246 | 'type': 'integer', 247 | 'x-number-unit': 'Thousands of US Dollars', 248 | 'title': 'Total Cash Dividends Declared', 249 | 'description': 'Cash Dividends Declared On Common and Preferred Stock On A Consolidated Basis\nNote: For Banks With Foreign Operations, Data For December 1972 Through December 1975 Are Domestic Only' 250 | }, 251 | 'EQCDIVC': { 252 | 'type': 'integer', 253 | 'x-number-unit': 'Thousands of US Dollars', 254 | 'title': 'Cash Dividends Declared (Common)', 255 | 'description': 'Cash Dividends Declared On Common Stock On A Consolidated Basis\n\nNote:\n(1) 034 Reporters Only File Data On The December Call\n(2) For Banks With Foreign Operations, Data For December 1972 Through December 1975 Are Domestic Only' 256 | }, 257 | 'EQCDIVP': { 258 | 'type': 'integer', 259 | 'x-number-unit': 'Thousands of US Dollars', 260 | 'title': 'Cash Dividends Declared (Preferred)', 261 | 'description': 'Cash Dividends Declared On Preferred Stock On A Consolidated Basis\nNote:\n(1) 034 Reporters Only File Data On The December Call\n(2) For Banks With Foreign Operations, Data For December 1972 Through December 1975 Are Domestic Only' 262 | }, 263 | 'EQCS': { 264 | 'type': 'integer', 265 | 'x-number-unit': 'Thousands of US Dollars', 266 | 'title': 'Common Stock', 267 | 'description': 'Common Stock On A Consolidated Basis\nNote: For Banks With Foreign Operations, Data For March & September Of 1972 Through 1975 Are Reported On A Domestic Basis' 268 | }, 269 | 'EQDIV': { 270 | 'type': 'integet', 271 | 'x-number-unit': 'Thousands of US Dollars', 272 | 'title': 'Total Cash Divident Declared', 273 | 'description': 'The total of cash dividends declared on all preferred and common stock during the calendar year, regardless of when payable' 274 | }, 275 | 'EQNM': { 276 | 'type': 'integer', 277 | 'x-number-unit': 'Thousands of US Dollars', 278 | 'title': 'Total Equity Capital', 279 | 'description': 'Total Capital (Represents the total of all capital components, including FDIC net worth certificates.)' 280 | }, 281 | 'EQNWCERT': { 282 | 'type': 'integer', 283 | 'x-number-unit': 'Thousands of US Dollars', 284 | 'title': 'FDIC Net Worth Certificates', 285 | 'description': 'Net Worth Certificates Represents The Outstanding Balances Issued To The Fdic In Exchange For Promissory Notes Received From The Fdic On A Consolidated Basis' 286 | }, 287 | 'EQOTHCC': { 288 | 'type': 'integer', 289 | 'title': 'Other Capital', 290 | 'description': 'Other Capital' 291 | }, 292 | 'EQPP': { 293 | 'type': 'integer', 294 | 'x-number-unit': 'Thousands of US Dollars', 295 | 'title': 'Perpetual Preferred Stock', 296 | 'description': 'Perpetual Preferred Stock and Related Surplus On A Consolidated Basis\nNote: For Banks With Foreign Operations, Data For March & September Of 1972 Through 1975 Are Reported On A Domestic Basis' 297 | }, 298 | 'EQSUR': { 299 | 'type': 'integer', 300 | 'x-number-unit': 'Thousands of US Dollars', 301 | 'title': 'Surplus', 302 | 'description': 'Surplus (Excludes All Surplus Related To Preferred Stock) On A Consolidated Basis\nNote: For Banks With Foreign Operations, Data For March & September Of 1972 Through 1975 Are Reported On A Domestic Basis\n' 303 | }, 304 | 'EQUPTOT': { 305 | 'type': 'integer', 306 | 'x-number-unit': 'Thousands of US Dollars', 307 | 'title': 'Undivided Profits', 308 | 'description': 'Undivided Profits, Capital Reserves, Net Unrealized Holding Gains (Losses) On Available-For-Sale Securities and Other Equity Capital Components and/Or\nAccumulated Gains (Losses) On Cash Flow Hedges On A Consolidated Basis\n\nNote:\n(1) Prior To March 1999 Included Undivided Profits, Capital Reserves and Net Unrealized Gains (Losses) On Available-For-Sale Securities\n(2) Prior To March 1994 Included Undivided Profits and Capital Reserves Less Net Unrealized Loss On Marketable Equity Securities\n(3) This Item Includes Net Worth Certificates For Bif Thrifts\n(4) For Banks With Foreign Operations, Data For March & September Of 1972 Through 1975 Are Reported On A Domestic Basis' 309 | }, 310 | 'ESAL': { 311 | 'type': 'integer', 312 | 'x-number-unit': 'Thousands of US Dollars', 313 | 'title': 'Employee Salaries and Benefits', 314 | 'description': 'Salaries and Employee Benefits On A Consolidated Basis Note: For Banks With Foreign Operations, Data For December 72 Through December 1975 Are Domestic Only' 315 | }, 316 | 'ESUBND': { 317 | 'type': 'integer', 318 | 'x-number-unit': 'Thousands of US Dollars', 319 | 'title': 'Int Exp - Subordinated Notes', 320 | 'description': 'Interest Expense On Subordinated Notes and Debentures On A Consolidated Basis\nNote:\n1. This Item Is Not Reported By Form 51 Filers\n2. For Banks With Foreign Operations, Data For December 1972 Through December 1975 Are Domestic Only' 321 | }, 322 | 'EXTRA': { 323 | 'type': 'integer', 324 | 'x-number-unit': 'Thousands of US Dollars', 325 | 'title': 'Net Extraordinary Items', 326 | 'description': 'Discontinued Operations, Net Of Applicable Income Taxes On A Consolidated Basis\n\nNote:\n(1) Prior To March 2016, Defined As Extraordinary Items and and Other Adjustments, Net Of Taxes On A Consolidated Basis\n(2) This Item Does Not Include The Tax Effects Related To Securities Gains and Losses and Extraordinary Items From June 1984 Through December 1985 For Bif Thrifts (Refer To Applicable Income Taxes)\n(3) For Banks With Foreign Operations, Data For December 1972 Through December 1975 Are Domestic Only' 327 | }, 328 | 'FD_BIF': { 329 | 'type': 'integer', 330 | 'title': 'FDIC Supervised, BIF Insured Institutions', 331 | 'description': 'FDIC Supervised, BIF Insured Institutions' 332 | }, 333 | 'FD_SAIF': { 334 | 'type': 'integer', 335 | 'title': 'FDIC supervised, SAIF Insured Institutions', 336 | 'description': 'FDIC supervised SAIF insured institutions' 337 | }, 338 | 'FREPO': { 339 | 'type': 'integer', 340 | 'x-number-unit': 'Thousands of US Dollars', 341 | 'title': 'Federal Funds Sold', 342 | 'description': "Federal Funds Sold and Securities Purchased Under Agreements To Resell On A Consolidated Basis\n\nNote:\n(1) Prior To March 1997, Includes Only Federal Funds Sold and Securities Purchased Under Agreements To Resell In Domestic Offices Of The Bank and Of Its Edge and Agreement Subsidiaries, and In Ibf'S\n(2) Prior To March 1998, Includes Only Federal Funds Sold For Tfr Filers\n(3) For Banks With Foreign Operations, Data For March & September Of 1972 Through 1975 Was Reported On A Domestic Basis" 343 | }, 344 | 'FREPP': { 345 | 'type': 'integer', 346 | 'x-number-unit': 'Thousands of US Dollars', 347 | 'title': 'Fed Funds & Repos Purchased', 348 | 'description': 'Federal Funds Purchased and Securities Sold Under Agreements To Repurchase On A Consolidated Basis \nNote:\n(1) Prior To March 1998, Includes Only Reverse Repurchase Agreements For Tfr Filers\n(2) For Banks With Foreign Operations Data For March & September Of 1972 Through 1975 Are Reported On A Domestic Basis' 349 | }, 350 | 'ICHBAL': { 351 | 'type': 'integer', 352 | 'x-number-unit': 'Thousands of US Dollars', 353 | 'title': 'Int Inc - Balances Due', 354 | 'description': 'Total Interest Income On Balances Due From Depository Institutions On A Consolidated Basis' 355 | }, 356 | 'IFEE': { 357 | 'type': 'integer', 358 | 'x-number-unit': 'Thousands of US Dollars', 359 | 'title': 'Fee Income', 360 | 'description': 'Fee Income (Represents service charges on deposit accounts such as maintenance fees, activity charges, administrative charges, overdraft charges and check certification charges; mortgage loans servicing fees plus other fees and charges, including prepayment loan fees, late charges, assumption fees, and amortization of commitment fees.)' 361 | }, 362 | 'IFREPO': { 363 | 'type': 'integer', 364 | 'x-number-unit': 'Thousands of US Dollars', 365 | 'title': 'Int Inc - Fed Funds Sold/Securities Purchased', 366 | 'description': 'Interest Income On Federal Funds Sold and Securities Purchased Under Agreements To Resell On A Consolidated Basis\nNote:\n(1) Prior To March 1997 Included Only Income From Domestic Offices Of The Bank and Of Its Edge and Agreement Subsidiaries, and In Ibfs On A Consolidated Basis\n(2) For Banks With Foreign Operations Data For December 1972 Through 1975 Are Domestic Only' 367 | }, 368 | 'IGLSEC': { 369 | 'type': 'integer', 370 | 'x-number-unit': 'Thousands of US Dollars', 371 | 'title': 'Securities Gains and Losses', 372 | 'description': 'Realized Gains (Losses) On Held-To-Maturity and Available-For-Sale Debt Securities and Unrealized Holding Gains (Losses) On Equity Securities Not Held For Trading Before Adjustments For Income Taxes On A Consolidated Basis (Also Includes Realized Gains On Equity Securities Until The Institution Adopts Asu 2016-01)\nNote:\n1. Prior To March 2018, Defined As Realized Gains (Losses) On Held-To-Maturity and Available-For-Sale Securities Before Adjustments For Income Taxes On A Consolidated Basis\n2. Beginning In The 2018 Reporting Year, Includes Unrealized Gains (Losses) On Equity Securities For Institutions That Adopted Asu2016-01 and Includes Realized Gains (Losses) On Equity Securities For Institutions That Have Not Yet Adopted Asu2016-01\n3. Prior To March 1994 Defined As Gains (Losses) On Securities Not Held In Trading Accounts \n4. From March 1990 Through March 2009, Includes Gains (Losses) On Assets Held For Sale For Tfr Filers\n5. Includes Gains (Losses) On Loans Held For Investment From March 1984 Through December 1989 For Tfr Filers\n6. Tfr Filers Report Only Gains From March 1984 Through December 1986\n7. For Banks With Foreign Operations Data For December 1972 Through December 1975 Are Domestic Only' 373 | }, 374 | 'ILNDOM': { 375 | 'type': 'integer', 376 | 'x-number-unit': 'Thousands of US Dollars', 377 | 'title': 'Int Inc - Domestic Office Loans', 378 | 'description': 'Total Interest and Fees On Loans Held In Domestic Offices\nNote:\n(1) U-Size-Stratum = 0001 Means That Bank Has Total Assets Less Than $25 Million\n(2) U-Size-Stratum = 0002 Means That Bank Has Total Assets Equal To Or Greater Than $25 Million\n(3) For Banks With Foreign Operations, Data For December 1972 Through December 1975 Are Domestic Only' 379 | }, 380 | 'ILNFOR': { 381 | 'type': 'integer', 382 | 'x-number-unit': 'Thousands of US Dollars', 383 | 'title': 'Int Inc - Foreign Office Loans', 384 | 'description': "Total Interest and Fees On Loans Held In Foreign Offices, Edge and Agreement Subsidiaries, and Ibf'S" 385 | }, 386 | 'ILNLS': { 387 | 'type': 'integer', 388 | 'x-number-unit': 'Thousands of US Dollars', 389 | 'title': 'Int Inc - Total Loans & Leases', 390 | 'description': 'Interest and Fees On Loans and Lease Financing Receivables On A Consolidated Basis\nNote:\n(1) U-Size-Stratum = 0001 Means That Bank Has Total Assets Less Than $25 Million\n(2) U-Size-Stratum = 0002 Means That Bank Has Total Assets Equal To Or Greater Than $25 Million\n(3) For Banks With Foreign Operations, Data For December 1972 Through December 1975 Are Domestic Only' 391 | }, 392 | 'ILNS': { 393 | 'type': 'integer', 394 | 'x-number-unit': 'Thousands of US Dollars', 395 | 'title': 'Int Inc - Loans', 396 | 'description': 'Loans (Represents all interest, fees and similar charges levied against or associated with all assets reportable as loans. Includes interest, yield related fees, commitment fees, service charges on loans and discount accretion. (One savings bank with an office in Canada has been reporting on the Domestic & Foregin Consolidated Call Report form (FFIEC 031). It does not, however, indicate any income or expenses related to foregin operations.))' 397 | }, 398 | 'ILS': { 399 | 'type': 'integer', 400 | 'x-number-unit': 'Thousands of US Dollars', 401 | 'title': 'Int Inc - Leases', 402 | 'description': 'Total Interest Income From Lease Financing Receivables On A\nConsolidated Basis' 403 | }, 404 | 'INTAN': { 405 | 'type': 'integer', 406 | 'x-number-unit': 'Thousands of US Dollars', 407 | 'title': 'Intangible Assets', 408 | 'description': 'Intangible Assets On A Consolidated Basis' 409 | }, 410 | 'INTBAST': { 411 | 'type': 'integer', 412 | 'x-number-unit': 'Thousands of US Dollars', 413 | 'title': 'Total Interest Earning Assets', 414 | 'description': 'Total Interest Earning Assets (Derived See Si-19) - Sc' 415 | }, 416 | 'INTBLIB': { 417 | 'type': 'integer', 418 | 'x-number-unit': 'Thousands of US Dollars', 419 | 'title': 'Total Interest Bearing Liabilities', 420 | 'description': 'Total Interest Bearing Liabilities (Derived See Si-19) - Sc' 421 | }, 422 | 'INTINC': { 423 | 'type': 'integer', 424 | 'x-number-unit': 'Thousands of US Dollars', 425 | 'title': 'Total Interest Income', 426 | 'description': 'Total Interest Income On A Consolidated Basis\nNote: For Banks With Foreign Operations Data For December 1972 Through December 1975 Are Domestic Only' 427 | }, 428 | 'INTINC2': { 429 | 'type': 'integer', 430 | 'x-number-unit': 'Thousands of US Dollars', 431 | 'title': 'INTINC2', 432 | 'description': 'INTINC2' 433 | }, 434 | 'IRAKEOGH': { 435 | 'type': 'integer', 436 | 'x-number-unit': 'Thousands of US Dollars', 437 | 'title': "Memo: IRA's and Keogh Plan-Deposits", 438 | 'description': "Individual Retirement Accounts (Ira'S) and Keogh Plan\nAccounts Held In Domestic Offices\nNote: Listed As Memoranda Only" 439 | }, 440 | 'ISC': { 441 | 'type': 'integer', 442 | 'x-number-unit': 'Thousands of US Dollars', 443 | 'title': 'Int Inc - Investment Securities', 444 | 'description': 'Total Interest and Dividend Income On: U.S. Treasury Securities, U.S. Government Agency and Corporation Obligations, Securities Issued By States and Political\nSubdivision In The U.S., Other Domestic Debt Securities, Foreign Debt Securities, and Equity Securities (Including Investments In Mutual Funds) On A Consolidated Basis\nNote:\n(1) This Item Includes Interest Income On Deposits For Tfr Filers\n(2) Includes Interest Income On Assets Held In Trading Accounts For Tfr Filers For Two Distinct Periods: (A) March 1984 Through December 1989 and (B) June 1996\nAnd Following Quarters.\n(3) For Banks With Foreign Operations, Data For December 1972 Through December 1975 Are Domestic Only' 445 | }, 446 | 'ISERCHG': { 447 | 'type': 'integer', 448 | 'x-number-unit': 'Thousands of US Dollars', 449 | 'title': 'Service Charges on Deposit Accounts', 450 | 'description': 'Represents service charges on deposit accounts in domestic offices such as maintenance fees, activity charges, administrative charges, overdraft charges, and check certification charges' 451 | }, 452 | 'ITAX': { 453 | 'type': 'integer', 454 | 'x-number-unit': 'Thousands of US Dollars', 455 | 'title': 'Applicable Income Taxes', 456 | 'description': 'Represents Federal, state and local taxes on income. It does not include taxes relating to securities transactions or extraordinary items' 457 | }, 458 | 'ITAXR': { 459 | 'type': 'integer', 460 | 'x-number-unit': 'Thousands of US Dollars', 461 | 'title': 'Pre-Tax Net Operating Income', 462 | 'description': 'Pre-Tax Net Operating Income (Represents Net Interest Income plus Total Non-interest Income less Total Non-interest Expense and the Provision for Loan & Lease Losses.)' 463 | }, 464 | 'ITRADE': { 465 | 'type': 'integer', 466 | 'x-number-unit': 'Thousands of US Dollars', 467 | 'title': 'Int Inc - Trading Account Assets', 468 | 'description': 'Interest Income From Assets Held In Trading Accounts On A Consolidated Basis \nNote:\nBeginning March 2017, Reported As An Individual Income Category For Form 031 Filers Only and Is Included As A Component Of Other Interest Income For All Other Report Forms' 469 | }, 470 | 'LIAB': { 471 | 'type': 'integer', 472 | 'x-number-unit': 'Thousands of US Dollars', 473 | 'title': 'Total Liabilities', 474 | 'description': 'Total Liabilities Including Subordinated Notes and Debentures and Limited Life Preferred Stock and Related Surplus On A Consolidated Basis\nNote: Prior To March 2009, This Item Included Noncontrolling (Minority) Interests In Consolidated Subsidiaries For Call Report and Tfr Filers' 475 | }, 476 | 'LIABEQ': { 477 | 'type': 'integer', 478 | 'x-number-unit': 'Thousands of US Dollars', 479 | 'title': 'Total Liabilities and Equity Capital', 480 | 'description': 'Total Liabilities, Limited-Life Preferred Stock, and Equity Capital On A Consolidated Basis Note: For Banks With Foreign Operations Data For March & September Of 1972 Through 1975 Are Reported On A Domestic Basis' 481 | }, 482 | 'liqasstd': { 483 | 'type': 'integer', 484 | 'title': 'Assisted Payouts', 485 | 'description': 'Represents all assisted payouts of FDIC-insured savings institutions that are not in RTC conservatorship.' 486 | }, 487 | 'liqunass': { 488 | 'type': 'integer', 489 | 'title': 'Voluntary Liquidations', 490 | 'description': 'Represents all instances where the owners of a thrift voluntarily surrender their charter with all liabilities including deposits paid down and all assets sold.' 491 | }, 492 | 'LNAG': { 493 | 'type': 'integer', 494 | 'x-number-unit': 'Thousands of US Dollars', 495 | 'title': 'Agricultural Loans', 496 | 'description': 'Loans To Finance Agricultural Production and Other Loans To Farmers On A Consolidated Basis\nNote: For Banks With Foreign Operations, Data For All Periods Form December 1972 Through September 1978 Are Domestic Only' 497 | }, 498 | 'LNALLOTH': { 499 | 'type': 'integer', 500 | 'x-number-unit': 'Thousands of US Dollars', 501 | 'title': 'All Other Loans to Individuals', 502 | 'description': 'All Other Loans (1969-Present -- Represents Federal funds purchased, securities sold under agreements to repurchase, demand notes issued to the US Treasury, mortgage indebtedness, liabilities under capitalized leases and all other liabilities for borrowed money. -- 1934-1968 -- Does not include mortgage indebtedness which is netted against bank premises.)' 503 | }, 504 | 'LNATRES': { 505 | 'type': 'integer', 506 | 'x-number-unit': 'Thousands of US Dollars', 507 | 'title': 'Allowance for Losses Loans and Leases', 508 | 'description': 'Allowance For Loan and Lease Financing Receivable Losses and Allocated Transfer Risk On A Consolidated Basis\nNote:\n(1) From March 2001 To Dec 2002 Allocated Transfer Riskis Netted From Loans & Not Included As Part Of The Reserve\n(2) Additional Detail Can Be Found On Schedule Ri-B\n(3) For Tfr Filers Between March 1984 Through December 1989 Includes Allowance For Mortgage Pool Securities\n(4) For Banks With Foreign Operations, Data For March & September Of 1972 Through 1975 Was Reported On A Domestic Basis' 509 | }, 510 | 'LNAUTO': { 511 | 'type': 'integer', 512 | 'x-number-unit': 'Thousands of US Dollars', 513 | 'title': 'Memo: Loans to Individuals - Auto', 514 | 'description': 'Represents installment loans to purchase private passenger automobiles, both direct loans and purchased paper' 515 | }, 516 | 'LNCI': { 517 | 'type': 'integer', 518 | 'x-number-unit': 'Thousands of US Dollars', 519 | 'title': 'Commercial and Industrial Loans', 520 | 'description': 'Commercial and Industrial Loans On A Consolidated Basis Note: For Banks With Foreign Operations, Data For All Periods From December 1972 Through September 1978 Are Domestic Only' 521 | }, 522 | 'LNCON': { 523 | 'type': 'integer', 524 | 'x-number-unit': 'Thousands of US Dollars', 525 | 'title': 'Total Loans to Individuals', 526 | 'description': 'Loans To Individuals For Household, Family, and Other Personal Expenditures (Consumer Loans) On A Consolidated Basis\nNote:\n(1) For Tfr Filers Includes Revolving Loans Secured By 1-4 Family Dwelling Units From March 1984 Through March 1988\n(1) For Banks With Foreign Operations, Data For All Periods From December 1972 Through September 1978 Are Domestic Only' 527 | }, 528 | 'LNCONOT1': { 529 | 'type': 'integer', 530 | 'x-number-unit': 'Thousands of US Dollars', 531 | 'title': 'Loans to Individuals - Home Improvement', 532 | 'description': 'Installment Loans To Individuals To Repair and Modernize\nResidential Property Held In Domestic Offices' 533 | }, 534 | 'LNCONOTH': { 535 | 'type': 'integer', 536 | 'x-number-unit': 'Thousands of US Dollars', 537 | 'title': 'Loans to Individuals - All Others', 538 | 'description': 'Represents all other loans to individuals for household, family and other personal expenditures. It includes auto loans, both direct and indirect, mobile homes (unless secured by a real estate mortgage), education loans, other installment loans both secured by personal property or unsecured, and single payment loans (time or demand, secured or unsecured)' 539 | }, 540 | 'LNCRCD': { 541 | 'type': 'integer', 542 | 'x-number-unit': 'Thousands of US Dollars', 543 | 'title': 'Loans to Individuals - Credit Card Plans', 544 | 'description': 'Credit Cards Related Plans On A Consolidated Basis\n\nNote:\n(1)Prior To March 2001 Includes Credit Cards Related Plans-Loans To Individuals For Household, Family, and Other Personal Expenditures (Consumer Loans) Includes Check Credit and Other Revolving Credit Plans\n(2) For Tfr Filers Between March 1984 Through March 1988 This Figure Includes Home Equity Loans Based On The Creditworthiness Of The Borrower (T-Sc340)\n(3) For Banks With Foreign Operations, Data For All Periods From December 1972 Through September 1978 Are Domestic Only' 545 | }, 546 | 'LNDEP': { 547 | 'type': 'integer', 548 | 'x-number-unit': 'Thousands of US Dollars', 549 | 'title': 'Loans to Deposit Institutions', 550 | 'description': 'Loans To Depository Institutions On A Consolidated Basis\nNote: For Banks With Foreign Operations, Data For All Periods From December 1972 Through September 1978 Are Domestic Only\nNote:(1) Beginning March 2001 Includes Acceptances Of Other Banks\n(2) Beginning March 2001, Includes Acceptances Of Other Banks For Ibas' 551 | }, 552 | 'LNLS': { 553 | 'type': 'integer', 554 | 'x-number-unit': 'Thousands of US Dollars', 555 | 'title': 'Gross Loans and Leases', 556 | 'description': 'Represents the sum of all components of loans' 557 | }, 558 | 'LNLSGR': { 559 | 'type': 'integer', 560 | 'x-number-unit': 'Thousands of US Dollars', 561 | 'title': 'Total Loans and Leases', 562 | 'description': 'Loans and Lease Financing Receivables, Net Of Unearned Income, On A Consolidated Basis\nNote:\n(1) Additional Detail Can Be Found On Schedule Rc-C\n(2) For Tfr Filers This Item Is Net Of Unamortized Yield Adjustments For Mortgage Pool Securities From March 1984 Through December 1989\n(3) For Banks With Foreign Operations, Data For March & September Of 1972 Through 1975 Was Reported On A Domestic Basis' 563 | }, 564 | 'LNLSNET': { 565 | 'type': 'integer', 566 | 'x-number-unit': 'Thousands of US Dollars', 567 | 'title': 'Net Loans and Leases', 568 | 'description': 'Loans and Lease Financing Receivables, Net Of Unearned Income, Allowance, and Reserve On A Consolidated Basis\nNote:\n(1) For Tfr Filers This Item Is Net Of Valuation Allowances and Unamortized Yield Adjustments For Mortgage Pool Securities From March 1984 Through\n(2) For Banks With Foreign Operations, Data For March & September Of 1972 Through 1975 Are Reported On A Domestic Basis' 569 | }, 570 | 'LNMOBILE': { 571 | 'type': 'integer', 572 | 'x-number-unit': 'Thousands of US Dollars', 573 | 'title': 'Memo: Loans to Individuals - Mobile Homes', 574 | 'description': "Represents loans to individuals to purchase mobile homes. (If the bank's security interest in the loan was represented by a mortgage or deed of trust, the loan should be included in real estate loans)" 575 | }, 576 | 'LNMUNI': { 577 | 'type': 'integer', 578 | 'x-number-unit': 'Thousands of US Dollars', 579 | 'title': 'Loans to States and Politicial Sub-divisions', 580 | 'description': 'Obligations (Other Than Securities and Leases) Of States and Political Subdivisions In The U.S. (Including Nonrated Industrial Development Obligations) On A Consolidated Basis' 581 | }, 582 | 'LNRE': { 583 | 'type': 'integer', 584 | 'x-number-unit': 'Thousands of US Dollars', 585 | 'title': 'Total Real Estate Loans', 586 | 'description': 'Loans Secured By Real Estate On A Consolidated Basis\nNote:\n(1) For Tfr Filers Between March 1984 Through March 1988 This Figure Excludes Home Equity Loans Based On The Creditworthiness Of The Borrower (T-Sc340)\n(2) For Banks With Foreign Operations, Data For All Periods From December 1972 Through September 1978 Are Domestic Only' 587 | }, 588 | 'LNREAG': { 589 | 'type': 'integer', 590 | 'x-number-unit': 'Thousands of US Dollars', 591 | 'title': 'R/E Loan - Farmland', 592 | 'description': 'Represents loans secured by farmland, including improvements, and other land known to be used or usable for agricultural purposes, as evidenced by mortgages or other liens. It includes loans secured by farmland that are guaranteed by the Farmers Home Administration (FHA) or by the Small Business Administration' 593 | }, 594 | 'LNRECONS': { 595 | 'type': 'integer', 596 | 'x-number-unit': 'Thousands of US Dollars', 597 | 'title': 'R/E Loan - Construction & Land Develop', 598 | 'description': 'Construction and Land Development Loans Secured By Real Estate Held In Domestic Offices\nNote: For Tfr Filers Portions Of Lnrecons Were Included In Other Real Estate Loan Categories Prior To March 30, 1986' 599 | }, 600 | 'LNREDOM': { 601 | 'type': 'integer', 602 | 'x-number-unit': 'Thousands of US Dollars', 603 | 'title': 'Total R/E Loans in Domestic Offices', 604 | 'description': 'Represents the total of all loans secured by real estate in domestic offices (U.S. and other areas)' 605 | }, 606 | 'LNREFOR': { 607 | 'type': 'integer', 608 | 'x-number-unit': 'Thousands of US Dollars', 609 | 'title': 'Total R/E Loans in Foreign Offices', 610 | 'description': 'Represents all loans secured by real estate in foreign offices' 611 | }, 612 | 'LNRELOC': { 613 | 'type': 'integer', 614 | 'x-number-unit': 'Thousands of US Dollars', 615 | 'title': 'Memo: Home Equity Loans', 616 | 'description': 'Revolving, Open-End Loans Secured By 1-4 Family Residential Properties and Extended Under Lines Of Credit Held In Domestic Offices' 617 | }, 618 | 'LNREMULT': { 619 | 'type': 'integer', 620 | 'x-number-unit': 'Thousands of US Dollars', 621 | 'title': 'R/E Loans - Multifamily', 622 | 'description': 'Multifamily (5 Or More) Residential Properties Secured By Real Estate Held In Domestic Offices' 623 | }, 624 | 'LNRENRES': { 625 | 'type': 'integer', 626 | 'x-number-unit': 'Thousands of US Dollars', 627 | 'title': 'R/E Loan - Non-farm/Non-residential Prop', 628 | 'description': 'Nonfarm Nonresidential Properties Secured By Real Estate Held In Domestic Offices\nNote: For Tfr Filers This Figure Includes Mortgages On Properties That Are Used For Farming' 629 | }, 630 | 'LNRERES': { 631 | 'type': 'integer', 632 | 'x-number-unit': 'Thousands of US Dollars', 633 | 'title': 'R/E Loan - 1-4 Family', 634 | 'description': 'Total Loans Secured By 1-4 Family Residential Properties Held In Domestic Offices\nNote: For Tfr Filers Between March 1984 Through March 1988 This Figure Excludes Home Equity Loans Based On The Creditworthiness Of The Borrower' 635 | }, 636 | 'LNRESRE': { 637 | 'type': 'integer', 638 | 'x-number-unit': 'Thousands of US Dollars', 639 | 'title': 'Memo: Contra Account', 640 | 'description': 'Allowance For Loan Losses On Real Estate Loans On A Consolidated Basis\nNote: For Tfr Filers Includes Allowance For Mortgage Pool Securities Between March 1984 Through December 1989' 641 | }, 642 | 'LNSP': { 643 | 'type': 'integer', 644 | 'x-number-unit': 'Thousands of US Dollars', 645 | 'title': 'Memo: Loans to Individuals - Single Payment', 646 | 'description': 'All loans both time or demand, secured or unsecured, to individuals for personal, family or other household expenditures' 647 | }, 648 | 'LS': { 649 | 'type': 'integer', 650 | 'x-number-unit': 'Thousands of US Dollars', 651 | 'title': 'Leases', 652 | 'description': 'Lease Financing Receivables (Net Of Unearned Income) On A Consolidated Basis\nNote: For Banks With Foreign Operations, Data For March & September Call Dates Are Domestic Only Through December 1975' 653 | }, 654 | 'MERGERS': { 655 | 'type': 'integer', 656 | 'title': 'Failures: Assisted Merger', 657 | 'description': 'Mergers, consolidations or absorptions entered into as a result of supervisory actions. The transaction may or may not have required FDIC assistance.' 658 | }, 659 | 'MISSADJ': { 660 | 'type': 'integer', 661 | 'title': 'Other Misc. Adjustments', 662 | 'description': 'Represents any FDIC-insured savings institution that did not file a financial report during the year in which the charter was added or deleted.' 663 | }, 664 | 'MTGLS': { 665 | 'type': 'integer', 666 | 'x-number-unit': 'Thousands of US Dollars', 667 | 'title': 'Mortgage and Other Borrowings', 668 | 'description': 'Represents mortgage indebtedness and liabilities under capitalized leases' 669 | }, 670 | 'NALNLS': { 671 | 'type': 'integer', 672 | 'x-number-unit': 'Thousands of US Dollars', 673 | 'title': 'Non-accrual Loans & Leases', 674 | 'description': 'Total Nonaccrual Loans and Lease Financing Receivables On A Consolidated Basis' 675 | }, 676 | 'NCHGREC': { 677 | 'type': 'integer', 678 | 'x-number-unit': 'Thousands of US Dollars', 679 | 'title': 'Net Loans and Leases Charge-offs', 680 | 'description': 'Net Loans and Leases Charge Offs (-- 1984-1989 -- Represents Loan and Lease Charge-offs less Loan and Lease Recoveries. An amount enclosed in paraentheses indicates net recoveries. Not collected by TFR filers. -- 1990-Present -- Represents Loan and Lease Charge-offs less Loan and Lease Recoveries. An amount enclosed in paraentheses indicates net recoveries.)' 681 | }, 682 | 'NCLNLS': { 683 | 'type': 'integer', 684 | 'x-number-unit': 'Thousands of US Dollars', 685 | 'title': 'Total Non-current Loans & Leases', 686 | 'description': 'Total Loans and Lease Financing Receivables 90 Days Or More Past Due and Nonaccrual On A Consolidated Basis\nNote: Includes Delinquent Loans (60 Or More Days Overdue) and Past Due Loans (One Or More Payments Missed) For Tfr Filers Prior To March 1990' 687 | }, 688 | 'NETINC': { 689 | 'type': 'integer', 690 | 'x-number-unit': 'Thousands of US Dollars', 691 | 'title': 'Net Income', 692 | 'description': 'Net Income Attributable To The Bank On A Consolidated Basis\nNote: For Banks With Foreign Operations, Data For December 1972 Through December 1975 Are Domestic Only' 693 | }, 694 | 'newcount': { 695 | 'type': 'integer', 696 | 'title': 'New Charters', 697 | 'description': 'Institutions newly chartered by federal or state banking authorities including authorities in the U. S. Territories or possessions.' 698 | }, 699 | 'New_Char': { 700 | 'type': 'integer', 701 | 'title': 'New Charters', 702 | 'description': 'Institutions newly licensed or chartered by the Office of the Comptroller of the Currency (national banks) or by state banking authorities, including banking authorities in the U. S. territories or possessions. Includes de novo institutions as well as charters issued to take over a failing institution.' 703 | }, 704 | 'NEW6_1': { 705 | 'type': 'integer', 706 | 'x-number-unit': 'Thousands of US Dollars', 707 | 'title': 'Int Exp - Borrowed Money', 708 | 'description': 'Represents interest expense related to demand notes issued to the U. S. Treasury, mortgage indebtedness, obligations under capitalized leases, and other borrowed money' 709 | }, 710 | 'NEW9_1': { 711 | 'type': 'integer', 712 | 'x-number-unit': 'Thousands of US Dollars', 713 | 'title': 'All Other Assets', 714 | 'description': "Represents all other assets not included in previously mentioned captions. Includes, for the most part, customers' liabilities on acceptances outstanding, income earned not collected as well as any other asset not included above" 715 | }, 716 | 'NEW10_1': { 717 | 'type': 'integer', 718 | 'title': 'Corporate Bonds and Other Securities', 719 | 'description': "Represents all securities, bonds, notes and debentures of domestic and foreign corporations. Also includes privately issued or guaranteed mortgage backed securities and certain detached U.S. Government security coupons held as a result of either their purchase or the bank's stripping them (CATS, TIGRs, COUGARs, LIONs and ETRs)." 720 | }, 721 | 'NEW10_2': { 722 | 'type': 'integer', 723 | 'title': 'Trading Account Securities', 724 | 'description': 'Securities within the scope of ASC Topic 320, Investments – Debt Securities, that a bank has elected to report at fair value under a fair value option with changes in fair value reported in current earnings should be classified as trading securities. (https://www.fdic.gov/regulations/resources/call/crinst/2018-06/031-041-618rc-d-063018.pdf)' 725 | }, 726 | 'NEW10_3': { 727 | 'type': 'integer', 728 | 'x-number-unit': 'Thousands of US Dollars', 729 | 'title': 'Memo: Valuation Reserves', 730 | 'description': 'For all years except 1969-1973, investment securities are reflected net of general valuation reserves. Specific reserves are deducted from each security so reserved' 731 | }, 732 | 'NEW11_1': { 733 | 'type': 'integer', 734 | 'x-number-unit': 'Thousands of US Dollars', 735 | 'title': 'All Other Loans', 736 | 'description': "Represents unplanned overdrafts and loans to: brokers and dealers in securities, any borrower for the purpose of purchasing and carrying securities, nonprofit institutions and organizations, individuals for investment purposes, real estate investment trusts, mortgage companies holding companies of depository institutions, insurance companies, finance companies, factors and other financial intermediaries, federally sponsored lending agencies, investment banks, the bank's own trust department, Small Business Investment Companies, foreign governments and official institutions, and any other loan not included in one of the above categories" 737 | }, 738 | 'NEW14_1': { 739 | 'type': 'integer', 740 | 'x-number-unit': 'Thousands of US Dollars', 741 | 'title': 'Borrowed Funds', 742 | 'description': 'Represents Federal funds purchased, securities sold under agreements to repurchase, demand notes issued to the US Treasury, mortgage indebtedness, liabilities under capitalized leases and all other liabilities for borrowed money' 743 | }, 744 | 'NEW14_2': { 745 | 'type': 'integer', 746 | 'x-number-unit': 'Thousands of US Dollars', 747 | 'title': 'Other Liabilities', 748 | 'description': 'Includes all liabilities not included above and limited life preferred stock' 749 | }, 750 | 'NEW14_3': { 751 | 'type': 'integer', 752 | 'x-number-unit': 'Thousands of US Dollars', 753 | 'title': 'Total Liabilities', 754 | 'description': 'Represents the total of all components of liabilities' 755 | }, 756 | 'NEW14_4': { 757 | 'type': 'integer', 758 | 'x-number-unit': 'Thousands of US Dollars', 759 | 'title': 'Undivided Profits', 760 | 'description': 'Represents undivided profits and related accounts' 761 | }, 762 | 'NEW15_1': { 763 | 'type': 'integer', 764 | 'x-number-unit': 'Thousands of US Dollars', 765 | 'title': 'Deposits - Individuals, Partnerships and Corporations', 766 | 'description': 'Represents all deposits of individuals, partnerships and corporations in domestic and foreign offices' 767 | }, 768 | 'NEW15_2': { 769 | 'type': 'integer', 770 | 'x-number-unit': 'Thousands of US Dollars', 771 | 'title': 'Deposits - U.S. Government', 772 | 'description': 'Represents all deposits of individuals, partnerships and corporations in domestic and foreign offices' 773 | }, 774 | 'NEW15_3': { 775 | 'type': 'integer', 776 | 'x-number-unit': 'Thousands of US Dollars', 777 | 'title': 'Deposits - States and Political Subdivisions', 778 | 'description': 'Represents all deposits of states, counties and municipalities in domestic offices. Such deposits, if any, in foreign offices are not separately reported' 779 | }, 780 | 'NEW15_4': { 781 | 'type': 'integer', 782 | 'x-number-unit': 'Thousands of US Dollars', 783 | 'title': 'Deposits - All Other', 784 | 'description': 'Represents all other deposits. Includes deposits of financial institutions, both domestic and foreign, deposits of foreign governments and official institutions and certified and official checks. Also includes deposits in foreign offices other than those of individuals, partnerships and corporations' 785 | }, 786 | 'NEW15_5': { 787 | 'type': 'integer', 788 | 'x-number-unit': 'Thousands of US Dollars', 789 | 'title': 'Deposits - Domestic Savings', 790 | 'description': 'Represents all savings deposits in domestic offices' 791 | }, 792 | 'NEW15_7': { 793 | 'type': 'integer', 794 | 'x-number-unit': 'Thousands of US Dollars', 795 | 'title': 'Total Domestic Deposits', 796 | 'description': 'Total Domestic Deposits' 797 | }, 798 | 'NEW16_1': { 799 | 'type': 'integer', 800 | 'x-number-unit': 'Thousands of US Dollars', 801 | 'title': 'Demand Notes and Other Liabilities', 802 | 'description': 'Represents demand notes issued to the U.S. Treasury (Treasury tax & loan account), and all other borrowings. Includes mortgage indebtedness and liabilities under capitalized leases for Call report filers. Includes FSLIC net worth certificates for TFR filers' 803 | }, 804 | 'NEW16_2': { 805 | 'type': 'integer', 806 | 'x-number-unit': 'Thousands of US Dollars', 807 | 'title': 'Interest Bearing Deposits', 808 | 'description': 'Represents any deposit in domestic and foreign offices on which the banks pays or accrues interest' 809 | }, 810 | 'NIM': { 811 | 'type': 'integer', 812 | 'x-number-unit': 'Thousands of US Dollars', 813 | 'title': 'Net Interest Income', 814 | 'description': 'Net Interest Income (Total Interest Income Minus Total Interest Expense) On A Consolidated Basis\nNote: For Banks With Foreign Operations, Data For December 1972 Through December 1975 Are Domestic Only' 815 | }, 816 | 'NONII': { 817 | 'type': 'integer', 818 | 'x-number-unit': 'Thousands of US Dollars', 819 | 'title': 'Total Non-interest Income', 820 | 'description': 'Total Non-interest Income On A Consolidated Basis\nNote:\n(1) From March 1990 Through March 2009, Excludes Gains (Losses) On Assets Held For Sale For Tfr Filers, See Tfr Instructions For So430\n(2) Excludes Gains On The Sale Of Loans Held For Investments From March 1984 Through December 1989 For Tfr Filers\n(3) For Banks With Foreign Operations, Data For December 1972 Through December 1975 Are Domestic Only' 821 | }, 822 | 'NONIX': { 823 | 'type': 'integer', 824 | 'x-number-unit': 'Thousands of US Dollars', 825 | 'title': 'Total Non-interest Expense', 826 | 'description': 'Total Non-interest Expense On A Consolidated Basis\nNote:\n(1) Excludes Losses On Asset Sales For Tfr Filers Beginning June 1996\n(2) Includes Loss On Sale Of Mortgage Pool and Other Securities Held For Investment For Tfr Filers From March 1984 Through December 1986\n(3) Excludes Losses On Loans Held For Investment For Tfr Filers From March 1987 Through December 1989\n(4) For Banks With Foreign Operations, Data For December 1972 Through December 1975 Are Domestic Only' 827 | }, 828 | 'NTLNLS': { 829 | 'type': 'integer', 830 | 'x-number-unit': 'Thousands of US Dollars', 831 | 'title': 'Net Loan & Lease Charge-offs', 832 | 'description': 'Represents Loan and Lease Charge-offs less Loan and Lease Recoveries. An amount enclosed in parentheses indicates net recoveries. Not collected by TFR filers' 833 | }, 834 | 'NTR': { 835 | 'type': 'integer', 836 | 'x-number-unit': 'Thousands of US Dollars', 837 | 'title': 'Memo: Domestic Deposits Non-Transaction', 838 | 'description': "Represents deposits that are not included in the definition of transaction accounts above or that do not satisfy the criteria necessary to be defined as a transaction account. MMDA's are specifically defined as nontransaction accounts" 839 | }, 840 | 'NTRTIME': { 841 | 'type': 'integer', 842 | 'x-number-unit': 'Thousands of US Dollars', 843 | 'title': 'Deposits - Domestic Time', 844 | 'description': 'Represents all time certificates of deposit, time open accounts and similar deposits in domestic offices' 845 | }, 846 | 'NTRTMLG': { 847 | 'type': 'integer', 848 | 'x-number-unit': 'Thousands of US Dollars', 849 | 'title': 'Memo: Time Deposits (Over $100K)', 850 | 'description': 'Time Deposits Over $100,000 Or More Held In Domestic Offices\nNote:\n(1) Listed As Memoranda Only and Is Included In Total Nontransaction Accounts\n(2) Prior To March 2007, Includes All Deposits (Not Just Time) Greater Than $100,000 For Tfr Filers. Except For December 2006, Includes All Nonretirement Deposits Over\n$100,000 and All Retirement Deposits Over $250,000 For Tfr Filers\n(3) Includes Time Deposits Of $100,000 Or More' 851 | }, 852 | 'NUMEMP': { 853 | 'type': 'integer', 854 | 'x-number-unit': 'Thousands of US Dollars', 855 | 'title': 'Number of Full Time Employees', 856 | 'description': 'Number Of Full Time-Equivalent Employees On Payroll At The End Of The Current Period\nNote:\n(1) Listed As Memoranda Only\n(2) For Banks With Foreign Operations Data For March & September Of 1972 Through 1975 Are Reported On A Domestic Basis' 857 | }, 858 | 'OEA': { 859 | 'type': 'integer', 860 | 'x-number-unit': 'Thousands of US Dollars', 861 | 'title': 'Other Earning Assests', 862 | 'description': 'Other Earning Assests (-- 1984-1989 -- Represents Federal funds sold and securities purchased under agreements to resell (repurchase agreements). Items not separately reported by TFR filers. They are included in Secruties. -- 1990-Present -- Represents Federal funds sold and securities purchased under agreements to resell (repurchase agreements). Includes only Federal funds sold for TFR filers. Repurchase agreements are included in Securities.)' 863 | }, 864 | 'OFFICES': { 865 | 'type': 'integer', 866 | 'title': 'Offices', 867 | 'description': 'Offices include: Multiple service offices, Military facilities, Drive-in facilities, Loan production offices, Consumer credit offices, Seasonal offices, Administrative offices, Messenger service offices, Supermarket banking offices, and Other offices.' 868 | }, 869 | 'OINTBOR': { 870 | 'type': 'integer', 871 | 'x-number-unit': 'Thousands of US Dollars', 872 | 'title': 'Demand Notes and Other Borrowings', 873 | 'description': 'Demand Notes and Other Borrowings (Represents demand notes issued to US Treasury (Treasury tax & loan account), and all other borrowings. Includes mortgage indebtedness and liabilities under capitalized leases for Call report filers. Includes FSLIC net worth certificates for TFR filers.)' 874 | }, 875 | 'OINTEXP': { 876 | 'type': 'integer', 877 | 'x-number-unit': 'Thousands of US Dollars', 878 | 'title': 'Total Other Interest Expenses', 879 | 'description': 'Total Other Interest Expenses (Federal Funds Purchased and Securities Sold -- Represents the gross expense of all liabilities reportable under this category. This item is not reported separately by TFR filers. It is included in Borrowed Money).' 880 | }, 881 | 'OINTINC': { 882 | 'type': 'integer', 883 | 'x-number-unit': 'Thousands of US Dollars', 884 | 'title': 'Int Inc - Total Other', 885 | 'description': 'Total Other Interest Income (Represents the total of all Other Interest Income components).' 886 | }, 887 | 'OONONII': { 888 | 'type': 'integer', 889 | 'x-number-unit': 'Thousands of US Dollars', 890 | 'title': 'Other Non-interest Income', 891 | 'description': 'Other Non Interest Income (1984-1989 -- Same as Total Other Interest Income except gains on the sale of loans held for investment are excluded for TFR filers. -- 1990- Present -- Represents income derived from the sale of assets held for sale; office building operations; real estate held for investment; REO operations; LOCOM adjustments made to assets held for sale; net income (loss) from investements in service corporations/subsidiaries (other than operating or finance subsidiaires); leasing operations; realized and unrealized gains (losses) on trading assets; gains on the sale of REO real estate held for investment, and loans held for investment; and the amoritization of deferred gains (losses) on asset hedges.)' 892 | }, 893 | 'ORE': { 894 | 'type': 'integer', 895 | 'x-number-unit': 'Thousands of US Dollars', 896 | 'title': 'Other Real Estate Owned', 897 | 'description': 'Other Real Estate Owned On A Consolidated Basis\nNote:\n(1) Prior To June 2009, Includes Direct and Indirect Investments In Real Estate\n(2) For Banks With Foreign Operations Data For March & September Of 1972 Through 1975 Was Reported On A Domestic Basis' 898 | }, 899 | 'ORET': { 900 | 'type': 'integer', 901 | 'x-number-unit': 'Thousands of US Dollars', 902 | 'title': 'Other Real Estate', 903 | 'description': 'Other Real Estate (Represents other real estate owned net of reserves for losses). Not available for 1997. For 1986 through 1988 ORET = ORE + INVSUORE; for all other years ORET = ORE' 904 | }, 905 | 'OT_BIF': { 906 | 'type': 'integer', 907 | 'title': 'Non FDIC Supervised BIF Insured Institutions', 908 | 'description': 'Non FDIC supervised BIF insured institutions' 909 | }, 910 | 'OT_SAIF': { 911 | 'type': 'integer', 912 | 'title': 'Non FDIC Supervised SAIF Insured Institutions', 913 | 'description': 'Non FDIC supervised SAIF insured institutions' 914 | }, 915 | 'OTHASST': { 916 | 'type': 'integer', 917 | 'x-number-unit': 'Thousands of US Dollars', 918 | 'title': 'All Other Assets', 919 | 'description': 'All Other Assets (Same as Other Real Estate except that investment in service corporations/subsidiaries is reported gross of valuation allowances by TFR filers, and assets held in trading accounts are included in Securities for TFR filers. -- 1990-Present -- Represents all associations assets not previously mentioned. Includes all non real estate repossessed property, investment in service corporations/subsidiaries, property leased to others, income earned but not yet collected, assets held in the trading accounts, and miscellaneous assets) For 2009- present OTHASST = SUM (INVSUB + INVSUORE + CUSLI + OA)' 920 | }, 921 | 'OTHBFHLB': { 922 | 'type': 'integer', 923 | 'x-number-unit': 'Thousands of US Dollars', 924 | 'title': 'Advances from FHLB', 925 | 'description': 'Other Liabilities From The Fhlb\nNote:Prior To March 2001 Only Reported On Tfrs' 926 | }, 927 | 'OTHBORR': { 928 | 'type': 'integer', 929 | 'x-number-unit': 'Thousands of US Dollars', 930 | 'title': 'Int Exp Oth - Borrowed Money', 931 | 'description': 'Borrowed Money (Represents interest expense related to demand notes issued the US Treasury, mortage indebtedness, obligations under capitalized leases and on other borrowed money.' 932 | }, 933 | 'OTHEQ': { 934 | 'type': 'integer', 935 | 'x-number-unit': 'Thousands of US Dollars', 936 | 'title': 'Other Equity', 937 | 'description': 'Represents all equity securities not held for trading: investment in mutual funds, common stock of FNMA, Student Loan Marketing Association, Federal Home Loan Mortgage Corporation, Federal Reserve Bank stock, Federal Home Loan Bank stock, minority interests not meeting the definition of associated companies, "restricted" stock, and other equity securities in both domestic and foreign corporations\n' 938 | }, 939 | 'OTHER': { 940 | 'type': 'integer', 941 | 'title': 'Other', 942 | 'description': 'Withdrawals from FDIC insurance, voluntary liquidations, or conversions to institutions that are not considered commercial banks. Also includes relocation of banks from one state to another.' 943 | }, 944 | 'OTHLIAB': { 945 | 'type': 'integer', 946 | 'x-number-unit': 'Thousands of US Dollars', 947 | 'title': 'Other Liabilities', 948 | 'description': 'Other Liabilities (Includes all liabilities not included above and limited life preferred stock. 2001- present -- Includes OTHER LIAB & MINOR IN SUBS).' 949 | }, 950 | 'OTHNBORR': { 951 | 'type': 'integer', 952 | 'x-number-unit': 'Thousands of US Dollars', 953 | 'title': 'Borrowed Funds', 954 | 'description': 'Borrowed Funds (Includes federal funds purchased, securities sold under agreements to repurchase (reverse repurchase agreements), demand notes issued to the US Treasury, mortgage indebtedness, liabilities under capitalized leases and all other liabilities for borrowed money. Includes only reverse purchase agreements (securities sold under agreements to repurchase) and FSLIC net worth certificates for TFR filers)' 955 | }, 956 | 'OTLNCNTA': { 957 | 'type': 'integer', 958 | 'x-number-unit': 'Thousands of US Dollars', 959 | 'title': 'Less: Other Contra Accounts', 960 | 'description': 'Other Contracts (Represents amount reported by savings institutions that file on the Thrift Financial Report. Contra accounts include accrued interest receivable, unamortized yield adjustments and valuation allowances. Negative amounts reflect unamortized premiums and deferred direct costs exceeding unamortized discounts and deferred loan fees).' 961 | }, 962 | 'PAID_OFF': { 963 | 'type': 'integer', 964 | 'title': 'Failures: Paid Off', 965 | 'description': 'Institutions that were declared insolvent, the insured deposits of which were paid by the FDIC.' 966 | }, 967 | 'P3LNLS': { 968 | 'type': 'integer', 969 | 'x-number-unit': 'Thousands of US Dollars', 970 | 'title': 'Loans & Leases P/D 30-89 Days', 971 | 'description': 'Total Loans and Lease Financing Receivables Past Due 30 Through 89 Days and Still Accruing Interest On A Consolidated Basis\nNote:\n(1) Prior To March 2001,This Information On An Institution Level Is Considered Confidential By The Ffiec' 972 | }, 973 | 'P9LNLS': { 974 | 'type': 'integer', 975 | 'x-number-unit': 'Thousands of US Dollars', 976 | 'title': 'Loans & Leases P/D 90+ Days', 977 | 'description': 'Total Loans and Lease Financing Receivables Past Due 90 Or More Days and Still Accruing Interest On A Consolidated Basis' 978 | }, 979 | 'PTXNOINC': { 980 | 'type': 'integer', 981 | 'x-number-unit': 'Thousands of US Dollars', 982 | 'title': 'Pre-Tax Net Operating Income', 983 | 'description': 'Pre-Tax Net Operating Income' 984 | }, 985 | 'REL_CO': { 986 | 'type': 'integer', 987 | 'title': 'Conversions', 988 | 'description': 'Conversions of existing institutions of any type that meet the definition of commercial banks (see Definition of Total Commercial Banks and have applied for and received FDIC insurance. Also includes bank relocations from one state to another.' 989 | }, 990 | 'SAVINGS': { 991 | 'type': 'integer', 992 | 'title': 'Total Savings Institutions (Total Insured)', 993 | 'description': 'Total Insured Savings Institutions including institutions that did not file a 12/31 fincncial report and other adjustments (See Notes to User).' 994 | }, 995 | 'SC': { 996 | 'type': 'integer', 997 | 'x-number-unit': 'Thousands of US Dollars', 998 | 'title': 'Total Investment Securities (Book Value)', 999 | 'description': 'Total Securities: The Sum Of Held-To-Maturity Securities At Amortized Cost, Available-For-Sale Securities At Fair Value and Equity Securities With Readily Determinable Fair Values Not Held For Trading On A Consolidated Basis\nNote:\n1. Prior To March 2018, Defined As Total Held-To-Maturity At Amortized Cost and Available-For-Sale At Fair Value Securities (Excludes Assets Held In Trading Accounts) On A Consolidated Basis\n2. Beginning In 2018, Includes Equity Securities For Institutions That Have Adopted Asu2016-01 and Those Institutions That Have Not Yet Adopted This Accounting\nStandard\n3. Prior To March 1994 Item Defined As Book Value\n4. Additional Detail Can Be Found On Schedule Rc-B\n5. For Tfr Filers Between March 1984 Through December 1989 Includes Interest-Earning Deposits In Fhlbs, Other Interest-Earning Deposits, Federal Funds Sold and Assets Held In Trading Accounts\n6. For Banks With Foreign Operations Data For March & September Of 1972 Through 1975 Are Reported On A Domestic Basis' 1000 | }, 1001 | 'SCAGE': { 1002 | 'type': 'integer', 1003 | 'x-number-unit': 'Thousands of US Dollars', 1004 | 'title': 'U.S. Agencies and Corporation Securities', 1005 | 'description': 'Total U.S. Government Agency and Corporation Obligations On A Consolidated Basis\nNote:\n1) From June 2009 Through December 2010, This Item Excluded Other Commercial\nMortgage-Backed Securities\n2) Prior To June 2009, This Item Included Other Commercial Mortgage-Backed Securities\n3) Beginning March 1994 Consists Of Held-To-Maturity At Amortized Cost and Available-For-Sale At Fair Value Securities\n4) Includes The Aforementioned Securities Held In Trading Accounts For Tfr Filers\n5) Includes U.S. Treasury Securities For Tfr Filers Between March 1984 Through December 1989 and After March 1996\n6) Does Not Include Mortgage Derivative Securities For Tfr Filers Between March 1984 Through December 1986\n7) For Banks With Foreign Operations, Data For March & September Of 1973 Through 1975 Are Reported On A Domestic Basis' 1006 | }, 1007 | 'SCEQ': { 1008 | 'type': 'integer', 1009 | 'x-number-unit': 'Thousands of US Dollars', 1010 | 'title': 'Equity Securities', 1011 | 'description': 'Total Equity Securities Available-For-Sale At Fair Value On A Consolidated Basis\nNote:\n(1) Beginning March 2018 Does Not Include Equity Securities For Institutions That Have Adopted Asu 2016-01 See Sceqfv\n(2) Includes The Aforementioned Securities Held In Trading Accounts For Tfr Filers' 1012 | }, 1013 | 'SCMTGBK': { 1014 | 'type': 'integer', 1015 | 'x-number-unit': 'Thousands of US Dollars', 1016 | 'title': 'Memo: Mortgage Backed Securities', 1017 | 'description': 'Mortgage Backed Securities On A Consolidated Basis\nIncludes:\n(1) U.S. Government Agency and Corporation Obligations Issued Or Guaranteed Certificates Of Participation In Pools Of Residential Mortgages,\n(2) U.S. Government Agency and Corporation Obligations Collateralized Mortgage Obligations Issued By Fnma and Fhlmc (Including Remics)\n(3) Other Domestic Debt Securities - Private (I.E., Non-Government-Issued-Or-Guaranteed) Certificates Of Participations In Pools Of Residential Mortgages, and\n(4) Other Domestic Debt Securities - Privately-Issued Collateralized Mortgage Obligations (Including Remics)' 1018 | }, 1019 | 'SCMUNI': { 1020 | 'type': 'integer', 1021 | 'x-number-unit': 'Thousands of US Dollars', 1022 | 'title': 'States and Political Subdivisions Securities', 1023 | 'description': 'Total Securities Issued By States and Political Subdivisions Held-To-Maturity At Amortized Cost and Available-For-Sale At Fair Value On A Consolidated Basis\nNote:\n(1) Prior To March 1994 Item Was Defined As Book Value\n(2) Includes The Aforementioned Securities Held In Trading Accounts For Tfr Filers\n(3) For Banks With Foreign Opeations, Data For March & September Of 1973 Through 1975 Are Reported On A Domestic Basis' 1024 | }, 1025 | 'SCMV': { 1026 | 'type': 'integer', 1027 | 'x-number-unit': 'Thousands of US Dollars', 1028 | 'title': 'Market Values', 1029 | 'description': 'Represents the market (fair) value of all investment securities' 1030 | }, 1031 | 'SCRES': { 1032 | 'type': 'integer', 1033 | 'x-number-unit': 'Thousands of US Dollars', 1034 | 'title': 'Less: Contra Accounts', 1035 | 'description': 'Contra-Assets To Securities (Reserves)\nNote: For Tfr Filers Only' 1036 | }, 1037 | 'SCUS': { 1038 | 'type': 'integer', 1039 | 'x-number-unit': 'Thousands of US Dollars', 1040 | 'title': 'U.S. Treasury & Agency', 1041 | 'description': 'Total U.S. Treasury Securities and U.S. Government Agency and Corporation Obligations On A Consolidated Basis\nNote:\n1) From June 2009 Through December 2010 This Item Excluded Commercial Mortgage Backed Securities\n2) Prior To June 2009, This Item Included Commercial Mortgage Backed Securities\n3) Beginning March 1994 Consists Of Held-To-Maturity At Amortized Cost and Available-For-Sale At Fair Value Securities\n4) Does Not Include Mortgage Derivative Securities From March 1984 Through December 1986 For Tfr Filers\n5) Includes The Aforementioned Securities Held In Trading Accounts For Tfr Filers\n6) For Banks With Foreign Operations Data For March & September Of 1973 Through 1975 Are Reported On A Domestic Basis' 1042 | }, 1043 | 'SCUSA': { 1044 | 'type': 'integer', 1045 | 'x-number-unit': 'Thousands of US Dollars', 1046 | 'title': 'Securities Of Us Agencies', 1047 | 'description': 'Securities Of Us Agencies' 1048 | }, 1049 | 'SCUST': { 1050 | 'type': 'integer', 1051 | 'x-number-unit': 'Thousands of US Dollars', 1052 | 'title': 'U.S. Treasury Securities', 1053 | 'description': 'U.S. Treasury Securities Held-To-Maturity At Amortized Cost and Available-For-Sale At Fair Value On A Consolidated Basis\nNote:\n(1) Beginning June 1996, Tfr Filers No Longer Report U.S. Treasury Securities Separately\n(2) Prior To March 1994 Item Was Defined As Book Value\n(3) Includes The Aforementioned Securities Held In Trading Accounts For Tfr Filers\n(4) For Banks With Foreign Operations, Data For March & September Of 1973 Through 1975 Are Reported On A Domestic Basis' 1054 | }, 1055 | 'STNAME': { 1056 | 'type': 'string', 1057 | 'title': 'Locations', 1058 | 'description': 'Locations', 1059 | 'x-elastic-type': 'keyword' 1060 | }, 1061 | 'STNUM': { 1062 | 'type': 'string', 1063 | 'x-elastic-type': 'keyword', 1064 | 'title': 'State Number', 1065 | 'description': 'State Number' 1066 | }, 1067 | 'SUBLLPF': { 1068 | 'type': 'integer', 1069 | 'x-number-unit': 'Thousands of US Dollars', 1070 | 'title': 'Subordinated Notes', 1071 | 'description': 'Subordinated Notes and Debentures and Limited-Life Preferred Stock and Related Surplus On A Consolidated Basis\nNote: (1) Banks With Foreign Operations Data For March & September Of 1972 Through 1975 Are Reported On A Domesitc Basis' 1072 | }, 1073 | 'SUBND': { 1074 | 'type': 'integer', 1075 | 'x-number-unit': 'Thousands of US Dollars', 1076 | 'title': 'Subordinated Notes/Debentures', 1077 | 'description': 'Represents all notes and debentures subordinated to deposits and all capital notes and debentures' 1078 | }, 1079 | 'TINTINC': { 1080 | 'type': 'integer', 1081 | 'x-number-unit': 'Thousands of US Dollars', 1082 | 'title': 'Int Inc - Total Other', 1083 | 'description': 'Total Other Interest Income (Represents the sum of Other Interest Income - Investment Securities, Trading Account Assets, Federal Funds Sold and Securities Purchased, and Balanaces Due from Depository Institutions)' 1084 | }, 1085 | 'tochrt': { 1086 | 'type': 'integer', 1087 | 'title': 'Charter Transfers to Commercial Banks', 1088 | 'description': 'Represents the charter transfer of existing FDIC-insured savings institutions to an FDIC-insured commercial bank charter.' 1089 | }, 1090 | 'tofail': { 1091 | 'type': 'integer', 1092 | 'title': 'Assisted Mergers with Commercial Banks', 1093 | 'description': 'Represents the absorption of a failing savings institution by a commercial bank with assistance from either the BIF or SAIF.' 1094 | }, 1095 | 'TOINTEXP': { 1096 | 'type': 'integer', 1097 | 'x-number-unit': 'Thousands of US Dollars', 1098 | 'title': 'Int Exp - Total Deposits', 1099 | 'description': 'Total Other Interest Expense (Represents the sum of all components of Other Interest Expense)' 1100 | }, 1101 | 'tomerg': { 1102 | 'type': 'integer', 1103 | 'title': 'Unassisted Mergers with Commercial Banks', 1104 | 'description': 'Represents the absorption of a savings institution charter by a commercial bank without assistance.' 1105 | }, 1106 | 'tortc': { 1107 | 'type': 'integer', 1108 | 'title': 'Failures Transferred to the RTC', 1109 | 'description': 'Represents institutions that were declared failed and placed under RTC conservatorship until a buyer(s) is(are) found or a payout to depositors occurs.' 1110 | }, 1111 | 'TOTAL': { 1112 | 'type': 'integer', 1113 | 'title': 'Total Commercial Banks (Total Insured)', 1114 | 'description': 'Total Insured Commercial Banks including institutions that did not file a 12/31 fincncial report and other adjustments (See Notes to User)' 1115 | }, 1116 | 'TOT_FDIC': { 1117 | 'type': 'integer', 1118 | 'title': 'Total FDIC Supervised Savings Institutions', 1119 | 'description': 'Total FDIC Supervised Savings Institutions' 1120 | }, 1121 | 'TOT_OTS': { 1122 | 'type': 'integer', 1123 | 'title': 'Total Non FDIC Supervised Savings Institutions', 1124 | 'description': 'Total Non FDIC Supervised Savings Institutions' 1125 | }, 1126 | 'TOT_SAVE': { 1127 | 'type': 'integer', 1128 | 'x-special-note': 'State level institution count is currently unavailable.', 1129 | 'title': 'Total Savings Institutions', 1130 | 'description': 'All FDIC Insured Savings Institutions filing a 12/31 financial report' 1131 | }, 1132 | 'TPD': { 1133 | 'type': 'integer', 1134 | 'x-number-unit': 'Thousands of US Dollars', 1135 | 'title': 'Total Loans and Leases Past Due', 1136 | 'description': 'Total Loans and Leases Past Due' 1137 | }, 1138 | 'TRADE': { 1139 | 'type': 'integer', 1140 | 'x-number-unit': 'Thousands of US Dollars', 1141 | 'title': 'Trading Account Assets', 1142 | 'description': 'Assets Held In Trading Accounts On A Consolidated Basis\nNote:\n(1) Effective March 1994 Item Reported On A Gross Basis\n(2) Additional Detail Can Be Found On Schedule Rc-D\n(3) For Banks With Foreign Operations Data For March & September Of 1972 Through 1975 Are Reported On A Domestic Basis,\n(4) For Periods 1972 Through 1983 Includes Only Securities' 1143 | }, 1144 | 'TRADES': { 1145 | 'type': 'integer', 1146 | 'x-number-unit': 'Thousands of US Dollars', 1147 | 'title': 'Less: Trading Accounts', 1148 | 'description': 'Trading Accounts' 1149 | }, 1150 | 'TRN': { 1151 | 'type': 'integer', 1152 | 'x-number-unit': 'Thousands of US Dollars', 1153 | 'title': 'Memo: Domestic Deposits Transaction', 1154 | 'description': "Represents all demand deposits, NOW accounts, ATS accounts, accounts from which payments may be made to third parties by means of an automated teller machine, a remote service unit, or another electronic device, and accounts that permit third party payments through use of checks, drafts, negotiable instruments, or other similar instrument. (MMDA's are specifically excluded from the latter two definitions)" 1155 | }, 1156 | 'UNASSIST': { 1157 | 'type': 'integer', 1158 | 'title': 'Unassisted Mergers', 1159 | 'description': 'Voluntary mergers, consolidations or absorptions of two or more institutions.' 1160 | }, 1161 | 'UNINC': { 1162 | 'type': 'integer', 1163 | 'x-number-unit': 'Thousands of US Dollars', 1164 | 'title': 'Unearned Income', 1165 | 'description': 'Unearned Income On Loans On A Consolidated Basis\nNote: For Banks With Foreign Operations, Data For March 1976 Through September 1978 Are Domestic Only' 1166 | }, 1167 | 'UNIT': { 1168 | 'type': 'integer', 1169 | 'title': 'Unit Banks', 1170 | 'description': 'Unit banks are institutions that are operating only one office at which deposits are received or other banking business is conducted.' 1171 | }, 1172 | 'YEAR': { 1173 | 'type': 'string', 1174 | 'x-elastic-type': 'keyword', 1175 | 'title': 'Year', 1176 | 'description': 'Statistics reported as of end of year.' 1177 | } 1178 | } 1179 | --------------------------------------------------------------------------------