Public
Edited
May 6, 2023
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
items_in_buildings = {
const allItems = await fetchItemsInBuildings(buildings);
const keys = new Set();

return allItems.filter((item) => {
const key = `${item.deposit} ${item.rent} ${item.addressOrigin.fullText} ${item.regDate} ${item.service_type} ${item.size_m2}`;

return keys.size + 1 === keys.add(key).size;
})
}
Insert cell
full_items = Promise.all(items_in_buildings.map((item) => fetchFullItem(item.item_id)))
Insert cell
images = html`${
full_items
.map((item) => `<h2>(${item.sales_title} ${item.보증금액}/${item.월세금액})</h2><h3>${item.addressOrigin.fullText}, ${item.floor_all}</h3>` + item.images
.map((src) => `<a href="https://www.zigbang.com/home/officetel/items/${item.item_id}" target="_blank" rel="noopener noreferrer">
<img src="${src}?w=${width / 5 | 0}">
</a>`)
.join("") + "<hr>")
.join("")
}`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Object.values(cache.BUILDINGS)[0]
Insert cell
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