Examples
- Download monthly (
M) exchange rates (EXR) of Swiss franc (CHF) from the European Central Bank (ECB)sdmx-dl fetch data ECB EXR M.CHF.EUR.SP00.A
- Same as 1 with saving into a file
sdmx-dl fetch data ECB EXR M.CHF.EUR.SP00.A -o filename.csv
- Same as 1 with saving into a compressed file
sdmx-dl fetch data ECB EXR M.CHF.EUR.SP00.A -o filename.csv.gz -z
- Same as 1 with displaying as human-readable table (PowerShell example)
sdmx-dl fetch data ECB EXR M.CHF.EUR.SP00.A | ConvertFrom-Csv | Select-Object -First 3 | Format-Table
- Same as 1 with displaying as human-readable table (xsv example)
sdmx-dl fetch data ECB EXR M.CHF.EUR.SP00.A | xsv slice -l 3 | xsv table
- Same as 1 with US dollar (
USD) alongside Swiss francsdmx-dl fetch data ECB EXR M.CHF+USD.EUR.SP00.A
- Same as 1 for every available currencies
sdmx-dl fetch data ECB EXR M..EUR.SP00.A
- Download available series in a dataset
sdmx-dl fetch keys ECB EXR .CHF.EUR.SP00.A
- List available datasets from the European Central Bank (
ECB)sdmx-dl list flows ECB
- List dimensions of the exchange rates (
EXR)sdmx-dl list dimensions ECB EXR
- List codes of the frequency dimension (
FREQ)sdmx-dl list codes ECB EXR FREQ