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)
#> 78 total items found. This query requested 20 results.
#>  [1] "yankeepaulisaact0000hold"      "heckerstudiesess0000unse"     
#>  [3] "isaactheckerdiar0000heck"      "isaactheckerdiar0000heck_k1j2"
#>  [5] "isaacheckerameri0000obri"      "paulistfatherisa0000hanl"     
#>  [7] "yankeepaulisaact00hold"        "celestialhomespu0000burt"     
#>  [9] "isaacthomashecke0000behn"      "fatherhecker0000unse"         
#> [11] "fatherhecker01sedg"            "fatherhecker00sedggoog"       
#> [13] "americanexperien00fari"        "yankeepaulisaact0000unse"     
#> [15] "aspirationsofnat00heck_1"      "abitunpublished00heckgoog"    
#> [17] "lifeoffatherheck00elli"        "lifeoffatherheck0000elli"     
#> [19] "lifeoffatherheck01elli"        "fatherheckerhisf0000mcso"