Skip to content

Feature: record history of follower counts #40

@simonw

Description

@simonw

We currently over-write the follower count every time we import a tweet (when we import that user profile again):

db["users"].insert(user, pk="id", alter=True, replace=True)
table = db["tweets"].insert(tweet, pk="id", alter=True, replace=True)

It would be neat if we noticed if that user's follower count (and maybe other counts?) had changed since we last saved them and recorded that change in a separate history table. This would be an inexpensive way of building up rough charts of follower count over time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions