Inflearn brand logo image
Inflearn brand logo image
Inflearn brand logo image
BEST
Data Science

/

Data Analysis

BigQuery(SQL) 活用編(ファネル分析、リテンション分析)

Google Analytics 4、Firebaseデータの形式でのアプリログ分析を行います。 配列、ウィンドウ関数、ファネル、リテンション、Google Sheetsなど、実務で使用する際に役立つ内容を盛り込みました。

  • kyleschool
데이터분석
bigquery
데이터시각화
SQL
Firebase
Google Sheets
Google Analytics

学習した受講者のレビュー

こんなことが学べます

  • ビッグクエリ

  • SQL

  • Google スプレッドシート

  • ウィンドウ関数

  • ARRAY, STRUCT 扱う(UNNEST)

  • アプリログデータ分析

  • リテンション分析

  • ファネル分析

Google Analytics 4、Firebaseのデータを活用して、ファンネル分析/リテンション分析はどうすればよいですか?

新時代初めて、Google Analytics、Firebaseデータに触れました。その当時はユーザーログデータについての資料がほとんどなかった時期ですが、このデータをどう扱うべきか感が取れませんでした。複数の資料を見ながら、GA4/Firebaseで生成されたユーザーログデータをBigQueryにロードし、そのロードされたデータをどのように分析するかを知りました。その経験が積み重なり、積み重ねられ、今私自身のパターンが作られました。その内容を共有しようとしています。

BigQueryの活用では、ファンネル分析とリテンション分析を行いながら、初心者向けのBigQuery(SQL)入門で扱っていない関数を学習します。 BigQueryに触れる際に難しい部分にはARRAY、STRUCTがあります。その後はウィンドウ関数をお知らせしますが、ウィンドウ関数を最初によく身につけておくと、これからSQL作成する過程で非常に楽になります。実務で経験したケースに基づいてウィンドウ関数についてお知らせします。

🎈 Google Analytics 4、Firebaseをお使いの方におすすめです🎈

Google Analytics 4、Firebaseにはリテンション機能がありますが、機能の制限として実際に使用するのは難しいです。

  • 機能の制限:データをサンプリングし、リテンションで詳細な条件を設定することは困難です。

このため、データをBigQueryにエクスポートして直接リテンションを作成する必要があります。そのような状況があれば、この講義を受講すればすぐに適用できます。どのような基準でリテンションを作成するか、どのように解釈するかを詳しく説明します。

🚀SQLコーディングテスト準備にもおすすめです🚀

SQLコーディングテストの基本的な部分は入門編を見ると解くことができ、 SQLコーディングテストで深化的な内容はウィンドウ関数や特定ロジックを与えてデータを抽出する問題がしばしば出てきます。これらの問題は問題をたくさん解くことも可能ですが、難しいロジックを直接考える過程が必要です。

講義でいくつかの練習問題を提示しながら解くことができるように講義を設計しました。 ARRAY、Windows関数パーツは練習問題を押しながら感覚を身につけることができるでしょう。ウィンドウ関数では、ほとんど同様のパターンで問題が出題されます(データの違いのみ存在)。これらの問題を見て、どのように問題を解決するのか悩んでください。

リテンションパーツやカスタムセッション作成部分では特定のロジックを具体化しながら、その部分をクエリで作成します。データの入力と最終的に必要な出力形式を考え、そのプロセスの中間出力を考え、クエリを作成します。この部分が最初に難しい感じがすることができますが、大丈夫です。この講義は、力量を最大に上げるための講義で、最初はそんな感情がかかるのが当たり前です(私もそうでしたが)、講義をよく受講すればSQLの力量が多く上がると思います。


活用編まで受講し、コーディングテストに関する意見を残してくださった受講生分もいらっしゃいます。私たちが知っている国内ユニコーン企業のコーディングテストに合格したとします。

🎁 BigQuery かなり使っていたり、他のDBを使う方もおすすめですよ🎁

BigQuery を 3~4 年以上使った方も助けを得るためにはどうしたらよいでしょうか?

また、会社でBigQueryを必ず使わなくても(Sparkや他のDWを使っても)この講義を聞きながら得られることがあるでしょう。クエリを作成するフロー、どのような問題を解決するためにクエリを作成しますか?どのように考えるべきですか?この部分があなたに役立つでしょう。


受講生が残した後期を共有します。


他の受講生分が残してくださった後期文の一部を共有します(詳細は下文で見ることができます)

SQLキャリア5年目がビッグクエリ講義を聞くと…?

この講義を聞くべきかどうかを確認するための問題


以下の2つの問題を見て、正しい答えが出てくるかどうか考えてください。
最初の問題は、どのActionをすべきかを具体的に考える問題であり、単に1~2行で終わるのではなく、具体的なAction Itemを提示することが目的です。
2番目の問題は、ウィンドウ関数のうちNULL処理に関する問題です(ウィンドウ関数の練習の問題:単にLAG関数ではなく特定のオプションを与えなければ正常な値を得ることができます)

講義から出てくるWeekly Retention Curveを解釈する:どのように解釈するのですか?

Windows関数の練習問題:単にLAG関数ではなく、特定のオプションを与える必要があります

上記の質問に答えがない場合は、この講義を受講することをお勧めします。

この講義の特徴

📌アプリログデータを直接作成しました。約70万Row高、配信サービスのアプリデータを制作しました

📌BigQueryの深化文法(ARRAY、STRUCT、UNNEST、Windows関数、DECLAREなど)を共有し、いつどのように活用するかを共有します。実務で必ず必要な内容だけを入れました

📌単にクエリだけを作成し、終わりではなく、ファンネル分析/リテンション分析を行い、どのように解釈すべきかを共有します。低年次の頃にクエリだけを作成し、会社でどのように考えるべきかはとても難しかったです。この部分の経験を共有します。

📌Google Sheetsを使って簡単に視覚化できる方法も共有し、スケジュールクエリ、VIEWなどの実務で役に立つことができる内容も共有します。

📌練習問題と課題が存在します。文法に慣れなければならない部分には練習問題を提供し(ARRAY:4問題、PIVOT:3問題、ウィンドウ関数:9問題)、リテンション分析と全体課題では実務で経験できる業務に基づく課題を提供します。この部分を解いて掲示板に載せていただくとフィードバックをさせていただきます。

📌この講義は初級者対象ではなく、初心者のための BigQuery(SQL) 入門講義を受講されたか SQL JOIN について知っている方対象に講義を進行します


こんな方におすすめです

アプリログを分析する必要がある方
単にクエリだけを作成するのではなく、アプリログを分析して、Action Itemを導きたい方

BigQueryの深化学習が必要な方
会社でBigQueryを使用するためにさらに深化学習が必要な方

Product Analystの職務にいる方
製品アナリスト職務におられたら、ぜひ体験するファンネル分析、リテンション分析について気になる方

受講後は

  • BigQueryを活用してファンネル分析ができるようになります。ファンネル分析でどんな部分が重要かを考えるようになり、ファネルのためのクエリも作成できるようになります。

  • BigQueryウィンドウ関数を使用できるようになります。さまざまな種類のウィンドウ関数とどのような状況で使用すべきかを練習する問題を解決しながら、慣れることができます

  • BigQueryでARRAY、STRUCTを扱うことができます

  • BigQueryでPIVOTができるようになります

  • リテンション分析をどのように進めるか、どのようにクエリを作成するかを知ることができます。

  • UDFを保存して活用できるようになります

  • Google Analytics 4、Firebaseのログデータを活用する方法を理解する

  • Google Sheetsを使用してBigQueryのデータをエクスポートして視覚化することができます。


🔥講義受講後、コーチングイベント🔥

講義を75%以上受講した後、アンケートを残していただければコーチングを行います。コーチングのトピックでは、BigQuery の活用編に記載されている課題に基づいて、どのように書くべきかについて、詳細なフィードバックを提供します。あるいはこの課題については軽くだけ話し、個人の悩みについて話すことも可能です。

詳しくは講義0-5をご覧ください

この講義を作った人

  • Cloud Google Developer Expert(GDE)

  • Googleビッグクエリ完璧ガイド翻訳者

  • ブーストキャンプAI Techインストラクター - Product Serving/ラーニングマスター(2022年~現在)

  • カイルスクール(2022.07~現在):データコーチング、コンサルティング(DA/DS/DE)、教育

  • ソカデータ科学者(2018.09~2022.07)

  • レトリカデータアナリスト&データエンジニア(2017.02〜2018.04)

  • 技術ブログ: https://zzsza.github.io/

  • YouTube: カイルスクール

  • Instagram: @data.scientist

このような内容を学びます。

ファンネル分析の大流量図

リテンション分析の大流量図


ウィンドウ関数コア総整理


配列データの取り扱い: UNNESTで平面化


受講前の注意

練習環境

  • BigQueryはWebブラウザで進行するため、Mac、Windowsに関係なく受講できます

  • 初心者のためのBigQuery(SQL)入門講義に出てくるプロジェクトの作成までやってきてください。

学習資料

  • PDFで提供しており、ディスコードチャンネルも運営しているので気になる内容があれば楽にご質問いただけます。

選手の知識と注意事項

  • 初心者のためのBigQuery(SQL)入門講義を受講して来てこそ円滑に理解が可能です

  • ただし、受講していない方のために講義を要約し、必要な部分のみ部分的に受講できるように言及します。

  • ブログに講義記録を残したい場合には、講義URLを残していただければ可能です。ただし、データやPDFファイル自体を共有することは不可能です。

    • ただし、講義の大部分を上げることは著作権関連の問題が存在する可能性があります。講義で必ず覚えたい核心と自分の考えを載せて文を書いてみることをお勧めします。

    • ブログの記事を見れば講義を受講しなくても大丈夫か?視点で考えればいいです

こんな方に
おすすめです

学習対象は
誰でしょう?

  • 初心者向け BigQuery(SQL) 入門を学習し、追加学習を希望される方

  • データアナリストの方でSQLスキルを伸ばしたい方

  • プロダクトアナリストとして、BigQueryでファネル分析、リテンション分析を行う必要がある方

  • BigQuery 配列データ, ウィンドウ関数を習得したい方

前提知識、
必要でしょうか?

  • 初心者向け BigQuery(SQL) 講座

  • 基本的なSQL文法は知っている必要があります(SELECT, FROM)

こんにちは
です。

12,724

受講生

388

受講レビュー

351

回答

4.9

講座評価

5

講座

9년차 데이터 과학자, 데이터 엔지니어, 머신러닝 엔지니어로 근무했으며, 쏘카와 타다에서 데이터 분석, 데이터 엔지니어링 개발, 머신러닝 알고리즘을 개발했습니다.

카일스쿨 유튜브에 데이터 커리어 관련 영상을 올리고 있으며, 어떻게 해야 강의를 수강하신 분들이 회사에서 일을 잘할 수 있을까?를 고민하며 자료를 만들고 있어요.

Google의 GDE(Cloud)로 활동하고 있어요.

 

카일스쿨 유튜브 : https://www.youtube.com/c/kyleschool
기술 블로그 : https://zzsza.github.io/
인스타그램 : https://www.instagram.com/data.scientist/
대표 컨텐츠 : https://github.com/Team-Neighborhood/I-want-to-study-Data-Science
데이터 과학자가 되기 위해 진행한 다양한 노력들 : https://zzsza.github.io/diary/2019/04/05/how-to-study-datascience/

カリキュラム

全体

62件 ∙ (10時間 35分)

講座資料(こうぎしりょう):

授業資料
講座掲載日: 
最終更新日: 

受講レビュー

全体

49件

5.0

49件の受講レビュー

  • hbrew0015966님의 프로필 이미지
    hbrew0015966

    受講レビュー 2

    平均評価 5.0

    5

    79% 受講後に作成

    I am a student who completed the basic lecture. - The contents are largely 1. BIGQUERY advanced grammar 2. PM-like thinking. - 1 was what I originally wanted, so I was really satisfied. I think it is definitely something that marketers who will analyze data with GA4 should know. - 2 was something I already knew, but it is something that those who have not actually worked at a company or have worked at a company should know, so I think it will be useful for those who are not familiar with terms such as growth hacking/retention. - Outside of the lecture, what impressed me the most was that you also use Discord, continuously monitor feedback, and even provide 1:1 coaching. Regardless of the lecture fee, I can feel that you are trying to care about your students.

    • kyleschool
      知識共有者

      Hello, homebrew1! Thank you for taking the basic and application courses. If you have any questions while taking the course, I want to help you out, so I run a 1:1 coaching and Discord. We will work together to solve problems and continue to create education that is actually helpful. Thank you!

  • meta025519님의 프로필 이미지
    meta025519

    受講レビュー 1

    平均評価 5.0

    5

    32% 受講後に作成

    *𝓑𝓮𝓼𝓽 𝓢𝓠𝓛 𝓒𝓸𝓾𝓻𝓼𝓮 𝓸𝓷 𝓘𝓷𝓯𝓵𝓮𝓪𝓻𝓷 𝓲𝓷 2024* Those who have read the basic course reviews will know that this is a really, really good lecture for SQL users. 🥺ྀི Personally, Inflearn Number One~ A lecture that I would listen to even if it were twice the price Aren't there always people who have grown into wild queries by using SQL written by others in a position other than an analyst? If I were to recommend just one lecture to my past self, it would be Kyle School... Use BigQuery at your company! (I will explain in detail how to use BigQuery) I can run it by slightly modifying the conditions in the query that has been prepared, but I can't do it alone! I know how to prepare it, but I don't know how it goes through the refining process! I've been waiting for you. I will serve you properly. Buy it now🏃🏃 Then I'll hold my breath until the next part comes out (sigh~)

    • kyleschool
      知識共有者

      Wow, this is such a touching review. There was a time when I had a hard time looking at the queries that I received from my company. I hope that many people will not have to go through this part. Thank you so much for taking the class!!

  • leona님의 프로필 이미지
    leona

    受講レビュー 5

    平均評価 5.0

    5

    100% 受講後に作成

    Thanks to Kyle, I passed the SQL Test and job interview at a domestic unicorn company! Even though I'm an experienced worker, it was my first time taking a coding test, so I was actually quite nervous, but I solved it so easily. The retention problem that you said "comes out when you put in the effort" really came out😆😆 I solved it the easiest thanks to the logic that we covered a lot in the lecture! To be honest, I don't think that "just listening will guarantee you to pass". I participated in a study group, worked hard on solving problems, analyzed other people's solutions in the lecture community, and made my own problems using the data sets you provided and solved them... I tried my best to do as much as I learned. <Tips for getting the most out of the lecture> Beginner: Just listen to the lecture Intermediate: Solve the homework yourself and practice Advanced: Use the community and don't hesitate to get 1:1 coaching (+ I got a lot of advice 1:1 and passed the job interview🤙) Also, many people don't know about the Inflearn roadmap feature, so check it out. https://www.inflearn.com/roadmaps/4639 I've received a lot of help from your blog a few years ago to this lecture, but this is my first time leaving a review. Thank you for being my mentor outside of my company, from my first job search to my work and when I changed jobs🙏 I'm looking forward to the next lecture that you announced at the end!!!

    • tett77님의 프로필 이미지
      tett77

      受講レビュー 18

      平均評価 5.0

      5

      100% 受講後に作成

      I took this course because I participated in the quick study group 💪 I was able to complete the course in a few weeks thanks to the study group:) [Course review] 1. You can experience practical data analysis : The course focuses on data analysis using BigQuery, which is not well explained in existing courses. You can learn about retention, funnel analysis, and cohort analysis, which are widely used but not well covered in other courses. I think this course is the best course to experience how to use BigQuery in the field and practical use. 2. Smooth communication with experienced lecturers The course also operates a Discord room, and another advantage is that you can communicate through the lecture community > Q&A. Compared to other courses, I felt that they tried to listen to the opinions and questions of the students, and it was good to be able to hear advice from someone with experience in data analysis. In particular, upon completion of the course, you can get a one-time consultation ticket, so it feels like you have a mentor. 3. Difficult grammar made easy! : Personally, it was hard for me to learn Windows functions on my own, but it was good that you explained it easily and that I could see how it is used in actual log data. Also, it was good that I could learn about the usage and utilization of unnest and array, which are often used in the field. 4. You can apply what you learned to data similar to the field! : It is often difficult to apply what you learned to actual data, but it was good that there was a curriculum that applied what you learned to log data similar to the field data every time you learned a technology or grammar. [Recommended for] 1. Those who want to experience SQL-based data analysis 2. Those who want to experience practical data analysis 3. Those who dream of becoming a data analyst and those preparing for a job change

      • kyleschool
        知識共有者

        Thank you for leaving a detailed review of the course after the introduction and the utilization course. I think Mangomatgae has improved through this experience. I hope you will continue to improve in the future! Please come to Coaching Kwon when you have any concerns..!

    • jaanepark님의 프로필 이미지
      jaanepark

      受講レビュー 3

      平均評価 5.0

      5

      100% 受講後に作成

      Since it is a small startup and there is no data analyst, PMs often directly extract data through queries. However, I have not attempted retention and funnel analysis because the queries are complicated. Since the lecture title was about utilizing BigQuery, I took the lecture without hesitation! If you are already proficient in SELECT and JOIN to some extent, it will be easy to follow. If you are new to SQL, I recommend taking the basics class and then the utilization class. The window functions I learned here were so useful that I could use them right away in the field. I will also try retention analysis and funnel analysis soon. Thank you for opening a great lecture :)

      • kyleschool
        知識共有者

        Thank you for your course review, Jae-eun. It's been 3 months. I wonder if you are making good use of what you have learned. I hope you continue to improve in the future!!

    ¥11,721

    kyleschoolの他の講座

    知識共有者の他の講座を見てみましょう!

    似ている講座

    同じ分野の他の講座を見てみましょう!