Metadata
Which years one metric is published for
The years a metric has data for, newest first. Useful before asking for a year that does not exist. Also answers for crime rate codes and air-quality codes (aq_*): for those the years are the ones with served municipality data, and an unknown code answers an empty list. Free.
Example request: https://suomiatlas.com/api/v1/variable-years?variableCode=hr_mtu
get/api/v1/variable-years
Request
- Base URL: https://suomiatlas.com
- URL: https://suomiatlas.com/api/v1/variable-years
- Auth: one of:
- none
- HTTP bearer
Query parameters
variableCodestring required
Missing or blank is a 400.
Response
Years, newest first.
Changes
No recorded changes to this operation across all 1 revision of this API.