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

コース

Rで扱う日付と時刻

中級スキルレベル
更新日 2024/09
Rで日付・時刻の解析、操作、計算の基礎を学びます。
コースを無料で開始
RProgramming
4時間
14 ビデオ
48 演習
4,000 XP
37,295
修了証明書

無料アカウントを作成

Googleで続行その他のオプションを表示

または


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

何千もの企業の従業員が支持

Group

チームのトレーニングを担当していますか?

Businessをお試しください

コース説明

日付と時刻はデータの中に数多く登場し、「いつ」「どれくらい」「どのくらいの頻度で」といった問いに答えるうえで不可欠です。しかし、形式が多様で直感に反する振る舞いをすることもあり、扱いは難しい場合があります。このコースでは、Rで日付と時刻をパースし、操作し、計算するための基礎を学びます。コースの終わりには、tidyverseの一員であるlubridateパッケージを使いこなし、日付と時刻を扱えるようになります。さらに、Rのバージョンがどれくらいの頻度でリリースされているか、R発祥の地であるオークランドの天気はいつ良いのか、イギリスの君主が何年間統治したのか、といった題材で新しいスキルを実践します。

前提条件

Intermediate R
1

Dates and Times in R

R doesn't know something is a date or time unless you tell it. In this chapter you'll learn about some of the ways R stores dates and times by exploring how often R versions are released, and how quickly people download them. You'll also get a sneak peek at what you'll learn in the following chapters.
チャプターを開始
2

Parsing and Manipulating Dates and Times with lubridate

Dates and times come in a huge assortment of formats, so your first hurdle is often to parse the format you have into an R datetime. This chapter teaches you to import dates and times with the lubridate package. You'll also learn how to extract parts of a datetime. You'll practice by exploring the weather in R's birthplace, Auckland NZ.
3

Arithmetic with Dates and Times

Getting datetimes into R is just the first step. Now that you know how to parse datetimes, you need to learn how to do calculations with them. In this chapter, you'll learn the different ways of representing spans of time with lubridate and how to leverage them to do arithmetic on datetimes. By the end of the chapter, you'll have calculated how long it's been since the first man stepped on the moon, generated sequences of dates to help schedule reminders, calculated when an eclipse occurs, and explored the reigns of monarch's of England (and which ones might have seen Halley's comet!).
4

Problems in practice

You now know most of what you need to tackle data that includes dates and times, but there are a few other problems you might encounter in practice. In this final chapter you'll learn a little more about these problems by returning to some of the earlier data examples and learning how to handle time zones, deal with times when you don't care about dates, parse dates quickly, and output dates and times.
Rで扱う日付と時刻
コース完了

修了証明書を取得

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

19百万人を超える学習者と共にRで扱う日付と時刻を始めましょう!

無料アカウントを作成

Googleで続行その他のオプションを表示

または


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

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

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