changedInput schema / properties / canvas_id / description
Previous value: -"Reuse an existing dataframe canvas, so a result staged by this call lands beside earlier ones and can be joined against them. Pass the canvasId a previous eurostat_query_dataset or eurostat_download_dataset response returned; omit to start a fresh canvas. Used only when staging: stage=true or a match above 5,000 observations, on a canvas-enabled deployment."New value: +"A canvasId from an earlier staging response, to stage this result beside its tables for joins; omit for a fresh canvas. Used only when this call stages."
changedInput schema / properties / dataset_code / description
Previous value: -"Dataset code (e.g., \"nama_10_gdp\"). Required. A DS-* code — Comext detailed trade or PRODCOM, in any case — is served by the Comext host: filter freq on its trade flows, which mix annual and monthly series, and note that product, reporter and partner carry aggregates (TOTAL, EU27_2020) that double-count when summed with their members."New value: +"Dataset code (e.g., \"nama_10_gdp\"). DS-* codes (Comext trade and PRODCOM, in any case) work too; their trade flows mix annual and monthly series, so filter freq."
changedInput schema / properties / filters / description
Previous value: -"Dimension filters as a map of dimension code → array of valid values. Example: {\"unit\": [\"CP_MEUR\"], \"na_item\": [\"B1GQ\"], \"geo\": [\"DE\", \"FR\"]}. An empty array is treated as no filter for that dimension and is dropped from the request, and so is a blank or whitespace-only value ([\"\"] is no filter, [\"\", \"DE\"] is [\"DE\"]). No Eurostat code contains \"+\" or \".\": a value holding \"+\" is split into separate values, read as OR ([\"DE+FR\"] is [\"DE\", \"FR\"]), and a value holding \".\" stays one value that matches nothing. Dimension codes match in any case (\"GEO\" is geo). Keys are dimensions only: one naming a request control (lang, format, geoLevel, sinceTimePeriod, untilTimePeriod, lastTimePeriod, in any case) is rejected as invalid_dimension — use the lang, geo_level, since_period, until_period and last_n_periods inputs. Do not include \"geo\" here if using geo_level, nor \"time\"/\"time_period\" if using since_period, until_period or last_n_periods. A value that matches nothing contributes no rows rather than an error; the response names it in unmatchedValues, or in the no_results error when nothing matched at all. A valid value with no cell in the selected periods contributes no rows either; the response names it in emptyValues. eurostat_get_dimension_values lists the valid values."New value: +"Map of dimension code → values to keep, e.g. {\"unit\": [\"CP_MEUR\"], \"geo\": [\"DE\", \"FR\"]}; eurostat_get_dimension_values lists the values. Keys match in any case and must be dimensions: one naming a request control (lang, format, geoLevel, sinceTimePeriod, untilTimePeriod, lastTimePeriod) is rejected as invalid_dimension. An empty array or a blank value is no filter. A value holding \"+\" is split into separate values (OR); one holding \".\" matches nothing, since no Eurostat code contains it. Leave out \"geo\" when geo_level is set, and \"time\"/\"time_period\" when a period input is. A value that matches nothing is named in unmatchedValues, and a valid one with no cell in the selected periods in emptyValues; neither is an error."
changedInput schema / properties / geo_level / description
Previous value: -"Filter by NUTS hierarchy level. Mutually exclusive with a \"geo\" key in filters. Options: \"aggregate\" (EU/EA totals), \"country\" (member and candidate states), \"nuts1\" (major regions), \"nuts2\" (basic regions), \"nuts3\" (small regions). How many codes a level holds varies by dataset; a code of the level with no cell in the match is named in emptyValues."New value: +"NUTS level to keep, mutually exclusive with filters.geo: \"aggregate\" (EU/EA totals), \"country\" (member and candidate states), \"nuts1\", \"nuts2\" or \"nuts3\". A code of the level with no cell in the match is named in emptyValues."
changedInput schema / properties / lang / description
Previous value: -"Language for labels in the response. Default is \"EN\". Options: \"EN\", \"FR\", \"DE\"."New value: +"Language of the labels."
changedInput schema / properties / last_n_periods / description
Previous value: -"Return only the N most recent dataset time positions. Selected periods without populated cells for this slice are disclosed in a notice on successful queries, which advises a larger N only when every such period follows the slice's latest period with a cell. N counts back from the dataset's latest period, not from the latest period published for this slice, so a slice that lags can come back empty — increase N, or replace last_n_periods with a since_period/until_period range ending at a period the slice has published (until_period alone selects every period up to it). Mutually exclusive with since_period and until_period."New value: +"Select the N most recent time positions of the dataset. N counts back from the dataset's latest period, not this slice's, so a slice that lags can come back short or empty; a notice names each selected period with no cell. Mutually exclusive with since_period and until_period."
changedInput schema / properties / preview_limit / description
Previous value: -"How many matched observations to return inline, from the deterministic start of the JSON-stat cell order. Default 25; positive integers above 500 are clamped to 500 with a notice. This changes only the inline prefix: it does not reduce obsCount, missingObsCount, timeRange, the upstream response, or staged rows. Use filters or period controls to reduce the match itself."New value: +"Observations returned inline, from the start of the dataset's cell order. Default 25; positive integers above 500 are clamped to 500 with a notice. Shortens only the inline prefix: the counts, timeRange and staged rows still cover the whole match."
changedInput schema / properties / since_period / description
Previous value: -"Start of the time range, inclusive. Accepted forms: YYYY, YYYY-MM, YYYY-MM-DD, YYYY-Qn (1–4), YYYY-Sn (1–2), YYYY-Tn (1–3), YYYY-Mnn (01–12), YYYY-Wnn (a week the year has, up to 53) or YYYY-Dnnn (a day the year has, up to 366) (e.g., \"2020\", \"2023-Q1\", \"2024-01\"). Extra leading zeros after the letter are dropped (\"2020-Q01\" is sent as \"2020-Q1\"), a day of the year is sent as three digits (\"2026-D1\" as \"2026-D001\"), and YYYY-A1 is sent as YYYY. Any form works on any dataset, read as a span of days, but Eurostat keeps only periods wholly inside the range, per frequency: \"2022-06\" on annual data excludes 2022, which starts before the bound, and a notice names that period when the response shows its frequency. A range whose first and last day are the same day is sent as that one date. A malformed or non-existent period (e.g., \"2020-13\") is rejected as invalid_period. Mutually exclusive with last_n_periods."New value: +"Start of the range, inclusive: YYYY, YYYY-MM, YYYY-MM-DD, YYYY-Qn (1–4), YYYY-Sn (1–2), YYYY-Tn (1–3), YYYY-Mnn (01–12), YYYY-Wnn (up to 53) or YYYY-Dnnn (up to 366), e.g. \"2020\", \"2023-Q1\", \"2024-01\". Any form works on any dataset, but Eurostat keeps only periods wholly inside the range, per frequency: a bound that falls inside a period excludes it, and a notice names that period when the response shows its frequency. A one-day range (both bounds on the same day) selects that day alone. A malformed or non-existent period, or a since_period after until_period, fails as invalid_period."
changedInput schema / properties / stage / description
Previous value: -"Stage every matched observation on a dataframe canvas, regardless of preview length or match size. Default false preserves automatic staging only above 5,000 observations. Ignored with an unavailable-staging notice on deployments without a canvas."New value: +"Stage the whole match as a SQL table whatever its size; by default only a match above 5,000 observations is staged. Without a dataframe canvas, a notice says nothing was staged."
changedInput schema / properties / until_period / description
Previous value: -"End of the time range, inclusive (e.g., \"2024\"), in the same forms as since_period. Omit for data through the latest available period. A bound that falls inside a period excludes it here too: \"2023-06\" on annual data excludes 2023, which ends after the bound. The range must hold at least one day: a since_period that starts after until_period ends is rejected as invalid_period, and bounds of different frequencies are compared by day. Mutually exclusive with last_n_periods."New value: +"End of the range, inclusive (e.g., \"2024\"), in the forms and under the wholly-inside rule of since_period. Omit for data through the latest period."
changedOutput schema / properties / absentCellCount / description
Previous value: -"Periods the matched series lack: for each series (one combination of the non-time dimensions) with at least one cell in the match, the periods of a frequency it carries in which Eurostat publishes no cell for it, with no value and no flag. Only periods from that frequency's first to its latest period with a cell in any series count; a period before or after that span, which no series has a cell in, is named in the notice instead. Absent cells are not observations, so obsCount, missingObsCount, observations and staged rows leave them out. A series lacks no period of a frequency it does not carry: an annual series beside a monthly one lacks no months. 0 when every series has a cell in every period of those spans."New value: +"Periods the matched series lack: for each series (one combination of the non-time dimensions) with a cell in the match, the periods of a frequency it carries where Eurostat publishes no cell for it. Only periods from that frequency's first to its latest period with a cell in any series count; one before or after that span is named in the notice instead. A series lacks no period of a frequency it does not carry (an annual series lacks no months). Absent cells are not observations: obsCount, missingObsCount, observations and staged rows leave them out."
changedOutput schema / properties / appliedFilters / description
Previous value: -"Effective query parameters applied to the Eurostat API."New value: +"The query as sent."
changedOutput schema / properties / appliedFilters / properties / filters / description
Previous value: -"Dimension filters actually sent to Eurostat. Blank values, and dimensions left with no value (empty arrays included), are dropped and do not appear here."New value: +"Filters sent to Eurostat: \"+\" values split, blank values and empty dimensions dropped."
changedOutput schema / properties / appliedFilters / properties / geoLevel / description
Previous value: -"NUTS geo level filter applied, if any."New value: +"geo_level applied, if any."
changedOutput schema / properties / appliedFilters / properties / lastNPeriods / description
Previous value: -"Last N periods filter applied, if any."New value: +"last_n_periods applied, if any."
changedOutput schema / properties / appliedFilters / properties / sincePeriod / description
Previous value: -"Start of time range applied, if any."New value: +"since_period applied, if any."
changedOutput schema / properties / appliedFilters / properties / untilPeriod / description
Previous value: -"End of time range applied, if any."New value: +"until_period applied, if any."
changedOutput schema / properties / canvasId / description
Previous value: -"Dataframe canvas holding the staged result. Pass to eurostat_dataframe_describe, eurostat_dataframe_query, or a later eurostat_query_dataset call. Omitted when nothing was staged."New value: +"Canvas holding the staged table; pass it as canvas_id to the dataframe tools or a later staging call. Omitted when nothing was staged."
changedOutput schema / properties / dimensionsUsed / description
Previous value: -"Ordered list of dimension codes present in the response (e.g., [\"freq\", \"unit\", \"na_item\", \"geo\", \"time\"])."New value: +"Dimension codes in the response, in order."
changedOutput schema / properties / emptyValues / description
Previous value: -"Values the query selects that the dataset has but this match carries no cell for, with no value and no flag in the selected periods, so they contribute no rows. Keyed by dimension code: filter values spelled as sent (matching ignores case), and under geo_level every \"geo\" code of that level with no cell. Never a value unmatchedValues holds, a time value, or a value of a dimension that neither filters nor geo_level selects. Such a value can carry data in other periods or beside other filter values. Omitted when every selected value has a cell."New value: +"Selected values the dataset has but this match carries no cell for, by dimension: filter values as sent, and under geo_level each \"geo\" code of that level with no cell. Never a time value or one in unmatchedValues. Such a value can have data in other periods or beside other filter values. Omitted when every selected value has a cell."
changedOutput schema / properties / error / properties / data / properties / reason / description
Previous value: -"Machine-readable failure mode. Declared by this tool: `not_found`: The dataset code does not exist (HTTP 404 carrying Eurostat error id 100). `no_results`: The query matched no observation cells — including Eurostat HTTP-200 error id 100. The dataset is valid, but no cell carries a value or a status flag for that filter combination and period range. When Eurostat returns the empty table, the error names the filter values that matched nothing (data.unmatchedValues) and, when the values of the dataset are read within 5 s, the codes and labels of each such dimension holding at most 25, or the total and a value search for each value sent otherwise (data.validValues), the selected periods that carry no value (data.matchedPeriods, the newest 24, with data.matchedPeriodCount counting all of them), and, for a range that selected no period, whether it misses the coverage, holds no whole period, or holds no published one. When error id 100 answers a query that set geo_level, the error names geo_level as the likely cause, and lists the dataset's dimensions when it has no \"geo\" dimension. `invalid_period`: since_period or until_period is not a period literal, or names a month, quarter, semester, trimester, week or day that does not exist, or since_period starts after until_period ends. Checked before any request; a period Eurostat itself rejects maps here too. `async_response`: Eurostat returned an async warning or an HTTP-413 error array — the query matched too many observations, including an EXTRACTION_TOO_BIG refusal past Eurostat's 5,000,000-row limit. `invalid_dimension`: A filter key is not a dimension of this dataset; the error names every such key and lists the dataset's dimensions in key order (HTTP 400, Eurostat error id 150), or only the one key Eurostat names when the dataset's structure cannot be read. A filter key that names a request control (lang, format, geoLevel, sinceTimePeriod, untilTimePeriod, lastTimePeriod, in any case) rather than a dimension fails here too, rejected before any request and naming the input that sets it. `conflicting_params`: Mutually exclusive parameters were combined: \"geo\" filter + geo_level, since_period/until_period + last_n_periods, or a \"time\"/\"time_period\" filter + since_period, until_period or last_n_periods. Checked before any request; Eurostat's own refusal of two time selections maps here too. `canvas_not_found`: A canvas_id was supplied for staging but is unknown or its lifetime has elapsed. `upstream_fault`: The Statistics API answered HTTP 5xx or could not be reached on every attempt of the retry loop. The error is marked retryable, except for HTTP 501, which is marked not retryable. `retry_deadline_exceeded`: The Statistics API did not complete the query within the server's request deadline (30 s by default), every attempt and backoff included: Eurostat can take longer than that to prepare an uncached extraction, or to send a large answer. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `not_found`: The dataset code does not exist. `no_results`: No cell of a valid dataset carries a value or flag for the filters and period range. The error names what it can: the filter values that matched nothing (data.unmatchedValues) with, when the dataset's values can be read, the codes of each such dimension holding at most 25 or a value search (data.validValues); the selected periods with no value (data.matchedPeriods, the newest 24; data.matchedPeriodCount counts all); whether a range misses the coverage, holds no whole period or no published one; and geo_level when it likely selects no code. `invalid_period`: A period bound is not an accepted form or names a period that does not exist, or since_period starts after until_period ends (bounds of different frequencies compare by day). Checked before any request. `async_response`: Eurostat is preparing this extraction in the background and serves the identical query minutes later. The server sends the request once and does not repeat it. `extraction_too_big`: Eurostat refused the query as too large to serve (its extraction limit is 5,000,000 rows); the same query is refused again. `invalid_dimension`: A filter key is not a dimension of this dataset; the error names every such key and lists the dataset's dimensions in key order, or only the key Eurostat names when the structure cannot be read. A request-control key (see filters) fails here before any request, naming the input that sets it. `conflicting_params`: Mutually exclusive inputs were combined: filters.geo with geo_level, since_period/until_period with last_n_periods, or a \"time\"/\"time_period\" filter with a period input. `canvas_not_found`: canvas_id is unknown or has expired. `upstream_fault`: The Statistics API failed or could not be reached on every attempt; retryable says whether a later call can succeed. `retry_deadline_exceeded`: The Statistics API did not finish within the server's request deadline (30 s by default), every attempt included: an uncached extraction or a large answer can take longer. Other values are possible when a failure originates below the handler."
changedOutput schema / properties / error / properties / data / properties / reason / examples
Previous value: -[
- "not_found",
- "no_results",
- "invalid_period",
- "async_response",
- "invalid_dimension",
- "conflicting_params",
- "canvas_not_found",
- "upstream_fault",
- "retry_deadline_exceeded"
-]New value: +[
+ "not_found",
+ "no_results",
+ "invalid_period",
+ "async_response",
+ "extraction_too_big",
+ "invalid_dimension",
+ "conflicting_params",
+ "canvas_not_found",
+ "upstream_fault",
+ "retry_deadline_exceeded"
+]
changedOutput schema / properties / missingObsCount / description
Previous value: -"Number of matched observations carrying no numeric value, counted across everything matched rather than only the returned rows. Covers both unavailable and withheld cells — a slice can be wholly confidential, so this equalling obsCount does not mean the data is absent. A missing observation is a cell Eurostat publishes without a number (with a flag, a confidentiality marker, or text); a period of a frequency the series carries in which it has no cell at all is an absent cell, counted in absentCellCount instead."New value: +"Matched observations with no numeric value, over the whole match: cells published without a number, carrying a flag, a confidentiality marker or text. A wholly confidential slice makes this equal obsCount without the data being absent. A period with no cell at all counts in absentCellCount instead."
changedOutput schema / properties / notice / description
Previous value: -"Composed guidance for a period a bound falls inside, which Eurostat excludes, unmatched filter values, values with no cell (emptyValues), selected last_n_periods positions with no populated cells, periods no series has a cell in before or after a frequency's span with cells, absent cells (periods a series lacks inside that span, with how many series lack any), inline previews, staging and unavailable explicit staging. Period gaps list up to the newest 24 periods and values with no cell up to 24, each with an omitted count; staged matches give the describe-then-query sequence. Omitted when none of these disclosures applies."New value: +"Disclosures, when any apply: a period a bound excludes, unmatchedValues, emptyValues (up to 24 named), last_n_periods positions with no cell (the newest 24 named), periods before or after a frequency's span and absent cells (see absentCellCount), the inline preview, and staging, with the eurostat_dataframe_describe then eurostat_dataframe_query sequence."
changedOutput schema / properties / obsCount / description
Previous value: -"Total number of observations matched (before any cap)."New value: +"Observations matched, over the whole match."
changedOutput schema / properties / observations / description
Previous value: -"The first preview_limit decoded observations in deterministic JSON-stat cell order — the leading combinations of the dataset dimensions, neither a sample nor necessarily the most recent periods. This prefix is independent of the 5,000-observation staging threshold. When tableName is set, the table holds every matched row; otherwise use filters or a period range to reduce the match itself."New value: +"The first preview_limit observations in the dataset's cell order: the leading dimension combinations, not a sample and not necessarily the latest periods. tableName, when set, holds every matched row."
changedOutput schema / properties / observations / items / description
Previous value: -"A single decoded observation with dimension values, numeric value, and the optional OBS_FLAG and CONF_STATUS markers."New value: +"One decoded observation."
changedOutput schema / properties / observations / items / properties / confStatus / description
Previous value: -"Eurostat CONF_STATUS for this observation — a different codelist from status. Present when Eurostat restricts the cell, which is usually why value is null. Omitted otherwise."New value: +"CONF_STATUS marker, a separate codelist from status: present when Eurostat restricts the cell, usually why value is null."
changedOutput schema / properties / observations / items / properties / confStatus / properties / label / description
Previous value: -"Confidentiality description (e.g., \"confidential\", \"not for publication\")."New value: +"Confidentiality label (e.g., \"confidential\")."
changedOutput schema / properties / observations / items / properties / dimensions / description
Previous value: -"Map of dimension code → {code, label}. One entry per dimension in dimensionsUsed, keyed by dimension code (e.g., {\"geo\": {\"code\": \"DE\", \"label\": \"Germany\"}, \"time\": {\"code\": \"2023\", \"label\": \"2023\"}})."New value: +"Dimension code → {code, label}, one entry per dimensionsUsed code (e.g., {\"geo\": {\"code\": \"DE\", \"label\": \"Germany\"}})."
changedOutput schema / properties / observations / items / properties / status / description
Previous value: -"Eurostat OBS_FLAG for this observation. Omitted for unflagged observations, and never carries a confidentiality code — that arrives in confStatus."New value: +"OBS_FLAG marker. Omitted when unflagged; confidentiality arrives in confStatus."
changedOutput schema / properties / observations / items / properties / status / properties / label / description
Previous value: -"Status description (e.g., \"provisional\", \"estimated\", \"definition differs\")."New value: +"Flag label (e.g., \"provisional\", \"estimated\")."
changedOutput schema / properties / observations / items / properties / value / description
Previous value: -"Numeric observation value, or null when Eurostat reports none — unavailable in the source data, withheld (confStatus says so), or published as text (valueText holds it)."New value: +"Numeric value, or null when unavailable, withheld (confStatus says so) or published as text (valueText)."
changedOutput schema / properties / observations / items / properties / valueText / description
Previous value: -"A value Eurostat published as text rather than a number, verbatim — PRODCOM (DS-*) flag and unit indicators such as QNTUNIT publish a unit like \"KG\" — with value null. PRODCOM's \":C\" is decoded to confStatus \"C\" instead. Omitted for numeric and missing values."New value: +"A value published as text, verbatim (a PRODCOM unit such as \"KG\"), with value null; PRODCOM's \":C\" becomes confStatus \"C\" instead. Omitted otherwise."
changedOutput schema / properties / stagedRowCount / description
Previous value: -"Rows written to the canvas table. Matches obsCount. Omitted alongside tableName when nothing was staged."New value: +"Rows staged; equals obsCount. Omitted with tableName."
changedOutput schema / properties / tableName / description
Previous value: -"Canvas table holding every matched observation in flat form — one code column per dimension plus a \"_label\" companion, then obs_value, obs_flag, obs_flag_label, conf_status, conf_status_label. A DS-* table also carries obs_value_text, the valueText of each row. Call eurostat_dataframe_describe with canvasId first to confirm the table and columns, then eurostat_dataframe_query. Omitted when nothing was staged: stage was false with at most 5,000 observations, or this deployment runs without a dataframe canvas."New value: +"Canvas table holding every matched observation, with flat dimension, label and obs_* columns. Call eurostat_dataframe_describe with canvasId for its columns first, then eurostat_dataframe_query. Omitted when nothing was staged."
changedOutput schema / properties / timeRange / description
Previous value: -"Time coverage of everything matched — the same set obsCount counts, so it can reach periods absent from observations when truncated is true. Each bound is omitted when neither the match nor Eurostat report it — an omitted bound is unknown, not empty."New value: +"Period coverage of the whole match (what obsCount counts), so it can reach past the inline observations. An omitted bound is unknown, not empty."
changedOutput schema / properties / timeRange / properties / end / description
Previous value: -"Most recent period matched. Omitted when the match carries no time dimension and Eurostat reports no overall period."New value: +"Latest period matched, omitted the same way."
changedOutput schema / properties / timeRange / properties / start / description
Previous value: -"Earliest period matched. Omitted when the match carries no time dimension and Eurostat reports no overall period."New value: +"Earliest period matched; omitted when neither the match nor Eurostat reports one."
changedOutput schema / properties / truncated / description
Previous value: -"True only when the match exceeded the 5,000-observation staging threshold. Independent of preview_limit: observations can be a shorter prefix while truncated is false. When tableName is set, call eurostat_dataframe_describe first and then eurostat_dataframe_query; when it is absent, use filters or period controls to reduce the match."New value: +"True only when the match exceeds 5,000 observations, the automatic staging threshold. Independent of preview_limit: observations can be a shorter prefix while this is false."
changedOutput schema / properties / unmatchedValues / description
Previous value: -"Filter values that matched nothing in the dataset, keyed by dimension code and spelled as sent (matching ignores case). The observations cover only the values that did match. Omitted when every filter value matched."New value: +"Filter values that matched nothing in the dataset, by dimension, as sent; the observations cover only the rest. Omitted when every value matched."