Description Usage Arguments Value Examples
A 'SearchResult' is returned by 'searchBundles()', and represents the results for the search. Use 'results()' to view current results, and 'nextResults()' to page through results.
1 2 3 4 5 6 7 8 9 | nextResults(x)
results(x)
## S3 method for class 'SearchResult'
as_tibble(x, ...)
## S4 method for signature 'SearchResult'
show(object)
|
x |
A SearchResult returned by 'searchBundles()'. |
... |
additional parameters (unused) |
object |
a SearchResult object. |
'nextResults()' returns a 'SearchResult' representing the next 'page' of results from the original query.
'results()' returns a list-of-lists, with each element representing a distinct results of the HCABrowser query.
The 'as_tibble' method for 'SearchResult' returns a tibble representing the search result, with each row corresponding to a distinct result.
1 2 3 4 5 6 7 8 9 10 11 12 13 | bundles <- searchBundles(HCABrowser()) # Find all bundles...
bundles # ... but retrieve first 100
nextResults(bundles) # ... and then next 100
bundles %>%
## results() returns a list-of-lists
results() %>%
## this is the structure of the first result
head(1) %>%
str()
bundles %>% as_tibble()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.