entity function

Extract methods

Extract methods

Extract entities of the tweets linked to a tweet id.

entity(x, entity, ...)

Arguments

  • x: A tweets object of the rtweet package.
  • entity: A entity to extract data from.
  • ...: Other possible arguments currently ignored.

Returns

Some information about those entities and the tweet id it comes from. for users mentions the ids of the mentioned users are "user_id", "user_id_str" (not "id_str")

Details

The position of where does this occur is not provided.

  • Maintainer: Lluís Revilla Sancho
  • License: MIT + file LICENSE
  • Last published: 2024-02-24