Skip to contents

Returns outstanding amounts for M1, M2, or M3 monetary aggregates in the euro area.

Usage

ecb_money_supply(
  aggregate = c("M3", "M2", "M1"),
  from = NULL,
  to = NULL,
  cache = TRUE
)

Arguments

aggregate

One of "M3" (default), "M2", or "M1".

from

Optional start date.

to

Optional end date.

cache

Logical. Use cached data if available (default TRUE).

Value

A data frame with columns:

date

Date.

value

Numeric. Outstanding amount in millions of euros.

See also

Examples

# \donttest{
op <- options(readecb.cache_dir = tempdir())
ecb_money_supply("M3", from = "2020-01")
#>  Fetching M3 data
#>  Fetching M3 data [478ms]
#> 
#>          date    value
#> 1  2020-01-01 13016224
#> 2  2020-02-01 13107780
#> 3  2020-03-01 13456861
#> 4  2020-04-01 13631127
#> 5  2020-05-01 13841519
#> 6  2020-06-01 13924445
#> 7  2020-07-01 14024135
#> 8  2020-08-01 14040666
#> 9  2020-09-01 14125777
#> 10 2020-10-01 14247282
#> 11 2020-11-01 14370196
#> 12 2020-12-01 14503587
#> 13 2021-01-01 14574411
#> 14 2021-02-01 14634381
#> 15 2021-03-01 14715905
#> 16 2021-04-01 14798782
#> 17 2021-05-01 14908066
#> 18 2021-06-01 14997491
#> 19 2021-07-01 15167682
#> 20 2021-08-01 15208488
#> 21 2021-09-01 15233537
#> 22 2021-10-01 15366335
#> 23 2021-11-01 15449046
#> 24 2021-12-01 15539197
#> 25 2022-01-01 15545888
#> 26 2022-02-01 15584634
#> 27 2022-03-01 15683374
#> 28 2022-04-01 15811638
#> 29 2022-05-01 15856881
#> 30 2022-06-01 15944733
#> 31 2022-07-01 16066634
#> 32 2022-08-01 16136998
#> 33 2022-09-01 16182095
#> 34 2022-10-01 16103120
#> 35 2022-11-01 16154751
#> 36 2022-12-01 16134884
#> 37 2023-01-01 16033372
#> 38 2023-02-01 15998742
#> 39 2023-03-01 16003314
#> 40 2023-04-01 16005658
#> 41 2023-05-01 15989424
#> 42 2023-06-01 15988030
#> 43 2023-07-01 15984629
#> 44 2023-08-01 15945649
#> 45 2023-09-01 16001555
#> 46 2023-10-01 15955888
#> 47 2023-11-01 16020807
#> 48 2023-12-01 16192784
#> 49 2024-01-01 16055468
#> 50 2024-02-01 16051356
#> 51 2024-03-01 16180354
#> 52 2024-04-01 16203722
#> 53 2024-05-01 16232752
#> 54 2024-06-01 16396259
#> 55 2024-07-01 16386371
#> 56 2024-08-01 16480196
#> 57 2024-09-01 16524536
#> 58 2024-10-01 16547792
#> 59 2024-11-01 16739970
#> 60 2024-12-01 16832001
#> 61 2025-01-01 16738909
#> 62 2025-02-01 16765411
#> 63 2025-03-01 16800950
#> 64 2025-04-01 16865993
#> 65 2025-05-01 16930584
#> 66 2025-06-01 16921076
#> 67 2025-07-01 16944949
#> 68 2025-08-01 16950514
#> 69 2025-09-01 16977451
#> 70 2025-10-01 17045714
#> 71 2025-11-01 17243642
#> 72 2025-12-01 17271109
#> 73 2026-01-01 17313083
#> 74 2026-02-01 17309460
#> 75 2026-03-01 17420225
options(op)
# }