[Feature] openbb-platform-api: Add column header tooltips and templates.json route. (#7009)

* add header tooltips and templates.json to openbb-platform-api

* linting

* linting

* mock_widgets.json

* must have hit rename all somewhere
This commit is contained in:
Danglewood
2025-01-27 08:14:15 -08:00
committed by GitHub
parent 369c8a60c8
commit dff2e2115b
4 changed files with 157 additions and 117 deletions

View File

@@ -94,3 +94,16 @@ openbb-api --no-build
``` ```
If you would like to construct this file manually for a custom backend configuration, save the file in the path above. If you would like to construct this file manually for a custom backend configuration, save the file in the path above.
### Location of `templates.json`
> ~/OpenBBUserData/workspace_templates.json
The OpenBB Workspace allows you to export the current dashboard layout - when it is a custom backend - as a template.
To export the layout, right-click on the dashboard and select, "Export Template".
A JSON dictionary will be exported. Insert the contents of the export into "~/OpenBBUserData/workspace_templates.json" by pasting between the JSON list markers, [ ].
If there is more than one, add a comma to the closing curly brace, }.

View File

@@ -74,6 +74,33 @@ current_settings = get_user_settings(login, CURRENT_USER_SETTINGS, USER_SETTINGS
widgets_json = get_widgets_json(build, openapi, widget_exclude_filter) widgets_json = get_widgets_json(build, openapi, widget_exclude_filter)
# A template file will be served from the OpenBBUserDataDirectory, if it exists.
# If it doesn't exist, an empty list will be returned, and an empty file will be created.
TEMPLATES_PATH = (
current_settings["preferences"].get("data_directory", HOME + "/OpenBBUserData")
+ "/workspace_templates.json"
)
# If a custom implementation, you might want to override.
@app.get("/templates.json")
def get_templates():
"""Get the templates.json file."""
if os.path.exists(TEMPLATES_PATH):
with open(TEMPLATES_PATH) as templates_file:
templates = json.load(templates_file)
if isinstance(templates, list):
return JSONResponse(content=templates)
if isinstance(templates, dict):
return JSONResponse(content=[templates])
else:
with open(TEMPLATES_PATH, "w", encoding="utf-8") as templates_file:
json.dump([], templates_file)
return JSONResponse(content=[])
@app.get("/") @app.get("/")
async def get_root(): async def get_root():

View File

@@ -474,7 +474,7 @@ def data_schema_to_columns_defs(openapi_json, operation_id, provider):
for word in header_name.split(" ") for word in header_name.split(" ")
] ]
) )
column_def["description"] = prop.get( column_def["headerTooltip"] = prop.get(
"description", prop.get("title", key.title()) "description", prop.get("title", key.title())
) )
column_def["cellDataType"] = cell_data_type column_def["cellDataType"] = cell_data_type

View File

@@ -139,7 +139,7 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Date", "headerName": "Date",
"description": "The date of the data.", "headerTooltip": "The date of the data.",
"cellDataType": "date", "cellDataType": "date",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -148,14 +148,14 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Symbol", "headerName": "Symbol",
"description": "Symbol representing the entity requested in the data.", "headerTooltip": "Symbol representing the entity requested in the data.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
{ {
"field": "value", "field": "value",
"headerName": "Value", "headerName": "Value",
"description": "Survey value.", "headerTooltip": "Survey value.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
@@ -164,7 +164,7 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Title", "headerName": "Title",
"description": "Survey title.", "headerTooltip": "Survey title.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
} }
@@ -307,14 +307,14 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Date", "headerName": "Date",
"description": "The date of the data.", "headerTooltip": "The date of the data.",
"cellDataType": "date", "cellDataType": "date",
"chartDataType": "category" "chartDataType": "category"
}, },
{ {
"field": "consumer_sentiment", "field": "consumer_sentiment",
"headerName": "Consumer Sentiment", "headerName": "Consumer Sentiment",
"description": "Index of the results of the University of Michigan's monthly Survey of Consumers, which is used to estimate future spending and saving. (1966:Q1=100).", "headerTooltip": "Index of the results of the University of Michigan's monthly Survey of Consumers, which is used to estimate future spending and saving. (1966:Q1=100).",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
@@ -322,7 +322,7 @@
"field": "inflation_expectation", "field": "inflation_expectation",
"formatterFn": "normalizedPercent", "formatterFn": "normalizedPercent",
"headerName": "Inflation Expectation", "headerName": "Inflation Expectation",
"description": "Median expected price change next 12 months, Surveys of Consumers.", "headerTooltip": "Median expected price change next 12 months, Surveys of Consumers.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series", "chartDataType": "series",
"renderFn": "greenRed" "renderFn": "greenRed"
@@ -466,70 +466,70 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Date", "headerName": "Date",
"description": "The date of the data.", "headerTooltip": "The date of the data.",
"cellDataType": "date", "cellDataType": "date",
"chartDataType": "category" "chartDataType": "category"
}, },
{ {
"field": "activity_index", "field": "activity_index",
"headerName": "Activity Index", "headerName": "Activity Index",
"description": "Activity Index.", "headerTooltip": "Activity Index.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
{ {
"field": "one_year_outlook", "field": "one_year_outlook",
"headerName": "One Year Outlook", "headerName": "One Year Outlook",
"description": "One Year Outlook Index.", "headerTooltip": "One Year Outlook Index.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
{ {
"field": "manufacturing_activity", "field": "manufacturing_activity",
"headerName": "Manufacturing Activity", "headerName": "Manufacturing Activity",
"description": "Manufacturing Activity Index.", "headerTooltip": "Manufacturing Activity Index.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
{ {
"field": "non_manufacturing_activity", "field": "non_manufacturing_activity",
"headerName": "Non Manufacturing Activity", "headerName": "Non Manufacturing Activity",
"description": "Non-Manufacturing Activity Index.", "headerTooltip": "Non-Manufacturing Activity Index.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
{ {
"field": "capital_expenditures_expectations", "field": "capital_expenditures_expectations",
"headerName": "Capital Expenditures Expectations", "headerName": "Capital Expenditures Expectations",
"description": "Capital Expenditures Expectations Index.", "headerTooltip": "Capital Expenditures Expectations Index.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
{ {
"field": "hiring_expectations", "field": "hiring_expectations",
"headerName": "Hiring Expectations", "headerName": "Hiring Expectations",
"description": "Hiring Expectations Index.", "headerTooltip": "Hiring Expectations Index.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
{ {
"field": "current_hiring", "field": "current_hiring",
"headerName": "Current Hiring", "headerName": "Current Hiring",
"description": "Current Hiring Index.", "headerTooltip": "Current Hiring Index.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
{ {
"field": "labor_costs", "field": "labor_costs",
"headerName": "Labor Costs", "headerName": "Labor Costs",
"description": "Labor Costs Index.", "headerTooltip": "Labor Costs Index.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
{ {
"field": "non_labor_costs", "field": "non_labor_costs",
"headerName": "Non Labor Costs", "headerName": "Non Labor Costs",
"description": "Non-Labor Costs Index.", "headerTooltip": "Non-Labor Costs Index.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
} }
@@ -740,7 +740,7 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Date", "headerName": "Date",
"description": "The date of the data.", "headerTooltip": "The date of the data.",
"cellDataType": "date", "cellDataType": "date",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -748,14 +748,14 @@
"field": "topic", "field": "topic",
"formatterFn": null, "formatterFn": null,
"headerName": "Topic", "headerName": "Topic",
"description": "Topic of the survey response.", "headerTooltip": "Topic of the survey response.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
{ {
"field": "diffusion_index", "field": "diffusion_index",
"headerName": "Diffusion Index", "headerName": "Diffusion Index",
"description": "Diffusion Index.", "headerTooltip": "Diffusion Index.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
@@ -763,7 +763,7 @@
"field": "percent_reporting_increase", "field": "percent_reporting_increase",
"formatterFn": "normalizedPercent", "formatterFn": "normalizedPercent",
"headerName": "Percent Reporting Increase", "headerName": "Percent Reporting Increase",
"description": "Percent of respondents reporting an increase over the last month.", "headerTooltip": "Percent of respondents reporting an increase over the last month.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series", "chartDataType": "series",
"renderFn": "greenRed" "renderFn": "greenRed"
@@ -772,7 +772,7 @@
"field": "percent_reporting_decrease", "field": "percent_reporting_decrease",
"formatterFn": "normalizedPercent", "formatterFn": "normalizedPercent",
"headerName": "Percent Reporting Decrease", "headerName": "Percent Reporting Decrease",
"description": "Percent of respondents reporting a decrease over the last month.", "headerTooltip": "Percent of respondents reporting a decrease over the last month.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series", "chartDataType": "series",
"renderFn": "greenRed" "renderFn": "greenRed"
@@ -781,7 +781,7 @@
"field": "percent_reporting_no_change", "field": "percent_reporting_no_change",
"formatterFn": "normalizedPercent", "formatterFn": "normalizedPercent",
"headerName": "Percent Reporting No Change", "headerName": "Percent Reporting No Change",
"description": "Percent of respondents reporting no change over the last month.", "headerTooltip": "Percent of respondents reporting no change over the last month.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series", "chartDataType": "series",
"renderFn": "greenRed" "renderFn": "greenRed"
@@ -911,7 +911,7 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Date", "headerName": "Date",
"description": "The date of the data.", "headerTooltip": "The date of the data.",
"cellDataType": "date", "cellDataType": "date",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -920,14 +920,14 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Symbol", "headerName": "Symbol",
"description": "Symbol representing the entity requested in the data.", "headerTooltip": "Symbol representing the entity requested in the data.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
{ {
"field": "value", "field": "value",
"headerName": "Value", "headerName": "Value",
"description": "", "headerTooltip": "",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
@@ -936,7 +936,7 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Name", "headerName": "Name",
"description": "The name of the series.", "headerTooltip": "The name of the series.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -944,7 +944,7 @@
"field": "element_id", "field": "element_id",
"formatterFn": null, "formatterFn": null,
"headerName": "Element ID", "headerName": "Element ID",
"description": "The element id in the parent/child relationship.", "headerTooltip": "The element id in the parent/child relationship.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -952,7 +952,7 @@
"field": "parent_id", "field": "parent_id",
"formatterFn": null, "formatterFn": null,
"headerName": "Parent ID", "headerName": "Parent ID",
"description": "The parent id in the parent/child relationship.", "headerTooltip": "The parent id in the parent/child relationship.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -960,14 +960,14 @@
"field": "children", "field": "children",
"formatterFn": null, "formatterFn": null,
"headerName": "Children", "headerName": "Children",
"description": "The element_id of each child, as a comma-separated string.", "headerTooltip": "The element_id of each child, as a comma-separated string.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
{ {
"field": "level", "field": "level",
"headerName": "Level", "headerName": "Level",
"description": "The indentation level of the element.", "headerTooltip": "The indentation level of the element.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
} }
@@ -1288,7 +1288,7 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Date", "headerName": "Date",
"description": "The date of the data.", "headerTooltip": "The date of the data.",
"cellDataType": "date", "cellDataType": "date",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -1296,14 +1296,14 @@
"field": "country", "field": "country",
"formatterFn": null, "formatterFn": null,
"headerName": "Country", "headerName": "Country",
"description": "Country", "headerTooltip": "Country",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
{ {
"field": "value", "field": "value",
"headerName": "Value", "headerName": "Value",
"description": "CPI index value or period change.", "headerTooltip": "CPI index value or period change.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
} }
@@ -1562,7 +1562,7 @@
"field": "period", "field": "period",
"formatterFn": null, "formatterFn": null,
"headerName": "Period", "headerName": "Period",
"description": "The date representing the beginning of the reporting period.", "headerTooltip": "The date representing the beginning of the reporting period.",
"cellDataType": "date", "cellDataType": "date",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -1570,7 +1570,7 @@
"field": "balance_percent_of_gdp", "field": "balance_percent_of_gdp",
"formatterFn": "normalizedPercent", "formatterFn": "normalizedPercent",
"headerName": "Balance Percent Of GDP", "headerName": "Balance Percent Of GDP",
"description": "Current Account Balance as Percent of GDP", "headerTooltip": "Current Account Balance as Percent of GDP",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series", "chartDataType": "series",
"renderFn": "greenRed" "renderFn": "greenRed"
@@ -1578,35 +1578,35 @@
{ {
"field": "balance_total", "field": "balance_total",
"headerName": "Balance Total", "headerName": "Balance Total",
"description": "Current Account Total Balance (USD)", "headerTooltip": "Current Account Total Balance (USD)",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
{ {
"field": "balance_total_services", "field": "balance_total_services",
"headerName": "Balance Total Services", "headerName": "Balance Total Services",
"description": "Current Account Total Services Balance (USD)", "headerTooltip": "Current Account Total Services Balance (USD)",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
{ {
"field": "balance_total_secondary_income", "field": "balance_total_secondary_income",
"headerName": "Balance Total Secondary Income", "headerName": "Balance Total Secondary Income",
"description": "Current Account Total Secondary Income Balance (USD)", "headerTooltip": "Current Account Total Secondary Income Balance (USD)",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
{ {
"field": "balance_total_goods", "field": "balance_total_goods",
"headerName": "Balance Total Goods", "headerName": "Balance Total Goods",
"description": "Current Account Total Goods Balance (USD)", "headerTooltip": "Current Account Total Goods Balance (USD)",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
{ {
"field": "balance_total_primary_income", "field": "balance_total_primary_income",
"headerName": "Balance Total Primary Income", "headerName": "Balance Total Primary Income",
"description": "Current Account Total Primary Income Balance (USD)", "headerTooltip": "Current Account Total Primary Income Balance (USD)",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
@@ -1614,7 +1614,7 @@
"field": "credits_services_percent_of_goods_and_services", "field": "credits_services_percent_of_goods_and_services",
"formatterFn": "normalizedPercent", "formatterFn": "normalizedPercent",
"headerName": "Credits Services Percent Of Goods And Services", "headerName": "Credits Services Percent Of Goods And Services",
"description": "Current Account Credits Services as Percent of Goods and Services", "headerTooltip": "Current Account Credits Services as Percent of Goods and Services",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series", "chartDataType": "series",
"renderFn": "greenRed" "renderFn": "greenRed"
@@ -1623,7 +1623,7 @@
"field": "credits_services_percent_of_current_account", "field": "credits_services_percent_of_current_account",
"formatterFn": "normalizedPercent", "formatterFn": "normalizedPercent",
"headerName": "Credits Services Percent Of Current Account", "headerName": "Credits Services Percent Of Current Account",
"description": "Current Account Credits Services as Percent of Current Account", "headerTooltip": "Current Account Credits Services as Percent of Current Account",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series", "chartDataType": "series",
"renderFn": "greenRed" "renderFn": "greenRed"
@@ -1631,35 +1631,35 @@
{ {
"field": "credits_total_services", "field": "credits_total_services",
"headerName": "Credits Total Services", "headerName": "Credits Total Services",
"description": "Current Account Credits Total Services (USD)", "headerTooltip": "Current Account Credits Total Services (USD)",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
{ {
"field": "credits_total_goods", "field": "credits_total_goods",
"headerName": "Credits Total Goods", "headerName": "Credits Total Goods",
"description": "Current Account Credits Total Goods (USD)", "headerTooltip": "Current Account Credits Total Goods (USD)",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
{ {
"field": "credits_total_primary_income", "field": "credits_total_primary_income",
"headerName": "Credits Total Primary Income", "headerName": "Credits Total Primary Income",
"description": "Current Account Credits Total Primary Income (USD)", "headerTooltip": "Current Account Credits Total Primary Income (USD)",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
{ {
"field": "credits_total_secondary_income", "field": "credits_total_secondary_income",
"headerName": "Credits Total Secondary Income", "headerName": "Credits Total Secondary Income",
"description": "Current Account Credits Total Secondary Income (USD)", "headerTooltip": "Current Account Credits Total Secondary Income (USD)",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
{ {
"field": "credits_total", "field": "credits_total",
"headerName": "Credits Total", "headerName": "Credits Total",
"description": "Current Account Credits Total (USD)", "headerTooltip": "Current Account Credits Total (USD)",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
@@ -1667,7 +1667,7 @@
"field": "debits_services_percent_of_goods_and_services", "field": "debits_services_percent_of_goods_and_services",
"formatterFn": "normalizedPercent", "formatterFn": "normalizedPercent",
"headerName": "Debits Services Percent Of Goods And Services", "headerName": "Debits Services Percent Of Goods And Services",
"description": "Current Account Debits Services as Percent of Goods and Services", "headerTooltip": "Current Account Debits Services as Percent of Goods and Services",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series", "chartDataType": "series",
"renderFn": "greenRed" "renderFn": "greenRed"
@@ -1676,7 +1676,7 @@
"field": "debits_services_percent_of_current_account", "field": "debits_services_percent_of_current_account",
"formatterFn": "normalizedPercent", "formatterFn": "normalizedPercent",
"headerName": "Debits Services Percent Of Current Account", "headerName": "Debits Services Percent Of Current Account",
"description": "Current Account Debits Services as Percent of Current Account", "headerTooltip": "Current Account Debits Services as Percent of Current Account",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series", "chartDataType": "series",
"renderFn": "greenRed" "renderFn": "greenRed"
@@ -1684,35 +1684,35 @@
{ {
"field": "debits_total_services", "field": "debits_total_services",
"headerName": "Debits Total Services", "headerName": "Debits Total Services",
"description": "Current Account Debits Total Services (USD)", "headerTooltip": "Current Account Debits Total Services (USD)",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
{ {
"field": "debits_total_goods", "field": "debits_total_goods",
"headerName": "Debits Total Goods", "headerName": "Debits Total Goods",
"description": "Current Account Debits Total Goods (USD)", "headerTooltip": "Current Account Debits Total Goods (USD)",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
{ {
"field": "debits_total_primary_income", "field": "debits_total_primary_income",
"headerName": "Debits Total Primary Income", "headerName": "Debits Total Primary Income",
"description": "Current Account Debits Total Primary Income (USD)", "headerTooltip": "Current Account Debits Total Primary Income (USD)",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
{ {
"field": "debits_total", "field": "debits_total",
"headerName": "Debits Total", "headerName": "Debits Total",
"description": "Current Account Debits Total (USD)", "headerTooltip": "Current Account Debits Total (USD)",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
{ {
"field": "debits_total_secondary_income", "field": "debits_total_secondary_income",
"headerName": "Debits Total Secondary Income", "headerName": "Debits Total Secondary Income",
"description": "Current Account Debits Total Secondary Income (USD)", "headerTooltip": "Current Account Debits Total Secondary Income (USD)",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
} }
@@ -1851,7 +1851,7 @@
{ {
"field": "release_id", "field": "release_id",
"headerName": "Release ID", "headerName": "Release ID",
"description": "The release ID for queries.", "headerTooltip": "The release ID for queries.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
@@ -1860,7 +1860,7 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Series ID", "headerName": "Series ID",
"description": "The series ID for the item in the release.", "headerTooltip": "The series ID for the item in the release.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -1869,7 +1869,7 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Name", "headerName": "Name",
"description": "The name of the release.", "headerTooltip": "The name of the release.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -1878,7 +1878,7 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Title", "headerName": "Title",
"description": "The title of the series.", "headerTooltip": "The title of the series.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -1886,7 +1886,7 @@
"field": "observation_start", "field": "observation_start",
"formatterFn": null, "formatterFn": null,
"headerName": "Observation Start", "headerName": "Observation Start",
"description": "The date of the first observation in the series.", "headerTooltip": "The date of the first observation in the series.",
"cellDataType": "date", "cellDataType": "date",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -1894,7 +1894,7 @@
"field": "observation_end", "field": "observation_end",
"formatterFn": null, "formatterFn": null,
"headerName": "Observation End", "headerName": "Observation End",
"description": "The date of the last observation in the series.", "headerTooltip": "The date of the last observation in the series.",
"cellDataType": "date", "cellDataType": "date",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -1902,7 +1902,7 @@
"field": "frequency", "field": "frequency",
"formatterFn": null, "formatterFn": null,
"headerName": "Frequency", "headerName": "Frequency",
"description": "The frequency of the data.", "headerTooltip": "The frequency of the data.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -1910,7 +1910,7 @@
"field": "frequency_short", "field": "frequency_short",
"formatterFn": null, "formatterFn": null,
"headerName": "Frequency Short", "headerName": "Frequency Short",
"description": "Short form of the data frequency.", "headerTooltip": "Short form of the data frequency.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -1918,7 +1918,7 @@
"field": "units", "field": "units",
"formatterFn": null, "formatterFn": null,
"headerName": "Units", "headerName": "Units",
"description": "The units of the data.", "headerTooltip": "The units of the data.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -1926,7 +1926,7 @@
"field": "units_short", "field": "units_short",
"formatterFn": null, "formatterFn": null,
"headerName": "Units Short", "headerName": "Units Short",
"description": "Short form of the data units.", "headerTooltip": "Short form of the data units.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -1934,7 +1934,7 @@
"field": "seasonal_adjustment", "field": "seasonal_adjustment",
"formatterFn": null, "formatterFn": null,
"headerName": "Seasonal Adjustment", "headerName": "Seasonal Adjustment",
"description": "The seasonal adjustment of the data.", "headerTooltip": "The seasonal adjustment of the data.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -1942,7 +1942,7 @@
"field": "seasonal_adjustment_short", "field": "seasonal_adjustment_short",
"formatterFn": null, "formatterFn": null,
"headerName": "Seasonal Adjustment Short", "headerName": "Seasonal Adjustment Short",
"description": "Short form of the data seasonal adjustment.", "headerTooltip": "Short form of the data seasonal adjustment.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -1950,7 +1950,7 @@
"field": "last_updated", "field": "last_updated",
"formatterFn": null, "formatterFn": null,
"headerName": "Last Updated", "headerName": "Last Updated",
"description": "The datetime of the last update to the data.", "headerTooltip": "The datetime of the last update to the data.",
"cellDataType": "date", "cellDataType": "date",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -1958,7 +1958,7 @@
"field": "notes", "field": "notes",
"formatterFn": null, "formatterFn": null,
"headerName": "Notes", "headerName": "Notes",
"description": "Description of the release.", "headerTooltip": "Description of the release.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -1966,7 +1966,7 @@
"field": "press_release", "field": "press_release",
"formatterFn": null, "formatterFn": null,
"headerName": "Press Release", "headerName": "Press Release",
"description": "If the release is a press release.", "headerTooltip": "If the release is a press release.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -1974,21 +1974,21 @@
"field": "url", "field": "url",
"formatterFn": null, "formatterFn": null,
"headerName": "Url", "headerName": "Url",
"description": "URL to the release.", "headerTooltip": "URL to the release.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
{ {
"field": "popularity", "field": "popularity",
"headerName": "Popularity", "headerName": "Popularity",
"description": "Popularity of the series", "headerTooltip": "Popularity of the series",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
{ {
"field": "group_popularity", "field": "group_popularity",
"headerName": "Group Popularity", "headerName": "Group Popularity",
"description": "Group popularity of the release", "headerTooltip": "Group popularity of the release",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
@@ -1996,14 +1996,14 @@
"field": "region_type", "field": "region_type",
"formatterFn": null, "formatterFn": null,
"headerName": "Region Type", "headerName": "Region Type",
"description": "The region type of the series.", "headerTooltip": "The region type of the series.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
{ {
"field": "series_group", "field": "series_group",
"headerName": "Series Group", "headerName": "Series Group",
"description": "The series group ID of the series. This value is used to query for regional data.", "headerTooltip": "The series group ID of the series. This value is used to query for regional data.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
} }
@@ -2211,7 +2211,7 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Date", "headerName": "Date",
"description": "The date of the data.", "headerTooltip": "The date of the data.",
"cellDataType": "date", "cellDataType": "date",
"chartDataType": "category" "chartDataType": "category"
} }
@@ -2428,7 +2428,7 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Date", "headerName": "Date",
"description": "The date of the data.", "headerTooltip": "The date of the data.",
"cellDataType": "date", "cellDataType": "date",
"chartDataType": "category" "chartDataType": "category"
} }
@@ -2494,14 +2494,14 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Date", "headerName": "Date",
"description": "The date of the data.", "headerTooltip": "The date of the data.",
"cellDataType": "date", "cellDataType": "date",
"chartDataType": "category" "chartDataType": "category"
}, },
{ {
"field": "level", "field": "level",
"headerName": "Level", "headerName": "Level",
"description": "The indentation level of the element.", "headerTooltip": "The indentation level of the element.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
@@ -2509,14 +2509,14 @@
"field": "element_type", "field": "element_type",
"formatterFn": null, "formatterFn": null,
"headerName": "Element Type", "headerName": "Element Type",
"description": "The type of the element.", "headerTooltip": "The type of the element.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
{ {
"field": "line", "field": "line",
"headerName": "Line", "headerName": "Line",
"description": "The line number of the element.", "headerTooltip": "The line number of the element.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
@@ -2524,7 +2524,7 @@
"field": "element_id", "field": "element_id",
"formatterFn": null, "formatterFn": null,
"headerName": "Element ID", "headerName": "Element ID",
"description": "The element id in the parent/child relationship.", "headerTooltip": "The element id in the parent/child relationship.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -2532,7 +2532,7 @@
"field": "parent_id", "field": "parent_id",
"formatterFn": null, "formatterFn": null,
"headerName": "Parent ID", "headerName": "Parent ID",
"description": "The parent id in the parent/child relationship.", "headerTooltip": "The parent id in the parent/child relationship.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -2540,7 +2540,7 @@
"field": "children", "field": "children",
"formatterFn": null, "formatterFn": null,
"headerName": "Children", "headerName": "Children",
"description": "The element_id of each child, as a comma-separated string.", "headerTooltip": "The element_id of each child, as a comma-separated string.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -2549,7 +2549,7 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Symbol", "headerName": "Symbol",
"description": "Symbol representing the entity requested in the data.", "headerTooltip": "Symbol representing the entity requested in the data.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -2558,14 +2558,14 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Name", "headerName": "Name",
"description": "The name of the series.", "headerTooltip": "The name of the series.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
{ {
"field": "value", "field": "value",
"headerName": "Value", "headerName": "Value",
"description": "The reported value of the series.", "headerTooltip": "The reported value of the series.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
} }
@@ -2855,7 +2855,7 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Date", "headerName": "Date",
"description": "The date of the data.", "headerTooltip": "The date of the data.",
"cellDataType": "date", "cellDataType": "date",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -2863,21 +2863,21 @@
"field": "region", "field": "region",
"formatterFn": null, "formatterFn": null,
"headerName": "Region", "headerName": "Region",
"description": "The name of the region.", "headerTooltip": "The name of the region.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
{ {
"field": "code", "field": "code",
"headerName": "Code", "headerName": "Code",
"description": "The code of the region.", "headerTooltip": "The code of the region.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
{ {
"field": "value", "field": "value",
"headerName": "Value", "headerName": "Value",
"description": "The obersvation value. The units are defined in the search results by series ID.", "headerTooltip": "The obersvation value. The units are defined in the search results by series ID.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
@@ -2886,7 +2886,7 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Series ID", "headerName": "Series ID",
"description": "The individual series ID for the region.", "headerTooltip": "The individual series ID for the region.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
} }
@@ -3057,7 +3057,7 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Date", "headerName": "Date",
"description": "The date of the data.", "headerTooltip": "The date of the data.",
"cellDataType": "date", "cellDataType": "date",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -3066,7 +3066,7 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Symbol", "headerName": "Symbol",
"description": "Symbol representing the entity requested in the data.", "headerTooltip": "Symbol representing the entity requested in the data.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -3074,7 +3074,7 @@
"field": "country", "field": "country",
"formatterFn": null, "formatterFn": null,
"headerName": "Country", "headerName": "Country",
"description": "", "headerTooltip": "",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -3082,14 +3082,14 @@
"field": "description", "field": "description",
"formatterFn": null, "formatterFn": null,
"headerName": "Description", "headerName": "Description",
"description": "Description of the item.", "headerTooltip": "Description of the item.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
{ {
"field": "value", "field": "value",
"headerName": "Value", "headerName": "Value",
"description": "Price, or change in price, per unit.", "headerTooltip": "Price, or change in price, per unit.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
} }
@@ -3181,7 +3181,7 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Date", "headerName": "Date",
"description": "The date of the data.", "headerTooltip": "The date of the data.",
"cellDataType": "date", "cellDataType": "date",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -3190,14 +3190,14 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Symbol", "headerName": "Symbol",
"description": "Symbol representing the entity requested in the data.", "headerTooltip": "Symbol representing the entity requested in the data.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
{ {
"field": "value", "field": "value",
"headerName": "Value", "headerName": "Value",
"description": "", "headerTooltip": "",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
@@ -3206,7 +3206,7 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Name", "headerName": "Name",
"description": "The name of the series.", "headerTooltip": "The name of the series.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -3214,7 +3214,7 @@
"field": "element_id", "field": "element_id",
"formatterFn": null, "formatterFn": null,
"headerName": "Element ID", "headerName": "Element ID",
"description": "The element id in the parent/child relationship.", "headerTooltip": "The element id in the parent/child relationship.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -3222,7 +3222,7 @@
"field": "parent_id", "field": "parent_id",
"formatterFn": null, "formatterFn": null,
"headerName": "Parent ID", "headerName": "Parent ID",
"description": "The parent id in the parent/child relationship.", "headerTooltip": "The parent id in the parent/child relationship.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -3230,21 +3230,21 @@
"field": "children", "field": "children",
"formatterFn": null, "formatterFn": null,
"headerName": "Children", "headerName": "Children",
"description": "The element_id of each child, as a comma-separated string.", "headerTooltip": "The element_id of each child, as a comma-separated string.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
{ {
"field": "level", "field": "level",
"headerName": "Level", "headerName": "Level",
"description": "The indentation level of the element.", "headerTooltip": "The indentation level of the element.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
{ {
"field": "line", "field": "line",
"headerName": "Line", "headerName": "Line",
"description": "The line number of the series in the table.", "headerTooltip": "The line number of the series in the table.",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
} }
@@ -3346,14 +3346,14 @@
"field": "institution", "field": "institution",
"formatterFn": null, "formatterFn": null,
"headerName": "Institution", "headerName": "Institution",
"description": "The name of the institution.", "headerTooltip": "The name of the institution.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
{ {
"field": "cik_number", "field": "cik_number",
"headerName": "CIK Number", "headerName": "CIK Number",
"description": "Central Index Key (CIK)", "headerTooltip": "Central Index Key (CIK)",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
} }
@@ -3495,7 +3495,7 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Date", "headerName": "Date",
"description": "The date of publication.", "headerTooltip": "The date of publication.",
"cellDataType": "date", "cellDataType": "date",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -3504,7 +3504,7 @@
"pinned": "left", "pinned": "left",
"formatterFn": null, "formatterFn": null,
"headerName": "Title", "headerName": "Title",
"description": "The title of the release.", "headerTooltip": "The title of the release.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -3512,7 +3512,7 @@
"field": "summary", "field": "summary",
"formatterFn": null, "formatterFn": null,
"headerName": "Summary", "headerName": "Summary",
"description": "Short summary of the release.", "headerTooltip": "Short summary of the release.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -3520,7 +3520,7 @@
"field": "id", "field": "id",
"formatterFn": null, "formatterFn": null,
"headerName": "ID", "headerName": "ID",
"description": "The identifier associated with the release.", "headerTooltip": "The identifier associated with the release.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -3528,7 +3528,7 @@
"field": "link", "field": "link",
"formatterFn": null, "formatterFn": null,
"headerName": "Link", "headerName": "Link",
"description": "URL to the release.", "headerTooltip": "URL to the release.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
} }
@@ -3584,7 +3584,7 @@
{ {
"field": "sic_code", "field": "sic_code",
"headerName": "SIC Code", "headerName": "SIC Code",
"description": "Sector Industrial Code (SIC)", "headerTooltip": "Sector Industrial Code (SIC)",
"cellDataType": "number", "cellDataType": "number",
"chartDataType": "series" "chartDataType": "series"
}, },
@@ -3592,7 +3592,7 @@
"field": "industry_title", "field": "industry_title",
"formatterFn": null, "formatterFn": null,
"headerName": "Industry Title", "headerName": "Industry Title",
"description": "Industry title.", "headerTooltip": "Industry title.",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
}, },
@@ -3600,7 +3600,7 @@
"field": "office", "field": "office",
"formatterFn": null, "formatterFn": null,
"headerName": "Office", "headerName": "Office",
"description": "Reporting office within the Corporate Finance Office", "headerTooltip": "Reporting office within the Corporate Finance Office",
"cellDataType": "text", "cellDataType": "text",
"chartDataType": "category" "chartDataType": "category"
} }