Description Usage Arguments Details Value See Also Examples
Retrieves items corresponding to specified list of ids using Hacker News API
1 | get_items_by_ids(ids)
|
ids |
list of ids |
Parallel api requests can be enabled by running
future::plan(future::multiprocess)
list of hn_item objects
https://github.com/HenrikBengtsson/future https://github.com/HenrikBengtsson/future.apply
1 2 3 | # retrieve the first two items on Hacker News
items <- get_items_by_ids(c(1,2))
items
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.