inst = tilsatte
.rename({ "Antall totalt": "Ansatte" })
.select("Institusjonskode", "Institusjonsnavn", "Årstall", "Ansatte")
.join_full(
studenter
.rename({ "Antall totalt": "Studenter" })
.select("Institusjonskode", "Institusjonsnavn", "Årstall", "Studenter")
)
.filter((d) => d.Studenter > 0)
.filter((d) => d.Ansatte > 0)