flipsidecrypto⚡️ LQ / FRED LiveQuery Function Guide
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
›
⌄
-- FRED 🤝 Flipside LiveQuery Function Guide
-------------------------------------------------------------------------
-- The FRED LiveQuery integration enables you to retrieve economic data
-- from the FRED websites hosted by the Economic Research Division
-- of the Federal Reserve Bank of St. Louis.
-- -----------------------------------------------------------------
-- 🚨 WARNING 🚨
-- To run these examples you must associate your FRED API Key
-- with your Flipside Account here:
-- https://flipsidecrypto.xyz/livequery/fred
-- ======================================================================
--
-- ⚡️ FRED Functions
-- schema: `fred`
-- function docs: https://fred.stlouisfed.org/docs/api/fred/#API
--
-- ======================================================================
--
-- #️⃣ fred.graphql
-- (https://fred.stlouisfed.org/docs/api/fred/series.html)
--
SELECT
fred.get_series({
'series_id': 'CORESTICKM679SFRBATL',
'file_type': 'json'
}) as resp
--
Run a query to Download Data