Get Hacker News by ids
Retrieves items corresponding to specified list of ids using Hacker News API
get_items_by_ids(ids)
ids
: list of idslist of hn_item objects
Parallel api requests can be enabled by running future::plan(future::multiprocess)
# retrieve the first two items on Hacker News items <- get_items_by_ids(c(1,2)) items
https://github.com/HenrikBengtsson/future https://github.com/HenrikBengtsson/future.apply