powered by
Retrieves items corresponding to specified list of ids using Hacker News API
get_items_by_ids(ids)
list of ids
list of hn_item objects
Parallel api requests can be enabled by running future::plan(future::multiprocess)
future::plan(future::multiprocess)
https://github.com/HenrikBengtsson/future https://github.com/HenrikBengtsson/future.apply
# NOT RUN { # retrieve the first two items on Hacker News items <- get_items_by_ids(c(1,2)) items # }
Run the code above in your browser using DataLab