メインコンテンツへスキップ
ホームR

コース

tidyrでデータを整形する

中級スキルレベル
更新日 2023/03
ほぼあらゆるデータを整然データに変換し、分析を容易にします。
コースを無料で開始
RData Manipulation4時間15 ビデオ54 演習4,650 XP24,283達成証明書

無料アカウントを作成

または

続行すると、弊社の利用規約プライバシーポリシーに同意し、データが米国に保存されることに同意したことになります。

数千の企業の学習者に愛されています

Group

2名以上のトレーニングをお考えですか?

DataCamp for Businessを試す

コース説明

現実のデータは手強いものです。複雑で散らかったデータセットを前にして、どこから手をつければよいのか迷うこともありますよね。tidyr パッケージを使えば、そんなデータをすっきり整った形に整備できます。列名に埋もれた値は行へ移し、JSON ファイルはデータフレームになり、欠損値も見落とされなくなります。さまざまな乱雑なデータセットでこれらの手法を練習しながら、ソ連が宇宙に送り込んだ犬の数や、ニュージーランドで最も人気のある鳥など、興味深い事実も学びます。tidyverse のツールキットに tidyr があれば、ほぼどんなデータでも整然データに変換でき、その後の分析で大きな効果を発揮します。

前提条件

Data Manipulation with dplyr
1

Tidy Data

You'll be introduced to the concept of tidy data which is central to this course. In the first two lessons, you'll jump straight into the action by separating messy character columns into tidy variables and observations ready for analysis. In the final lesson, you'll learn how to overwrite and remove missing values.
チャプター開始
2

From Wide to Long and Back

This chapter is all about pivoting data from a wide to long format and back again using the pivot_longer() and pivot_wider() functions. You'll need these functions when variables are hidden in messy column names or when variables are stored in rows instead of columns. You'll learn about space dogs, nuclear bombs, and planet temperatures along the way.
チャプター開始
3

Expanding Data

Values can often be missing in your data, and sometimes entire observations are absent too. In this chapter, you'll learn how to complete your dataset with these missing observations. You'll add observations with zero values to counted data, expand time series to a full sequence of intervals, and more!
チャプター開始
4

Rectangling Data

tidyrでデータを整形する
コース完了

修了証明書を取得

この資格をLinkedInプロフィール、履歴書、CVに追加しましょう
ソーシャルメディアや人事評価で共有しましょう
今すぐ登録

19百万人を超える学習者と一緒にtidyrでデータを整形するを今日から始めましょう!

無料アカウントを作成

または

続行すると、弊社の利用規約プライバシーポリシーに同意し、データが米国に保存されることに同意したことになります。

DataCamp for Mobileでデータスキルを磨きましょう

モバイル コースと毎日の 5 分間のコーディング チャレンジで、外出先でも進歩できます。