Stats By Publisher
stats_by_publisherGet publisher rating stats for editions, ratings, and average scores. Filter by years and minimum thresholds to rank publishers by output or reader approval.
Instructions
Rating statistics grouped by publisher string.
publisher is unnormalised free text with 79,423 distinct values, so each
row is one spelling rather than one publisher. Penguin alone occupies six
or more separate rows. Treat every figure here as a lower bound on that
imprint's real output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | 'editions' counts one row per edition as stored -- the right unit for 'most prolific publisher', since issuing five editions is five editions of work. 'works' collapses editions sharing a normalised title within each publisher. | editions |
| limit | No | Publisher strings to return, max 100. | |
| year_to | No | Latest publish_year, inclusive. | |
| order_by | No | n_books, n_ratings, avg_book_rating or pooled_rating. | n_books |
| direction | No | 'desc' or 'asc'. | desc |
| min_books | No | Minimum books a publisher string must have to appear. Because the column is unnormalised, a real publisher's output is split across several strings, so this filters spellings, not publishers. | |
| year_from | No | Earliest publish_year, inclusive. | |
| min_ratings | No | Minimum ratings per book. Floor 1. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||