Repository navigation
Building a shortlist report that exposes which rows survive a date filter #2
AndrewRober
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I used the course’s exploratory-to-report pattern on a different CSV: a paired export of Instagram and X profile ranks. I wanted a report that says how many rows survive an observation-date rule before presenting any shortlist overlap. The same names can be joined correctly while their measurements still come from different days.
The restricted row is a filter on the original ranks. It keeps pairs observed on the same UTC calendar date, even when their exact times differ. This changes which profiles are included, so the different overlap fractions do not measure an effect of time lag. Also, rank 100 or better can include more than 100 names when values tie.
Download the paired-ranks CSV from the FameMetric sample and methods and import it as
paired_rankswith the time fields kept as ISO text. I ran the query against that CSV in DuckDB 2.0.1.I work on FameMetric, which published the dataset. Codex helped verify the numbers and prepare this example.
All reactions