How to Use BEA county data publication status in VS Code
Returns BEA table publication details, the latest available data year, and available statistics. Use it before refreshing a county analysis to check whether BEA has published a new year or revised existing estimates.
Prompts to try with BEA county data publication status in VS Code
Copy an example into VS Code, or ask in your own words.
Use BEA county data publication status to check the latest available year and publication details for CAINC1 before updating this project's county dataset.
Use BEA county data publication status to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from BEA county data publication status and tell me what changed since last week.
Check BEA county data publication status and summarize what you find in three bullet points.
Pull the newest data from BEA county data publication status and give me the result as a table.
How to set up BEA county data publication status in VS Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
Use Add to VS Code on the console's Agents & MCP page, or run:
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}' - Sign in
VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.
Use the Spiral skill
- Send VS Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run BEA county data publication status
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "apps-bea-gov/economic-statistics/source_status", "input": { "table": "CAINC1" } }'
Then paste one of the prompts above: VS Code finds BEA county data publication status on Spiral, shows the price and runs it.
BEA county data publication status providers and prices
Spiral runs BEA county data publication status through Alexandria. Open a card for today's price, with every fee included.
$0.00873 per call.
Settings you can ask for
Ask VS Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Table | CAINC1, CAINC4, CAINC5N, CAINC6N, CAINC30, CAINC91, CAGDP1, CAGDP2 and 3 more | BEA Regional county table name. CAINC1 personal income summary (lines 1 personal income, 2 population, 3 per capita personal income); CAINC4 income by major component; CAINC5N earnings by NAICS industry; CAINC6N compensation by industry; CAINC30 economic profile (total employment incl. proprietors); CAINC91 gross flow of earnings; CAGDP1 GDP summary; CAGDP2 GDP by industry (current dollars); CAGDP8 chain-type quantity indexes; CAGDP9 real GDP by industry; CAGDP11 contributions to percent change in real GDP. |
Every API field of BEA Regional Economic Accounts (county personal income, employment, GDP) · Source status is on its tool page: open its card above.
What can you do with BEA county data publication status in VS Code?
Build a county comparison in your project using BEA income, population, and GDP observations. The agent can check publication details, collect tables, and verify the figures displayed in charts.
Compare counties for a business expansion
Compare county personal income, population, and GDP across a target state. Check the available publication first, collect the comparison table, and verify the figures used in the final shortlist.
Prepare a county economic briefing
Build a briefing with income, population, and GDP trends for a county and nearby counties. Confirm the available years and check the headline observations individually before publishing.
Study the sources of local income
Compare income components and industry earnings across counties. Check table availability, collect the relevant history, and verify the observations behind the largest differences.
Compare industry output across counties
Use county GDP tables to compare industry output across a state and over time. Confirm the available publication and years, then inspect individual observations behind the comparison.
Analyze long-term county income trends
Use CAINC1 history beginning in 1969 to compare county income and population trends. Check the available publication, collect the history, and verify selected turning points.
Refresh a public county comparison
Check whether a newer BEA publication is available before rebuilding county tables. Refresh the data and verify the observations shown in headlines and charts.
More on BEA county data publication status and VS Code
Overview
BEA county data publication status in other agents
Questions about BEA county data publication status in VS Code
Can VS Code use BEA county data publication status?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run BEA county data publication status like any built-in tool.
How much does BEA county data publication status cost in VS Code?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your VS Code plan is separate.
Do I need an Alexandria account to use BEA county data publication status in VS Code?
No. Spiral runs BEA county data publication status on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up BEA county data publication status in VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while BEA county data publication status runs?
BEA county data publication status runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.
Which places does BEA cover?
BEA's regional accounts cover all 50 states, Washington, DC, and U.S. counties and county equivalents. County equivalents matter when matching BEA observations to a geographic lookup table.
How far back do the county statistics go?
CAINC1 personal income, population, and per capita income history begins in 1969. CAINC5N industry earnings and CAGDP9 real county GDP begin in 2001.
What is the latest published county data year?
The current county GDP and personal income release covers 2024 and was published February 5, 2026. BEA lists December 2, 2026 as the next release date.
Does every table have the same historical coverage?
No. CAINC1 starts in 1969, while CAINC5N starts in 2001, so an industry earnings comparison cannot use the full CAINC1 income history.
Are all returned observations numeric?
No. BEA values can include (D) and (NA), and those markers are preserved in the returned data. A calculation should keep those observations separate from numeric values.
Start using BEA county data publication status in VS Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into VS Code:
set up https://spiral.ai/SKILL.md


