Query editor
-- tipping not removed properlywith com as (with ui as (select date_trunc('day',"timestamp") as "date", fid,parent_fid,hash,parent_hash,root_parent_hash,"text"from dune.neynar.dataset_farcaster_castswhereparent_hash is not null and hash != root_parent_hash and parent_hash != root_parent_hashand "text" not in ('%$degen%','%$HAM%'))select "date", count(distinct ui.hash) as commentsfrom uijoindune.neynar.dataset_farcaster_casts opon ui.root_parent_hash = op.hashwhereui.fid != ui.parent_fidand ui.fid != op.fidand ui.parent_fid != op.fidand lower(ui."text") not like '%$%'and ui.fid < 100000group by 1order by 1 desclimit 365),all as(select date_trunc('day',"timestamp") as "date", count(distinct hash) as postsfrom dune.neynar.dataset_farcaster_castswhere "text" not like '%$%'and fid < 100000group by 1order by 1 desclimit 365)select cast(com.comments as decimal(18,5))/cast(all.posts as decimal(18,5)) , com."date"from cominner join all on com."date" = all."date"order by 2 desclimit 365