Package: rnbp 0.2.1

rnbp: Wrapper for the National Bank of Poland API

Use the <http://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.1.tar.gz
rnbp_0.2.1.zip(r-4.5)rnbp_0.2.1.zip(r-4.4)rnbp_0.2.1.zip(r-4.3)
rnbp_0.2.1.tgz(r-4.4-any)rnbp_0.2.1.tgz(r-4.3-any)
rnbp_0.2.1.tar.gz(r-4.5-noble)rnbp_0.2.1.tar.gz(r-4.4-noble)
rnbp_0.2.1.tgz(r-4.4-emscripten)rnbp_0.2.1.tgz(r-4.3-emscripten)
rnbp.pdf |rnbp.html
rnbp/json (API)
NEWS

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

Peer review:

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

On CRAN:

3.70 score 4 scripts 158 downloads 15 exports 8 dependencies

Last updated 3 years agofrom:8c036035ca. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 25 2024
R-4.5-winOKOct 25 2024
R-4.5-linuxOKOct 25 2024
R-4.4-winOKOct 25 2024
R-4.4-macOKOct 25 2024
R-4.3-winOKOct 25 2024
R-4.3-macOKOct 25 2024

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 Oct 25 2024.

Last update: 2019-07-22
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