Skip to contents

Perform an simple keyword search of the Internet Archive.

Usage

ia_keyword_search(keywords, num_results = 5, page = 1, print_total = TRUE)

Arguments

keywords

The keywords to search for.

num_results

The number of results to return per page.

page

When results are paged, which page of results to return.

print_total

Should the total number of results for this query be printed as a message?

Value

A character vector of Internet Archive item IDs.

Examples

ia_keyword_search("isaac hecker", num_results = 20)
#> 74 total items found. This query requested 20 results.
#>  [1] "heckerstudiesess0000unse"      "yankeepaulisaact0000hold"     
#>  [3] "isaactheckerdiar0000heck_k1j2" "isaactheckerdiar0000heck"     
#>  [5] "paulistfatherisa0000hanl"      "isaacheckerameri0000obri"     
#>  [7] "isaacthomashecke0000behn"      "celestialhomespu0000burt"     
#>  [9] "fatherhecker0000unse"          "fatherhecker01sedg"           
#> [11] "americanexperien00fari"        "fatherhecker00sedggoog"       
#> [13] "yankeepaulisaact0000unse"      "aspirationsofnat00heck_1"     
#> [15] "abitunpublished00heckgoog"     "lifeoffatherheck00elli"       
#> [17] "lifeoffatherheck0000elli"      "fatherheckerhisf0000mcso"     
#> [19] "lifeoffatherheck01elli"        "brownsonheckerco0000brow"