bgautijonsson / covid19

33 stars 7 forks source link

Authentication for googlesheet4 not necessary. #5

Closed blitzkopf closed 4 years ago

blitzkopf commented 4 years ago

As the google sheet used in the code is public it is not necessary to authenticate against google every time. Instead of sheets_auth(email = "bgautijonsson@gmail.com") you could use
sheets_deauth() That way you do not need to have a browser session to do the authentication.

tryggvigy commented 4 years ago

You can also fetch the csv files directly

Smit: https://docs.google.com/spreadsheets/d/1xgDhtejTtcyy6EN5dbDp5W3TeJhKFRRgm6Xk0s0YFeA/export?format=csv&gid=0

Spitali: https://docs.google.com/spreadsheets/d/1xgDhtejTtcyy6EN5dbDp5W3TeJhKFRRgm6Xk0s0YFeA/export?format=csv&gid=1167203444

Aldur: https://docs.google.com/spreadsheets/d/1xgDhtejTtcyy6EN5dbDp5W3TeJhKFRRgm6Xk0s0YFeA/export?format=csv&gid=2147090221

bgautijonsson commented 4 years ago

Thanks, guys. You are doing god's work.