Stats By Author
stats_by_authorRetrieve author-level Goodreads statistics: filter by publication year, language, and minimum books or ratings, then rank authors by number of books, ratings, or average rating.
Instructions
Rating statistics grouped by author string.
authors is one free-text field per book, not a list, so a co-authored
book forms its own group rather than counting toward each author. There
are 675,289 distinct author strings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | 'works' collapses editions sharing a normalised title to one row -- the right unit for 'most-read author', so a novel with five editions counts once rather than five times. 'editions' counts one row per edition as stored, matching the raw table. | works |
| limit | No | Author strings to return, max 100. | |
| year_to | No | Latest publish_year, inclusive. | |
| language | No | language_normalised ISO code, e.g. 'en'. | |
| order_by | No | n_books, n_ratings, avg_book_rating or pooled_rating. | n_ratings |
| direction | No | 'desc' or 'asc'. | desc |
| min_books | No | Minimum books an author string must have to appear. Raise this to avoid ranking one-book authors against prolific ones. | |
| year_from | No | Earliest publish_year, inclusive. | |
| min_ratings | No | Minimum ratings per book. Floor 1. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||