Skip to content

Commit

Permalink
july added
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbenes1996 committed Aug 21, 2020
1 parent e6cee3a commit b830a9b
Show file tree
Hide file tree
Showing 10 changed files with 4,780 additions and 10,533 deletions.
6 changes: 3 additions & 3 deletions covid19poland/PLtwitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,11 +415,11 @@ def get(cls, start = None, end = None, keys = ['deaths']):
if __name__ == "__main__":
logging.basicConfig(level = logging.INFO)

data,filtered,checklist = PolishTwitter.get(datetime(2020,7,1),datetime(2020,7,18))
data,filtered,checklist = PolishTwitter.get(datetime(2020,7,31),datetime(2020,8,16))

with open("data/7_in.json", "w") as fd:
with open("data/8_in.json", "w") as fd:
json.dump(data, fd, sort_keys=True, indent = 4, separators = (',',": "))
with open("data/7_out.json", "w") as fd:
with open("data/8_out.json", "w") as fd:
json.dump(filtered, fd, sort_keys=True, indent = 4, separators = (',',": "))
print(checklist)

Expand Down
Loading

0 comments on commit b830a9b

Please sign in to comment.