Skip to content

Commit

Permalink
fix: Update homepage chart URLs following data reset on int.lindas.ad…
Browse files Browse the repository at this point in the history
…min.ch

Fix #567
  • Loading branch information
ptbrowne committed May 31, 2022
1 parent bddb1a6 commit 76571c3
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions app/homepage/examples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const Examples = ({
<HomepageSection>{headline}</HomepageSection>
<Example headline={example1Headline} description={example1Description}>
<ChartPublished
dataSet="https://environment.ld.admin.ch/foen/ubd003701/2"
dataSet="https://environment.ld.admin.ch/foen/ubd0037/6"
meta={{
title: {
de: "Lärmbelastung durch Verkehr",
Expand All @@ -57,11 +57,11 @@ export const Examples = ({
sortingOrder: "desc",
},
componentIri:
"https://environment.ld.admin.ch/foen/ubd003701/verkehrsart",
"https://environment.ld.admin.ch/foen/ubd0037/verkehrsart",
},
y: {
componentIri:
"https://environment.ld.admin.ch/foen/ubd003701/wert",
"https://environment.ld.admin.ch/foen/ubd0037/wert",
},
segment: {
type: "grouped",
Expand All @@ -71,31 +71,31 @@ export const Examples = ({
sortingOrder: "asc",
},
colorMapping: {
"https://environment.ld.admin.ch/foen/ubd003701/periode/D":
"https://environment.ld.admin.ch/foen/ubd0037/periode/D":
"#ff7f0e",
"https://environment.ld.admin.ch/foen/ubd003701/periode/N":
"https://environment.ld.admin.ch/foen/ubd0037/periode/N":
"#1f77b4",
},
componentIri:
"https://environment.ld.admin.ch/foen/ubd003701/periode",
"https://environment.ld.admin.ch/foen/ubd0037/periode",
},
},
filters: {
"https://environment.ld.admin.ch/foen/ubd003701/beurteilung": {
"https://environment.ld.admin.ch/foen/ubd0037/beurteilung": {
type: "single",
value:
"https://environment.ld.admin.ch/foen/ubd003701/beurteilung/%3EIGWLSV",
"https://environment.ld.admin.ch/foen/ubd0037/beurteilung/%3EIGWLSV",
},
"https://environment.ld.admin.ch/foen/ubd003701/gemeindetype": {
"https://environment.ld.admin.ch/foen/ubd0037/gemeindetype": {
type: "single",
value:
"https://environment.ld.admin.ch/foen/ubd003701/gemeindeTyp/CH",
"https://environment.ld.admin.ch/foen/ubd0037/gemeindeTyp/CH",
},
"https://environment.ld.admin.ch/foen/ubd003701/laermbelasteteeinheit":
"https://environment.ld.admin.ch/foen/ubd0037/laermbelasteteeinheit":
{
type: "single",
value:
"https://environment.ld.admin.ch/foen/ubd003701/laermbelasteteEinheit/Pers",
"https://environment.ld.admin.ch/foen/ubd0037/laermbelasteteEinheit/Pers",
},
},
chartType: "column",
Expand All @@ -116,8 +116,8 @@ export const Examples = ({
dataFilters: {
active: true,
componentIris: [
"https://environment.ld.admin.ch/foen/ubd003701/gemeindetype",
"https://environment.ld.admin.ch/foen/ubd003701/laermbelasteteeinheit",
"https://environment.ld.admin.ch/foen/ubd0037/gemeindetype",
"https://environment.ld.admin.ch/foen/ubd0037/laermbelasteteeinheit",
],
},
},
Expand All @@ -131,7 +131,7 @@ export const Examples = ({
reverse
>
<ChartPublished
dataSet="https://culture.ld.admin.ch/sfa/StateAccounts_Office/4/"
dataSet="https://culture.ld.admin.ch/sfa/StateAccounts_Office/1"
meta={{
title: {
de: "Verteilung der Ausgaben und Einnahmen nach Ämtern",
Expand Down

0 comments on commit 76571c3

Please sign in to comment.