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)
#> 85 total items found. This query requested 20 results.
#>  [1] "lifeoffatherheck00elli_0"      "catholicworld01unkngoog"      
#>  [3] "roadstoromeanteb0000fran"      "aspirationsofnat00heck"       
#>  [5] "yankeepaulisaact0000hold"      "abitunpublished00heckgoog"    
#>  [7] "catholicchurchi00heckgoog"     "americancatholic0000unse_x6i3"
#>  [9] "theologyinameric0000holi"      "the-secret-to-self-motivation"
#> [11] "TheLightOfTheCrossV2"          "lifeoffatherheck0000elli"     
#> [13] "youngconvertsorm00smal"        "TheLifeOfFatherHecker"        
#> [15] "catholicworld00projgoog"       "americanexperien00fari"       
#> [17] "aspirationsofnat00heckuoft"    "catholicworld00unkngoog"      
#> [19] "youtube-KVB_FgVidWk"           "catholicworld02unkngoog"