Learn R Programming

Goodreader (version 0.1.1)

search_goodreads: Search Goodreads

Description

This function searches books on Goodreads.

Usage

search_goodreads(
  search_term,
  search_in = c("title", "author"),
  num_books = 10,
  sort_by = "ratings"
)

Value

A data frame of search results.

Arguments

search_term

A search term string.

search_in

Where to search (e.g., "title", "author").

num_books

Number of books to return.

sort_by

How to sort the results (e.g., "ratings", "published_year").

Examples

Run this code
search_goodreads("parenting", search_in = "title", num_books = 2)

Run the code above in your browser using DataLab