Skip to content

clark-nate/US2024PresElectionTikToks

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

40 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ‡ΊπŸ‡Έ 2024 Presidential Election TikTok Video IDs and TranscriptsDOI

This repository contains the TikTok Video IDs of content related to the 2024 Presidential Election. The data was collected with TikTok's Research API. To comply with TikTok's terms of service, we are only publicly releasing the TikTok IDs of the collected TikTok videos. We will continue to be updating this repostory with more data, so stay tuned for updates!

πŸ—„ Data Organization

  • data/: Contains a CSV file of video IDs collected.
  • scripts/: Contains the Python code used for data collection.
  • supplementary_files/: Lists the keywords and hashtags applied in each phase of data collection.

πŸ—“ Update Log

  • 6/29/2024

    • Initial release of collected video IDs.
    • Published keywords/hashtags used in query and scripts for data collection (with future modifications planned).
  • 7/20/2024

    • Updated metadata collection script (metadata_collection.py).
  • 11/1/2024

    • Added additional metadata in /data/TikTok_IDs_v2.csv (covering publication dates 11/1/2023 - 10/24/2024).
    • Filled gaps in TikTok_IDs_Memo1.csv.
    • Total IDs: 3,176,949
  • 02/13/2025

🧰 Requirements

To fully utilize the resources in this repository, please ensure you have access to:

  • TikTok Research API: For reposted videos and metadata collection via scripts/metadata_collection.py.
  • Duoyin API: For collecting comments.
  • TikTok Unofficial API: For collecting user information.

βœ‰ Contact

For any inquiries, please reach out to Gabriela Pinto at gpinto@usc.edu.

πŸ“˜ Memo Updates

For an in-depth analysis of the dataset, check out our memo on arXiv: https://arxiv.org/abs/2407.01471. An updated version will be available soon, so stay tuned!

About

This repository contains data of TikTok videos related to the 2024 U.S. Elections

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%