get_items_by_ids function

Get Hacker News by ids

Get Hacker News by ids

Retrieves items corresponding to specified list of ids using Hacker News API

get_items_by_ids(ids)

Arguments

  • ids: list of ids

Returns

list of hn_item objects

Details

Parallel api requests can be enabled by running future::plan(future::multiprocess)

Examples

# retrieve the first two items on Hacker News items <- get_items_by_ids(c(1,2)) items

See Also

https://github.com/HenrikBengtsson/future https://github.com/HenrikBengtsson/future.apply

  • Maintainer: Ryszard Szymanski
  • License: MIT + file LICENSE
  • Last published: 2019-12-13