modified code block TABLE length(rows) AS "Trips"
FLATTEN filter(tags, (t) => st...
modified code block TABLE join(unique(map(filter(flat(rows.tags), (t) => startsw...
modified code block TABLE length(rows) AS "Trips"
FLATTEN filter(tags, (t) => st...
modified code block TABLE join(unique(map(filter(flat(rows.tags), (t) => startsw...
M /anton/undefined +0 -0
6 unmodified lines7```dataview8TABLE length(rows) AS "Trips"9FLATTEN filter(tags, (t) => startswith(t, "country/")) AS country10WHERE country11GROUP BY replace(country, "country/", "")11GROUP BY replace(country, "country/", "") AS "Country"12SORT length(rows) DESC13```14
15## countries by year1 unmodified line17```dataview18TABLE join(unique(map(filter(flat(rows.tags), (t) => startswith(t, "country/")), (t) => replace(t, "country/", ""))), ", ") AS "Countries", length(rows) AS "Trips"19WHERE date20SORT date DESC21GROUP BY dateformat(date, "yyyy")21GROUP BY dateformat(date, "yyyy") AS "Year"22```23
24## cities25
26```dataview27TABLE length(rows) AS "Trips"28FLATTEN filter(tags, (t) => startswith(t, "city/")) AS city29WHERE city30GROUP BY replace(city, "city/", "")30GROUP BY replace(city, "city/", "") AS "City"31SORT length(rows) DESC32```33
34## cities by year1 unmodified line36```dataview37TABLE join(unique(map(filter(flat(rows.tags), (t) => startswith(t, "city/")), (t) => replace(t, "city/", ""))), ", ") AS "Cities", length(rows) AS "Trips"38WHERE date39SORT date DESC40GROUP BY dateformat(date, "yyyy")40GROUP BY dateformat(date, "yyyy") AS "Year"41```