Skip to content

Instantly share code, notes, and snippets.

View maetatomoko's full-sized avatar

maetatomoko

  • Japan
View GitHub Profile
@maetatomoko
maetatomoko / covid19radar_detail.py
Created August 10, 2020 10:59 — forked from reinforce-lab/covid19radar_detail.py
日本のCOVID-19接触確認のデータを取得して、アイテムを見る。
import urllib
import json
import datetime
import requests, zipfile, io
import collections
import pprint
import export_pb2
import math
# 曝露通知情報を取得する。
@maetatomoko
maetatomoko / export-named-sheet-as-csv.gs
Created August 10, 2020 10:56 — forked from mrkrndvs/export-named-sheet-as-csv.gs
Google apps script to export an individual sheet as csv file
/*
* script to export data of the named sheet as an individual csv files
* sheet downloaded to Google Drive and then downloaded as a CSV file
* file named according to the name of the sheet
* original author: Michael Derazon (https://gist.github.com/mderazon/9655893)
*/
function onOpen() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var csvMenuEntries = [{name: "Download Primary Time File", functionName: "saveAsCSV"}];