Perform a Memory Alpha site search.

ma_search(text, browse = FALSE)

Arguments

text

character, search query.

browse

logical, open search results page in browser.

Value

a data frame

Details

This function returns a data frame containing the title, truncated text preview, and relative URL for the first page of search results. It does not recursively collate search results through subsequent pages of results. There could be an unexpectedly high number of pages of results depending on the search query. Since the general nature of this search feature seems relatively casual anyway, it aims only to provide a first page preview.

Examples

ma_search("Worf")
#> # A tibble: 25 × 3
#>    title                                         text                      url  
#>    <chr>                                         <chr>                     <chr>
#>  1 Worf                                          "Multiple realities(cove… http…
#>  2 Worf (Colonel)                                "For the 24th century St… http…
#>  3 Worf (mirror)                                 "Mirror Universe(coexist… http…
#>  4 Worf's First Adventure                        "Real World article(writ… http…
#>  5 Worf Special                                  "Real World article(writ… http…
#>  6 Worf - Return to Grace Collection (VHS)       "Real World article(writ… http…
#>  7 Worf - Return to Grace Collection (LaserDisc) "Real World article(writ… http…
#>  8 Worf - Return to Grace Collection             "Worf - Return to Grace … http…
#>  9 Personal log, Worf                            "Multiple realities(cove… http…
#> 10 Alexander Rozhenko                            "Multiple realities(cove… http…
#> # ℹ 15 more rows