https://github.com/invertedv/fred2ch
St Louis Fred II data to ClickHouse
https://github.com/invertedv/fred2ch
clickhouse-database fred-api
Last synced: 5 months ago
JSON representation
St Louis Fred II data to ClickHouse
- Host: GitHub
- URL: https://github.com/invertedv/fred2ch
- Owner: invertedv
- License: apache-2.0
- Created: 2022-07-03T23:17:18.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-05T16:30:57.000Z (almost 4 years ago)
- Last Synced: 2024-06-21T12:55:10.141Z (almost 2 years ago)
- Topics: clickhouse-database, fred-api
- Language: Go
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
### Command fred2ch
This is a simple command that pulls a single series from the St Louis Federal Reserve database
Fred II then creates and populates a ClickHouse table for it.
Required command line arguments:
-series Fred II series id
-table destination ClickHouse table.
-api Fred II API key
Optional command line arguments:
-host IP of ClickHouse database. Default: 127.0.0.1
-user ClickHouse user. Default: "default"
-password ClickHouse password. Default: ""
The table created has these fields:
seriesId String series ID requested
date Date date of metric value
value Float32 value of metric
All months available for the series are loaded.
Series names are case-insensitive.