select
snapshot_date, week_number, listeners, playcount,
listener_delta, listener_pct_change, listeners_indexed
from api_artist_timeseries
where artist_id = $1
order by snapshot_date ascselect
ts.snapshot_date, ts.week_number, ts.listeners, ts.listeners_indexed,
cw.artist_count, cw.p25_indexed, cw.median_indexed, cw.p75_indexed
from api_artist_timeseries ts
left join api_cohort_weekly cw
on cw.cohort_type = $2 -- 'genre' or 'size_band'
and cw.cohort_key = $3 -- primary_genre or size_band
and cw.snapshot_date = ts.snapshot_date
where ts.artist_id = $1
order by ts.snapshot_date asc| Artist | Listeners | 13-week growth |
|---|---|---|
| Forests | 55k | +3.71% |
| Equipment | 44k | +3.32% |
| home is where | 101k | +2.26% |
| Kerosene Heights | 39k | +9.84% |
| Ogbert the Nerd | 56k | +2.02% |
| Swiss Army Wife | 27k | +9.04% |
| Michael Cera Palin | 194k | +3.11% |
| Oolong | 55k | +2.48% |
| Carpool | 32k | +1.62% |
| summerbruise | 32k | +5.29% |
| see through person | 63k | +3.45% |
| Gulfer | 64k | — |
| Riley! | 52k | +18.16% |
| Camp Trash | 22k | +0.54% |
| Charmer | 117k | +2.69% |
| Stars Hollow | 48k | +1.67% |
| I Love Your Lifestyle | 45k | — |
| Aren't We Amphibians | 44k | +9.35% |
| Combat | 25k | +6.15% |
| macseal | 268k | +5.22% |
select
similar_artist_id, slug, display_name, size_band,
latest_listeners, total_pct_growth, weeks_tracked, similarity_score, rank
from api_artist_similar
where artist_id = $1
order by rank ascselect *
from api_artist_profile
where artist_id = $1