Skip to contents

Adds a one-line provenance header above the data frame body. The header summarises the request: number of series (and codes if few), observation count, date range, frequency, and any vintage tag.

Usage

# S3 method for class 'boe_tbl'
print(x, ...)

Arguments

x

A boe_tbl.

...

Passed to the underlying print.data.frame method.

Value

x, invisibly.

Examples

# \donttest{
op <- options(boe.cache_dir = tempdir())
x <- boe_bank_rate(from = "2020-01-01", frequency = "monthly")
#>  Downloading from Bank of England
#>  Downloading from Bank of England [31ms]
#> 
print(x)
#> # BoE [boe_bank_rate]: 1 series [IUMABEDR] · 75 obs · 2020-01-01 to 2026-04-26 · freq=monthly
#>          date rate_pct
#> 1  2020-01-31   0.7500
#> 2  2020-02-29   0.7500
#> 3  2020-03-31   0.3477
#> 4  2020-04-30   0.1000
#> 5  2020-05-31   0.1000
#> 6  2020-06-30   0.1000
#> 7  2020-07-31   0.1000
#> 8  2020-08-31   0.1000
#> 9  2020-09-30   0.1000
#> 10 2020-10-31   0.1000
#> 11 2020-11-30   0.1000
#> 12 2020-12-31   0.1000
#> 13 2021-01-31   0.1000
#> 14 2021-02-28   0.1000
#> 15 2021-03-31   0.1000
#> 16 2021-04-30   0.1000
#> 17 2021-05-31   0.1000
#> 18 2021-06-30   0.1000
#> 19 2021-07-31   0.1000
#> 20 2021-08-31   0.1000
#> 21 2021-09-30   0.1000
#> 22 2021-10-31   0.1000
#> 23 2021-11-30   0.1000
#> 24 2021-12-31   0.1714
#> 25 2022-01-31   0.2500
#> 26 2022-02-28   0.4750
#> 27 2022-03-31   0.6196
#> 28 2022-04-30   0.7500
#> 29 2022-05-31   0.9762
#> 30 2022-06-30   1.1375
#> 31 2022-07-31   1.2500
#> 32 2022-08-31   1.6818
#> 33 2022-09-30   1.9167
#> 34 2022-10-31   2.2500
#> 35 2022-11-30   2.9318
#> 36 2022-12-31   3.2500
#> 37 2023-01-31   3.5000
#> 38 2023-02-28   3.9750
#> 39 2023-03-31   4.0761
#> 40 2023-04-30   4.2500
#> 41 2023-05-31   4.4250
#> 42 2023-06-30   4.6591
#> 43 2023-07-31   5.0000
#> 44 2023-08-31   5.2273
#> 45 2023-09-30   5.2500
#> 46 2023-10-31   5.2500
#> 47 2023-11-30   5.2500
#> 48 2023-12-31   5.2500
#> 49 2024-01-31   5.2500
#> 50 2024-02-29   5.2500
#> 51 2024-03-31   5.2500
#> 52 2024-04-30   5.2500
#> 53 2024-05-31   5.2500
#> 54 2024-06-30   5.2500
#> 55 2024-07-31   5.2500
#> 56 2024-08-31   5.0000
#> 57 2024-09-30   5.0000
#> 58 2024-10-31   5.0000
#> 59 2024-11-30   4.7976
#> 60 2024-12-31   4.7500
#> 61 2025-01-31   4.7500
#> 62 2025-02-28   4.5375
#> 63 2025-03-31   4.5000
#> 64 2025-04-30   4.5000
#> 65 2025-05-31   4.3000
#> 66 2025-06-30   4.2500
#> 67 2025-07-31   4.2500
#> 68 2025-08-31   4.0500
#> 69 2025-09-30   4.0000
#> 70 2025-10-31   4.0000
#> 71 2025-11-30   4.0000
#> 72 2025-12-31   3.9048
#> 73 2026-01-31   3.7500
#> 74 2026-02-28   3.7500
#> 75 2026-03-31   3.7500
options(op)
# }