Choropleth of the 80 Thurgau municipalities from the road vehicle stock dataset (djs-stv-17): vehicles per 1000 inhabitants by vehicle group or share of a car brand among passenger cars, with year controls and a municipality panel. Population comes from sk-stat-56, outlines from swisstopo swissBOUNDARIES3D. Also fixes the broken ENV line in the Dockerfile. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
604 B
C#
19 lines
604 B
C#
using Schaad.OpenData.Vehicles.Models;
|
|
|
|
namespace Schaad.OpenData.Tests;
|
|
|
|
internal static class VehicleTestData
|
|
{
|
|
public static StockEntry Entry(
|
|
int year = 2024,
|
|
string id = "4566",
|
|
string municipality = "Frauenfeld",
|
|
string group = "Personenwagen",
|
|
string type = "Personenwagen",
|
|
string brand = "VW",
|
|
int count = 10) =>
|
|
new(year, id, municipality, "Frauenfeld", group, type, brand, count);
|
|
|
|
public static MunicipalityOutline Outline(string id) =>
|
|
new(id, [[[[8.9, 47.55], [8.91, 47.55], [8.91, 47.56], [8.9, 47.55]]]]);
|
|
}
|