Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.
This repository was archived by the owner on May 13, 2025. It is now read-only.

Top n URLs shared #9

Description

@Quiet27

New function to create a chart of the top n URLs shared within the collection of tweets.

# Top n URLs shared
# Based on sharing within the collection of tweets

results <-
dbGetQuery(con,
           "SELECT tweet.id as `tweet_id`,
              tweet.text as `text`,
              url.url as `url`,
              url.expanded_url as `expanded_url`,
              url.display_url as `display_url`
            FROM url
            LEFT JOIN tweet ON url.source_id = tweet.id
            WHERE source_type = 'tweet'
              AND field = 'text';")
# Need to figure out why the same url appears several times within the same tweet_id

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions