Skip to content

Commit dd33237

Browse files
committed
wip
1 parent 2601979 commit dd33237

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

automation.py

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
import os
2-
31
from tsd_users_plotly import generate_tsd_reach_plot, generate_tsd_user_types_plot
42

53
if __name__ == "__main__":
6-
os.makedirs("data", exist_ok=True)
74
generate_tsd_reach_plot()
85
generate_tsd_user_types_plot()
96

tsd_users_plotly.py

+2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
import pandas as pd
33
import requests
44
import plotly.express as px
5+
import os
56

67
DATASET_PATH = "data/tsd-users.csv"
78

9+
os.makedirs("data", exist_ok=True)
810
datasheet_id = get_datasheet_id()
911
r = requests.get(
1012
f"https://docs.google.com/spreadsheet/ccc?key={datasheet_id}&output=csv"

0 commit comments

Comments
 (0)