This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib.request | |
from urllib.error import HTTPError | |
from io import BytesIO | |
from zipfile import ZipFile | |
import pandas as pd | |
from datetime import datetime | |
# BAG documentation: https://www.covid19.admin.ch/api/data/documentation | |
# Closed license: https://www.admin.ch/gov/en/start/terms-and-conditions.html | |
# This script is untested. Use at your own risk. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# requirements: pandas, xlrd | |
import pandas as pd | |
import json | |
with open('your_off-facebook_activity.json', encoding='utf-8') as f: | |
data = json.load(f) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: gpl-3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
height: 650 | |
license: mit |