rtrek (version 0.2.0)

ma_search: Memory Alpha site search

Description

Perform a Memory Alpha site search.

Usage

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

Run this code
# NOT RUN {
if(has_internet()) ma_search("Worf")
# }

Run the code above in your browser using DataLab