From bbfe954842c7b066e959932d7da5ec4ad6a5a21b Mon Sep 17 00:00:00 2001
From: johannawild <72805812+johannawild@users.noreply.github.com>
Date: Fri, 25 Feb 2022 19:51:14 +0100
Subject: [PATCH] Update README.md
---
README.md | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index ecadc52..872ff27 100644
--- a/README.md
+++ b/README.md
@@ -42,8 +42,12 @@ The above code download all the trending videos for the hashtag london. Note tha
In the analytics folder, the file hashtag_frequencies.py will plot the frequencies of top occurring hashtags in a given set of posts.
Assume we want to plot the graph of top 20 occurring hashtags in the downloaded posts of the hashtag london.
-1. Run the command: python3 hashtag_frequencies.py -p ../data/london/posts/data.json 20 -v
+1. Plotting the saving the image as a png file: python3 hashtag_frequencies.py -p ../data/london/posts/data.json 20 -v
The figure above shows the top 20 occurring hashtags among all the posts downloaded for the hashtag london. Clearly, the highest occurrence will be of the hashtag london as the file data/london/posts/data.json contain all the posts with hashtag london.
+
+2. Printing the result in the shell: python3 hashtag_frequencies.py -d ../data/london/posts/data.json 20 -v
+
+