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                                          "(covers information fro… http…
#>  2 Worf (Colonel)                                "For the 24th century St… http…
#>  3 Worf (mirror)                                 "(coexisting on another … http…
#>  4 Worf - Return to Grace Collection (VHS)       "(written from a product… http…
#>  5 Worf - Return to Grace Collection (LaserDisc) "(written from a product… http…
#>  6 Worf's First Adventure                        "(written from a product… http…
#>  7 Worf Special                                  "(written from a product… http…
#>  8 Worf - Return to Grace Collection             "Worf - Return to Grace … http…
#>  9 Personal log, Worf                            "(covers information fro… http…
#> 10 Alexander Rozhenko                            "(covers information fro… http…
#> # ℹ 15 more rows