I have following JSON API, permanently provided by the Swiss Government.
https://www.bfs.admin.ch/bfsstatic/dam/assets/14856203/master
I am trying to list some content that does not appear in the first level – in my case some voting statistics (jaStimmenInProzent) of every vote (vorlagenId):

I am using fetch API and Vercel SWR. Unfortunately I couldn’t find a tutorial/example where the content that is mapped does not appear on the first level. Any Idea how to proceed and getting the vorlagen array listed? I tried following without success (see sandbox):
import useSWR from "swr";
import "./styles.css";
const fetcher = (...args) => fetch(...args).then((response) => response.json());
export default function App() {
const { data, error } = useSWR(
"https://app-prod-static-voteinfo.s3.eu-central-1.amazonaws.com/v1/ogd/sd-t-17-02-20201129-eidgAbstimmung.json",
fetcher
);
if (error) return <h1>this is an error: {error}</h1>;
return (
<div className="App">
{data ? (
data.map((vorlagen) => <h1>{vorlagenId}</h1>)
) : (
<h1>loading...</h1>
)}
</div>
);
}