ããã«ã¡ã¯ãHabrïŒ ç¬èªã®ããã°ããŒã¿ãã©ã®ããã«äœæãããããäŒãããããšæããŸãã
ãã¹ãŠã®ã¹ã¿ãŒãã¢ããã¯ãå®äŸ¡ã§é«å質ã§æè»æ§ã®ãããã®ãæ§ç¯ããããšèããŠããŸãã éåžžãããã¯èµ·ãããŸããããæåããããã§ãïŒ ä»¥äžã¯ãç§ãã¡ã®æ±ºå®ã®èª¬æãšããã®åé¡ã«é¢ããç§ã®çŽç²ã«äž»èŠ³çãªæèŠã§ãã
ã¯ããç§å¯ã¯6ã€ã®GoogleãµãŒãã¹ã䜿çšããããã€ãã£ãã³ãŒããã»ãšãã©æžãããŠããªãããšã§ãã
äœãå¿ èŠã§ãããïŒ
ç§ã¯ã·ã³ã¬ããŒã«ã®æ¥œããã¹ã¿ãŒãã¢ãããBubblyã§åããŠããŸããBubblyã¯é³å£°ãœãŒã·ã£ã«ãããã¯ãŒã¯ãäœã£ãŠããŸãã ç§Theã¯ãã¹ããŒããã©ã³ãªãã§äœ¿çšã§ãããšããããšã§ããå€ãè¯ãããã¢ã§ãã ãŠãŒã¶ãŒã¯ç¹å¥ãªçªå·ãåŒã³åºããŠãã¡ãã»ãŒãžãèããããã¡ãã»ãŒãžãé²é³ãããã§ããŸãã ãã¹ãŠã®å£°ãããªãã䜿çšããããã«èªãããšãã§ããå¿ èŠã¯ãããŸããã
æ±åã¢ãžã¢ã§ã¯ãæ°åäžäººã®ãŠãŒã¶ãŒãããŸãã ããããæºåž¯é»è©±äŒç€ŸãéããŠæ©èœãããããä»ã®åœã§ã¯èª°ãç§ãã¡ã«ã€ããŠäœãç¥ããŸããã ãããã®ãŠãŒã¶ãŒã¯ãããããæ¹æ³ã§ç»é²ããã³åæããèšå€§ãªéã®ã¢ã¯ãã£ããã£ãçæããŸãã
- éèŠãªææšããªã³ã©ã€ã³ã§æŽæ°ããŠçŸããããã·ã¥ããŒããäœæãã
- ãµãŒãã¹ã®æäœãšãšã©ãŒãç£èŠãã
- A \ Bãã¹ããå®è¡ãããŠãŒã¶ãŒã®è¡åãåæãã
- ããŒãããŒã«å ±åãã
- ...
äžè¬çã«ã誰ããå¿ èŠãšããåžžã«å®çšçãªã¿ã¹ã¯ã
ãªãè»èŒªãåçºæããã®ã§ããïŒ
ãã§ã«æ¢æã®ãœãªã¥ãŒã·ã§ã³ãããã®ã«ããªãäœããæ§ç¯ããã®ã§ããããïŒ ãã®ãããªåæ©ã¯ç§ãå°ããŸããïŒ
1. Mixpanelã䜿ããããªãïŒåæ§æè ã®çããïŒïŒ
- ããŒã¿ãå®å šã«å¶åŸ¡ã§ããªãå Žåãä»ã®èª°ãã®æ¢è£œã®ã·ã¹ãã ãçããªããšãã質åãåžžã«ãããŸãã ã¯ããMixpanelãšã¯ã¹ããŒãAPIããããå€ãã®APIã䜿çšã§ããããšãç¥ã£ãŠããŸãã ãããå®éã«ã¯ããã®ãããªç¶æ³ã«äœåºŠãäœåºŠãã€ãŸãããŸããã å®å šã«å¶åŸ¡ãããã
- ããããçš®é¡ã®ããŠã£ãã·ã¥ãªã¹ããã®æã¯ãä»ã®èª°ãã®æææš©ã®ãã補åã«ãã蟌ãŸããªããã°ãªãããããã¯ããŸã䟿å©ã§ã¯ãããŸããã ããšãã°ãäœããå£ããŠããå ŽåããµããŒããããŒãžã£ãŒãžã®SMSã¢ã©ãŒãã ãŸãã¯ããµãŒãããŒãã£ããŒãããŒãžã®ç¹å¥ãªã¬ããŒãã ãããŠããã®ãããªæ©èœã¯äºåã«äºæž¬ããããšã¯ã§ããŸããã
- æ¬åœã«é«ãã§ãïŒ ãã¹ãŠã®ããŒã¿ã§ã¯ãªããå€ãã®äººãäœããã®æ¹æ³ã§ã³ã¹ããåæžããããã«ãããã«ã©ã³ãã ãªãµã³ãã«ã®ã¿ãã¢ããããŒãããããšãç¥ã£ãŠããŸãã ããããããã¯ããèªäœãéåžžã«çããã幞çŠã§ãã
2.ãç¬èªã®ããœãªã¥ãŒã·ã§ã³ãæ¬åœã«å¿ èŠãªå Žåã¯ããã¹ãŠã®ã¹ã¿ããã£ã³ã°ã§HadoopãæªæããŠãã ããã
- ãµãŒããŒãäžããŠããã¹ãŠãæ§æããå¿ èŠããããŸãã ãã¡ããããã¹ãŠãæ¢ã«ãæ§æããããŠãããã¹ããããHadoopããããŸããããããã®èšå®ã«å¯ŸåŠããå¿ èŠããããŸãã
- Hadoopã¯åãªãã¹ãã¬ãŒãžãšã¯ãšãªã§ãã ä»ã®ãã¹ãŠã®æ©èœã¯èªåã§è¡ãå¿ èŠããããŸãã
MySQLã®ããŒã¿ãå€ããããããMySQLã¯æããã«ã¿ã¹ã¯ã«é©åããŸããã
ç°¡åã«ã©ã®ããã«æ©èœããã
- Google Big Queryã®ãµãŒããŒã®ãŠãŒã¶ãŒããã®ãã¹ãŠã®ãã€ãã³ãããåããŸã
- Big Queryãžã®ã¯ãšãªãšãã®åŸã®ããŒã¿åŠçã«ã¯Googleã¹ãã¬ããã·ãŒãã䜿çšããŸãã ãã¹ãŠã®ããžãã¯ã¯ãã¹ãã¬ããã·ãŒããšããã«æ¥ç¶ãããã¹ã¯ãªããå ã«ãããŸãã
- 次ã«ãGoogle Chartã䜿çšããŠåä¿¡ããŒã¿ãèŠèŠåããŸãã
- ãããã®ã°ã©ãã£ãã¯ãGoogleãã©ã€ãã§ãã¹ããã
- ãããã®ãã£ãŒãã¯ãåäžã®ãããã·ã¥ããŒããã§Googleãµã€ãã«åéãããŸã
- æåŸã«ãGoogleãµã€ãã®äžçªäžã«ããã®ã¯Googleã¢ããªãã£ã¯ã¹ã§ããã®ã¢ããªãã£ã¯ã¹ã®ãã¹ãŠã®ãŠãŒã¶ãŒã管çããŸãã
ãã®ã¢ãããŒãã®å©ç¹ïŒãããããéã®ããã«Googleã宣äŒããŠããããã§ã¯ãããŸããã æ®å¿µã§ã ïŒ
ããã°ã¯ãšãª-é·æ
- ãã®ããŒã¿ããŒã¹ã«ã¯ã倧éã®ããŒã¿ãä¿åã§ããŸãã ã¹ã±ãŒã©ããªãã£ã®åé¡ã¯äŸ¡å€ããããŸããã
- ä»ã®ãœãªã¥ãŒã·ã§ã³ãšæ¯èŒããŠ1ãããŒã®äŸ¡å€ããããŸãã è²»çšã«ã€ããŠã¯å¥éèšèŒããŸãã
- å®éããªã¯ãšã¹ãã¯20ç§æªæºã§å®äºããŸãã ããã¯ãã¹ã³ã¢ãããããæ°åéã§ããHadoopãšã¯å€§ããç°ãªããŸãã äžåºŠå®çŸ©ãããæšæºã¯ãšãªã®å Žåãéãã¯å°ããããã§ãã ããããããŒã¿ããããªãŒãã©ã€ããïŒã¢ãããã¯ïŒã§èŠãããè©Šè¡é¯èª€ã§äœãã修埩ããããããšãããããªäžæåæ¢ã§ãã¯ãŒã¯ãããŒå šäœãäžæãããã¢ããªã¹ãã®äœæ¥ã®å¹çãäœäžããããšããããŸãã ãããã人çã§ã¯ããã®ãããªã¿ã¹ã¯ãçµæ¥è¡ãã ãã§ããããšãããããŸãã Big Queryã®éåžžã«éèŠãªå©ç¹ã
- Webã€ã³ã¿ãŒãã§ãŒã¹ã®ãããªå°ããªãã³ãæ¬åœã«åœ¹ç«ã¡ãŸãã
æ¹åç¹ïŒ
ã·ã¹ãã ã«ã€ãã³ããè¿œå ããäœãèããªãããã«ãBig Queryã§ã¹ããŒãã¬ã¹ãå®çŸãããã£ãã®ã§ãã ãã®ãããããŒããŒã«ã³ãŒãã®äžéšããã蟌ãŸããBig Queryã§çŸåšã®ããŒãã«ã¬ã€ã¢ãŠãããã§ãã¯ãããããŒããããã®ãšæ¯èŒãããŸãã æ°ããåãããå ŽåãBig Query APIãä»ããŠããŒãã«ã«è¿œå ãããŸãã
Googleã¹ãã¬ããã·ãŒã-é·æ
ããŒã¿åæã®ããã®ã¹ãã¬ããã·ãŒãã«åããã®ã¯ãããŸããã ããã¯ç§ã®å ¬çã§ãã ã¹ãã¬ããã·ãŒãã¯ãMS Excelããããã®ã¿ã¹ã¯ã«é©ããŠããŸãïŒã©ãã ãæ°ã«å ¥ã£ãŠãïŒã ãã®çç±ã¯æ¬¡ã®ãšããã§ãã
- ããã«äœ¿çšå¯èœãªBig Queryã§åäœããŸãïŒ Goolgeãã¥ãŒããªã¢ã« ïŒ
- ãã¹ãŠãã¯ã©ãŠãã«ãããã¹ã¯ãªããã¯ã¹ã±ãžã¥ãŒã«ã«åŸã£ãŠããŒã¿ãæŽæ°ã§ããŸã
- ã¯ãã¹ãã©ãããã©ãŒã ïŒ PCãšMacã§çããåäœããŸãã
- æ¢ã«äŸ¿å©ãªæ©èœããããããããŸã-ã¡ãŒã«ãªã©
æ¹åç¹ïŒ
ãã¥ãŒããªã¢ã«ã®ã¹ã¯ãªããã¯å°ãå€æŽãããŠããŸãã ä»ã圌ã¯ã¹ãã¬ããã·ãŒãã§åã·ãŒãããã§ãã¯ããŸãã ãSQLããã»ã«A1ã«æžã蟌ãŸããŠããå ŽåãA2ã¯Big Queryã®ã¯ãšãªã§ãã ã¹ã¯ãªããã¯ãã¯ãšãªçµæãåãã·ãŒãã«é 眮ããŸãã
ããã¯ã䜿çšæã«ã³ãŒãã«ãŸã£ãã觊ããªãããã«ããããã§ãã æ°ããã·ãŒããäœæãããªã¯ãšã¹ããäœæããçµæãåŸãŸããã
Googleãã£ãŒã-é·æ
- èŠèŠåã©ã€ãã©ãªã¯å€æ°ãããŸãããGoogleã®æ¹ãä¿¡é Œæ§ãé«ãæ©èœçã§ãããšããæèŠããããŸãïŒãã¡ãããChartsãReaderãšããŠäœæããŠããå Žåãé€ããŸãïŒã
- ã¹ãã¬ããã·ãŒãããã®ãŸãŸäœ¿çšã§ããŸãïŒ Googleã®ãã¥ãŒããªã¢ã« ïŒ
- SQLãExcelã䜿çšããŠããªãããžãã¹ããŒãœã³ã§ãããããŒã¿ãéåžžã«æ·±ãæäœã§ããã€ã³ã¿ã©ã¯ãã£ããªã³ã³ãããŒã«ã«è²·åãããŸããã
Googleãµã€ã/ Googleãã©ã€ã-é·æ
- Googleãéçºããã¢ã¯ã»ã¹æš©ã®ã·ã¹ãã ã䜿çšã§ããŸãã Dropboxã«èªã¿åãå°çšã¢ã¯ã»ã¹ãäžããããšã¯ã§ããŸããããã§ããŸãã
- Google Sitesã«ã¯wysiwygãšãã£ã¿ãŒããããå人çã«ã¯ãšãŠãæ°ã«å ¥ã£ãŠããŸãã
- GoogleãµãŒãã¹ã§ã·ã¹ãã å šäœãæ§ç¯ããåŸãååããããããæåŸãŸã§äœ¿çšããããšã«ããŸããã
Googleã¢ããªãã£ã¯ã¹
ååž°ïŒ ããã·ã¥ããŒãã«ã¯çŽ30人ã®ãŠãŒã¶ãŒãããŸãã ãªãœãŒã¹äœ¿çšçµ±èšãåæããã®ã«ååã§ãã é©ãããšã§ã¯ãªãããGoogle Sitesã¯æ°åã¯ãªãã¯ããã ãã§Google Analyticsãšçµ±åãããŸãã ããŒãžãã©ãã£ãã¯ã¯ããã®æ¹åã§ã·ã¹ãã ãæ¹åããããã«ãã©ã®ããŒã¿ãæãèå³æ·±ããã客芳çã«ç€ºããŸãã
ãœãªã¥ãŒã·ã§ã³ã³ã¹ãã«ã€ããŠ
ã©ã®ã·ã¹ãã ã§ããæãé«äŸ¡ãªã®ã¯éçºã«å¿ èŠãªæéãšãéçºãšãµããŒãã«è²»ããããå·¥æ°ã§ãã ãã®æå³ã§ã¯ãã³ãŒãã¯ã»ãšãã©æžãããŠããªãããããã®ãœãªã¥ãŒã·ã§ã³ã¯çæ³çã§ãã ãããžã§ã¯ãå šäœã¯ãä»ã®ã¿ã¹ã¯ãšäžŠè¡ããŠ1人ã§è¡ãããæåã®ããŒãžã§ã³ã¯1ãæã§äœæãããŸããã
ãã¡ãããGoogleãµãŒãã¹éã®çµ±åãå£ããå¯èœæ§ããããšããç念ãããïŒãã®ãã¥ãŒããªã¢ã«ã§ã¯ãããæ¢ã«è¡ãããŠããããšã瀺ããŠããŸãïŒããµããŒãã®åªåãå¿ èŠã«ãªããŸãã ããããç§ã¯äœãæªãããšãæåŸ ããŠããŸããã
çŽæ¥è²»çšã«ã€ããŠã¯ãã·ã¹ãã å šäœã§Big Queryã®ã¿ãè²»çšãããããŸãã ææã®ããŒã¿ã¹ãã¬ãŒãžãšããŒã¿ãªã¯ãšã¹ãã ããããããã¯ã»ãã®äžéã§ãïŒ 1æ¥ã«6,000äžä»¶ã®ã€ãã³ããäœæãã1ãæããã200 USDãè¶ ããæ¯æããè¡ã£ãããšã¯ãããŸããã
Big Queryã®éèŠãªã¢ããªã³
ããã©ã«ãã§ã¯ãBig Queryã¯ããŒãã«å šäœãã¹ãã£ã³ããŸãã åžžæã€ãã³ãã1ãæã«ä¿åãããŠããå Žåããªã¯ãšã¹ãã¯æéãšãšãã«é ããªããããé«äŸ¡ã«ãªããŸãã
ææ°ã®ããŒã¿ãåžžã«æãèå³æ·±ãã®ã§ããããã®ããŒãã«ãæ¯æããŒããŒã·ã§ã³ããããšã«ãªããŸããã æ¯æãeventsããŒãã«ã¯events_201401Janãevents_201402Febãªã©ã«ããã¯ã¢ãããããŸãã
ãã®ãããªæ§é ã«ã¯ãšãªã䟿å©ã«ããããã«ãSQLèšèªãå°ãæ¡åŒµããŸããã 幞ããªããšã«ããã¹ãŠãã¹ãã¬ããã·ãŒãããç¬èªã®ã¹ã¯ãªãããå¶åŸ¡ããå¿ èŠã«å¿ããŠãªã¯ãšã¹ãã解æããã³åŠçã§ããŸãã 次ã®ã³ãã³ããè¿œå ããŸããã
- FROMDATASETããŒã¿ã»ãã-ããŒã¿ã»ããå ã®ãã¹ãŠã®ããŒãã«ãé çªã«ã¯ãšãªããŸãã ããã¯ãå šæéã«ããã£ãŠããŒã¿ãèŠæ±ããå¿ èŠãããå Žåã§ã
- FROMLASTããŒãã«-çŸåšã®ããŒãã«ãšå æã®ããŒãã«ãç §äŒããŸãã ããã¯ãããšãã°éå»7æ¥éã®ããŒã¿ãå¿ èŠãšããã¯ãšãªçšã§ãã ãã®ãããæã®åãã«ããªã¯ãšã¹ãã¯å®å šãª7æ¥éãè¿ããçŸåšã®æã®ãã®ã§ã¯ãããŸããã
ä»åŸã®èšç»ïŒ
- SQLãå®è¡ããã¹ã¯ãªãããèŠãŸããã ç§ã¯åœŒã«ãPIVOTãªã©ã®ããããçš®é¡ã®æçšãªå€æãç¥ã£ãŠã»ããã
- Google Chartçšã®ãžã°ãœãŒJavaScriptã çæ³çã«ã¯ãã³ãŒãã«è§Šããå¿ èŠæ§ããã¹ãŠåãé€ãããã§ãã Excelããããã°ã©ãã®ããã«ãã¯ã³ã¯ãªãã¯ã§ã°ã©ãã®ã¿ã€ããåãæ¿ããããã©ã®è»žã®ã©ã®ã·ãªãŒãºã«åãæ¿ããããªã© ãããããããã¯ã°ããŒãã«ãªèšç»ã§ãã
- ãã¹ããããããŒã¿ãè©ŠããŠã¿ããã ãµãŒããŒäžã®åå¥ã®ãŠãŒã¶ãŒã»ãã·ã§ã³ããã®ãã¹ãŠã®ã€ãã³ãã1ã€ã®ã¬ã³ãŒãã«ãœãŒãã§ããŸãã ã€ãŸããã»ãã·ã§ã³å ã®ã€ãã³ãïŒãã®å Žåã®åŒã³åºãïŒã¯ããã®ã»ãã·ã§ã³ã®ãåäŸãã«ãªããŸãã çè«çã«ã¯ãããã«ããããã€ãã®æ··ä¹±ããã¯ãšãªãç°¡çŽ åãããã¯ãã§ãã
ãã®ãã¹ãŠãã©ã®ããã«æ©èœãããã¯ãããã®äŸã§èŠãããšãã§ããŸã ã
ç¥èã®ãã人ã«æèŠãèšã£ãŠã»ããã ãã®ããããã®èšäºã¯æžãããŠããŸãã
PSããã¹ãã®èª€ããšPMã®ç§ã®è±èªã«ã€ããŠæžããŠãã ããããã¹ãŠãèšæ£ããŸãã
PPSç§ã¯ãŸã£ããããã°ã©ããŒã§ã¯ãªãã®ã§ãç§ã®ã³ãŒãã¯æããããããŸããïŒããããããŸããããŸãïŒïŒã ç§ã¯å»ºèšçãªæ¹å€ãåãã§ããŸãã