mirror of
https://github.com/bellingcat/tiktok-hashtag-analysis.git
synced 2026-06-08 03:18:31 +03:00
Updated plot figure in README
This commit is contained in:
@@ -110,9 +110,10 @@ Assume we want to analyze the top 20 occurring hashtags in the downloaded posts
|
||||
`python3 hashtag_frequencies.py -p ../data/london/posts/data.json 20`
|
||||
|
||||
which will produce a figure similar to that shown below:
|
||||
|
||||

|
||||
|
||||
<p align="center">
|
||||
<img src="https://user-images.githubusercontent.com/18430739/166878928-d146b352-b68c-4ab4-bd2c-feb2f0140df9.png" height="500" alt="Top 20 most frequent common hashtags in posts containing the #london hashtag">
|
||||
</p>
|
||||
|
||||
Clearly, the highest occurrence will be of the `#london` hashtag, as all posts in the file `data/london/posts/data.json` contain the hashtag `#london`.
|
||||
|
||||
- The results can be displayed in tabular form by executing the following command:
|
||||
@@ -144,4 +145,4 @@ Assume we want to analyze the top 20 occurring hashtags in the downloaded posts
|
||||
19 america 20 0.02079002079002079
|
||||
```
|
||||
|
||||
The `Frequency` column shows the ratio of the occurrence to the total number of downloaded posts.
|
||||
The `Frequency` column shows the ratio of the occurrence to the total number of downloaded posts.
|
||||
|
||||
Reference in New Issue
Block a user