Package: rnbp 0.2.2.9000

rnbp: Wrapper for the National Bank of Poland API

Use the <https://api.nbp.pl/> API through R. Retrieve currency exchange rates and gold prices data published by the National Bank of Poland in form of convenient R objects.

Authors:Ryszard Szymanski [aut, cre]

rnbp_0.2.2.9000.tar.gz
rnbp_0.2.2.9000.zip(r-4.7)rnbp_0.2.2.9000.zip(r-4.6)rnbp_0.2.2.9000.zip(r-4.5)
rnbp_0.2.2.9000.tgz(r-4.6-any)rnbp_0.2.2.9000.tgz(r-4.5-any)
rnbp_0.2.2.9000.tar.gz(r-4.7-any)rnbp_0.2.2.9000.tar.gz(r-4.6-any)
rnbp_0.2.2.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
rnbp/json (API)
NEWS

# Install 'rnbp' in R:
install.packages('rnbp', repos = c('https://szymanskir.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/szymanskir/rnbp/issues

On CRAN:

Conda:

3.70 score 8 scripts 177 downloads 15 exports 8 dependencies

Last updated from:137b560ce9. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK119
source / vignettesOK162
linux-release-x86_64OK127
macos-release-arm64OK193
macos-oldrel-arm64OK228
windows-develOK82
windows-releaseOK66
windows-oldrelOK68
wasm-releaseOK96

Exports:get_current_exchangerateget_current_exchangerate_tableget_current_goldpriceget_exchangerate_fromget_exchangerate_from_intervalget_exchangerate_table_fromget_exchangerate_tables_from_intervalget_goldprice_fromget_goldprice_from_intervalget_last_n_exchangerate_tablesget_last_n_exchangeratesget_last_n_goldpricesget_todays_exchangerateget_todays_exchangerate_tableget_todays_goldprice

Dependencies:askpasscurlhttrjsonlitemimeopensslR6sys

rnbp

Rendered fromrnbp.Rmdusingknitr::rmarkdownon May 31 2026.

Last update: 2025-03-23
Started: 2019-07-22

Readme and manuals

Help Manual

Help pageTopics
Returns the base url for the gold price endpoint..goldprice_base_url
Returns the base url for the rates endpoint..rates_base_url
Sends a request and parses the gold price endpoint response..send_gold_endpoint_request
Sends a request and parses the rates endpoint response..send_rates_endpoint_request
Sends a request and parses the tables endpoint response..send_tables_endpoint_request
Returns the base url for the tables endpoint..tables_base_url
Adds the json formatting option to the passed url request.add_json_format
Adds a path part to the given urladd_path_part
Creates a request with the given path parts. The json format argument is included by default.create_request
Retrieves the current exchange rate for the given currency.get_current_exchangerate
Retrieves the current exchange rate table.get_current_exchangerate_table
Retrieves the current gold price.get_current_goldprice
Retrieves the exchange rate from a specific date.get_exchangerate_from
Retrieves the exchange rates from a specific interval.get_exchangerate_from_interval
Retrieves the exchange rate table from a specific date.get_exchangerate_table_from
Retrieves the exchange rate tables from a specific interval.get_exchangerate_tables_from_interval
Retrieves the gold price from a specific date.get_goldprice_from
Retrieves the gold prices from a specific interval.get_goldprice_from_interval
Retrieves the last n exchange rate tables.get_last_n_exchangerate_tables
Retrieves the last n exchange rates.get_last_n_exchangerates
Retrieves the last n gold prices.get_last_n_goldprices
Retrieves the exchange rate that was published today.get_todays_exchangerate
Retrieves the exchange rate table that was published today.get_todays_exchangerate_table
Retrieves the gold price that was published today.get_todays_goldprice
Checks if an object is a positive integer.is_count
Checks if an object is a date object.is_date
Checks if an object is an integer.is_integer
Checks whether the given object is of the class nbp_api_response.is_nbp_api_response
Returns the base url of the nbp api.nbp_api_base_url