What is a resource?
A resource is a data source record linked to a specific indicator. Each resource represents a distinct dataset — typically from a particular organisation or publication — that contributes data points to the indicator’s time series. Resources serve two purposes:- Temporal coverage — a resource defines the start and end period of the data it provides, making it clear what time range is covered and where gaps may exist
- Source attribution — resources document where the data comes from, supporting transparency and reproducibility
Resource fields
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the resource |
name | string | Display name identifying the data source |
startPeriod | string | ISO 8601 date marking the start of data coverage |
endPeriod | string | ISO 8601 date marking the end of data coverage |
Field reference
A descriptive name for the data source. This typically references the organisation, dataset, or publication that provided the data — for example,
INE Census 2021 or IPMA Climate Records.ISO 8601 date string for the first data point covered by this resource. Example:
2015-01-01.ISO 8601 date string for the last data point covered by this resource. Example:
2023-12-31.If a resource covers ongoing data collection with no defined end, administrators typically set
endPeriod to the date of the most recent data import.Multiple resources per indicator
An indicator may have several resources with non-overlapping or consecutive time periods. This pattern is used when:- The data source changed over time (e.g. a different institution took over data collection)
- A methodology revision produced a new dataset that replaced an older one
- Data for different sub-periods was collected separately and needs distinct attribution
Resource API endpoints
Resources have their own CRUD endpoints, and a separate set of endpoints manages the link between a resource and an indicator:Managing resources (admin)
Administrators manage resources from the/resources-management/:indicator route, where :indicator is the indicator ID. From this page you can:
- View all resources currently linked to the indicator, with their time periods displayed
- Add a new resource by providing a name, start period, and end period
- Edit an existing resource’s name or time period bounds
- Delete a resource and its associated data
