Expand xts do daily periodicity.

nbp_expand_daily(x, enddate = "today")

Arguments

x

xts object

enddate

last date.

Value

xts

Examples

x = nbp_interest_rates() tail(nbp_expand_daily(x))
#> ref lom dep red #> 2018-06-13 0.015 0.025 0.005 0.0175 #> 2018-06-14 0.015 0.025 0.005 0.0175 #> 2018-06-15 0.015 0.025 0.005 0.0175 #> 2018-06-16 0.015 0.025 0.005 0.0175 #> 2018-06-17 0.015 0.025 0.005 0.0175 #> 2018-06-18 0.015 0.025 0.005 0.0175