actualizar-panel-economico-cyl

Updates the Castilla y León economic panel data.json from open data APIs and official sources.

Updated Apr 18, 2018
One-click install
npx skills add https://github.com/Emirodgar/w-emirodgar-es --skill actualizar-panel-economico-cyl-emirodgar
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: actualizar-panel-economico-cyl
Source: https://github.com/Emirodgar/w-emirodgar-es/tree/main/.claude/skills/actualizar-panel-economico-cyl
Command: npx skills add https://github.com/Emirodgar/w-emirodgar-es --skill actualizar-panel-economico-cyl-emirodgar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Keeping a public economic dashboard for Castilla y León current requires manually querying multiple open data APIs, press sources, and official statistics, then carefully editing a JSON dataset without breaking its schema. This Skill automates that entire refresh workflow so the panel, home widget, and FAQ section always reflect the latest published figures. ## Core Features & Use Cases - Multi-source data refresh: Pulls unemployment, social security affiliation, contracts, and subsidy catalog data from the Junta de Castilla y León open data API, plus budget and Spain-comparison figures from INE, SEPE, and official press sources. - Schema-safe JSON editing: Updates historicalData, empleoMensual, provincias, indicators, and comparativaEspana arrays following strict rules (chronological order, 13-month windows, interannual comparisons, no invented figures). - Derived content regeneration: Rewrites the executive summary, regenerates the static sparkline SVG via a Python script, and keeps the auto-generated FAQPage/JSON-LD aligned with current data. - Use Case: A user says "actualiza el Panel Económico CyL" and the Skill queries all sources, updates data.json with the latest month of labor market data and the current budget status, regenerates the sparkline, and reports which figures changed. ## Quick Start Ask the assistant to update the Panel Económico CyL with the latest available data from the Junta open data portal and official sources.

Frequently Asked Questions about actualizar-panel-economico-cyl

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update the Castilla y León economic panel data?▼

Invoke the Skill with a request like "actualiza el Panel Económico CyL". It reads the current data.json, queries the Junta open data API and official sources in a fixed order, updates the JSON arrays, regenerates the summary and sparkline, and reports which figures changed.

What data sources does the CyL economic panel use?▼

It uses the Junta de Castilla y León open data API for aid catalog lines, granted subsidies, registered unemployment, social security affiliation, and contracts. Budget figures come from BOE/BOCYL or regional press, and Spain-comparison indicators from INE, SEPE, and the Ministry of Inclusion.

Does updating the panel require editing HTML or JavaScript?▼

No. The full panel, home widget, and FAQ section all render dynamically from data.json. Only the JSON dataset needs editing; the FAQPage JSON-LD and charts update automatically from the refreshed arrays.

Why is the granted subsidies dataset not updated with recent years?▼

The subvenciones-concedidas dataset stopped publishing after March 2022. The Skill first checks whether the maximum concession date has advanced; if not, it leaves historicalData and the indicator untouched since 2021 remains the last complete year.

How are labor market changes calculated in the panel?▼

Unemployment, affiliation, and contract indicators compare the latest month against the same month of the previous year, not the prior month, because registered unemployment has a strong seasonal pattern. The indefinite contract percentage is recalculated from the current month totals.

What are the limitations of this panel update workflow?▼

It only covers the regional budget, subsidies, aid catalog, and provincial labor market; it excludes municipal budgets, public procurement, provincial GDP, and general BOCYL data. Employment data also lags about one month, so the current month is never available.