Notebooks 2.0 is here.

Public
Edited
Mar 26, 2023
Insert cell
Insert cell
data = {
const text = await FileAttachment("cheats.tsv").text();
return d3
.tsvParseRows(text, (d, i) => ({
rentBoardAddresses: d[1],
numOwnerOccupiedUnits: +d[2],
printAPN: d[3],
homeOwnerExemption: +d[4],
assessorSitusAddress: d[5],
assessorMailingAddress: d[6]
}))
.filter(
(d) =>
d.numOwnerOccupiedUnits == 0 &&
d.homeOwnerExemption > 0 &&
!d.rentBoardAddresses
.replace(/[,\.]/g, "")
.includes(d.assessorMailingAddress)
);
}
Insert cell
data
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more