Coder Social home page Coder Social logo

kyutechoncampus's Introduction

KyutechOnCampus

Googleロケーション履歴からキャンパス出勤時間を抽出します.

使い方:

index.htmlをダウンロードして,ブラウザでファイルとして開いて下さい.そこに書かれた説明のとおりにExcelを作成すれば,出勤簿の出来上がりです.

事前設定

index.html内のcampuses及びmidnight_endを設定してください.

  • campusesはキャンパス所在地の緯度・経度のリストです.

    • キャンパスの所在地はGoogle Mapで取得できます.キャンパス周辺の地図を表示し,キャンパス敷地の左下と右上でそれぞれ右クリックして「この場所について」を選択すると所在地の緯度経度が表示されます.
    • 複数のキャンパスを並べるときは,行末の「,」が構文エラーにならないように気を付けて記述してください.
  • midnight_endは前日深夜とみなす境目の時刻です.

キャンパス出勤時間抽出ツールの使い方

Googleロケーション履歴からキャンパス出勤時間を抽出します. ロケーション履歴のデータはどこにも送られませんので,安心してご利用下さい.

  1. ブラウザでGoogleアカウントにログインした状態で,以下のURLにアクセスする. https://takeout.google.com/settings/takeout
  2. [選択解除]をして[ロケーション履歴(Location history)]だけチェックを入れ,[次へ] [アーカイブを作成]→準備画面に遷移し,しばらく待ちます.
  3. 準備が終わったら,[ダウンロード](再度パスワードを聞かます.)
  4. ダウンロードしたtakeout-*/を解凍すると,以下のファイルが有るはずです. ロケーション履歴/ロケーション履歴.json
  5. このファイルを以下のファイル選択から選択します.
  6. するとその下に指定した年・月の職場滞在時間が抽出されます.
  7. 必要に応じて年・月を切り替えて下さい.
  8. それをコピーして,記録簿のExcelに[形式を選択して貼り付け]→[テキスト]で貼り付けます.
  9. 以上! (※深夜は3時までを前日と数えます.ただし月末の深夜は考慮していません!)

kyutechoncampus's People

Contributors

sozolab avatar pman0214 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.