get_trend
Historical year-series for a metric in one canton (e.g. sunshine back to 1884, migration to 1981, rent to 2010). metric = key from list_metrics with history: rent_mean, net_migration_per_1000, foreigner_pct, sunshine_hours, balance_per_capita, beds_per_1000, jobs. Optional from_year.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| canton | Yes | ||
| metric | Yes | ||
| from_year | No |