knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
| Function | Description | Input | Output | | ------------- |----------------------|----------------------|-------------------| | CreateOpenBankingClient | Creates a client for calling the API | Optional user-defined settings | OpenBankingClient object with query functions |
Create a new client for querying the API
library(openbankeR) openBankingClient <- openbankeR::CreateOpenBankingClient()
bankDetails <- openBankingClient$BankDetails View(bankDetails)
Get a list of banks that report the API
availableBanks <- openBankingClient$GetAvailableBanks() availableBanks
Get a list of instruments reported via the API
availableInstruments <- openBankingClient$GetAvailableInstruments() availableInstruments
Get raw data using the API for a given bank and instrument
bankName <- "HSBC Group" instrument <- "branches" rawData <- openBankingClient$GetRawData( bankName = bankName, instrument = instrument ) View(rawData)
Use the below commands to find additional documentation about the package
??openbankeR ??openbankeR::CreateOpenBankingClient
Raw data provided by the API can be a nested structure and may need to be unnested for some types of analysis.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.