Description Usage Arguments Details Value See Also Examples
View source: R/endpoint_tables.R
Retrieves the exchange rate table that was published today.
1 |
table |
specifies which table should be fetched. |
If today's data is not available the API will return a 404 Not found error. In that case the function will return an error with an appropriate message.
nbp_api_response object containing today's exchange rate table.
https://api.nbp.pl/#kursyWalut
Other tables:
get_current_exchangerate_table()
,
get_exchangerate_table_from()
,
get_exchangerate_tables_from_interval()
,
get_last_n_exchangerate_tables()
1 2 3 4 5 6 7 8 | tryCatch({
## Fetch todays A exchange rate table
response <- get_todays_exchangerate_table("A")
## Preview response content
response$content
},
error = function(e) message(e)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.