Accéder au contenu principal
AccueilR

Manipulating Time Series Data in R

Master time series data manipulation in R, including importing, summarizing and subsetting, with zoo, lubridate and xts.

Commencer Le Cours Gratuitement
4 heures15 vidéos49 exercices3 236 apprenantsTrophyDéclaration de réalisation

Créez votre compte gratuit

GoogleLinkedInFacebook

ou

En continuant, vous acceptez nos Conditions d'utilisation, notre Politique de confidentialité et le fait que vos données sont stockées aux États-Unis.
Group

Formation de 2 personnes ou plus ?

Essayer DataCamp for Business

Apprécié par les apprenants de milliers d'entreprises


Description du cours

Learn All About Time Series Data

Working with data that changes over time is an essential skill in data science. This kind of data is known as a time series. You'll learn the foundations of what a time series represents, how to retrieve summary statistics about the data in a time series, and how to interpret a time series visually.

Master Manipulation of Time Series with zoo, lubridate and xts

You’ll master using the zoo and lubridate packages to import, explore, and visualize time series data in R. You’ll learn to retrieve key attributes of time series information, such as the period of that data and how often the data was sampled, gaining fluency in converting between data frames and time series along the way. Further, by aggregating your data, you’ll learn to see the overall trends in the data using the xts package.

Perfect Your Subsetting Skills

You’ll cover how to subset a window from a time series to focus on a particular period of interest. You’ll sample time series data at various rates, such as every minute, hour, month, or year. You'll also learn methods of 'imputing' your data – filling in missing values with constant fill, LOCF, or linear interpolation methods. You’ll also learn to create “rolling” windows of a time series that move, or "roll" along with data, making it possible to summarize trends in the data across time. You will also learn how to create expanding windows, which show how these summary statistics approach their final value.
Pour les entreprises

Formation de 2 personnes ou plus ?

Donnez à votre équipe l’accès à la plateforme DataCamp complète, y compris toutes les fonctionnalités.
DataCamp Pour Les EntreprisesPour une solution sur mesure , réservez une démo.

Dans les titres suivants

Principes fondamentaux de la finance en R

Aller à la piste

Analyste quantitatif en R

Aller à la piste

Séries chronologiques en R

Aller à la piste
  1. 1

    What Is Time Series Data?

    Gratuit

    You'll learn the foundations of what a time series represents, how to retrieve summary statistics about the data in a time series, and how to visually interpret a time series plot as part of the exploration step of your analysis. You’ll also cover how to manage date and time information within R objects and ways of incorporating consistent formatting for dates.

    Jouez Au Chapitre Maintenant
    What is time series data?
    50 xp
    Plotting time series with autoplot
    100 xp
    Time series summary
    100 xp
    Interpreting time series plots
    100 xp
    Temporal data classes in R
    50 xp
    Finding the class
    50 xp
    is-dot functions
    100 xp
    lubridate's as_date
    100 xp
    Formatting dates in R
    50 xp
    Conversion specifications
    100 xp
    Parsing and formatting dates
    100 xp
  2. 2

    Manipulating Time Series with zoo

    Here, you’ll learn to retrieve key attributes of time series information, such as the range in time of the data and how often the data were sampled, to understand your data better. You'll also be introduced to the zoo package, which contains tools and functions for creating and manipulating time series objects. Many data science applications in R use the data frame paradigm; you'll learn how to convert between a data frame and a time series.

    Jouez Au Chapitre Maintenant
  3. 3

    Indexing Time Series Objects

    You’ll cover how to subset a window from a time series to focus on a particular period of interest. You’ll see that when working with real-world time series data, the timespan of your dataset may cover more information than you need, which can clutter your visualizations. You’ll sample time series data at various rates, such as every minute, hour, month, or year. Further, by aggregating your data, you’ll learn to see the overall trends in the data using the xts package. You'll also learn methods of 'imputing' your data – filling in missing values with constant fill, LOCF, or linear interpolation methods.

    Jouez Au Chapitre Maintenant
  4. 4

    Rolling and Expanding Windows

    You’ll learn to create “rolling” windows of a time series that move, or "roll" along with data, making it possible to summarize trends in the data across time, such as the average over success months of observations or the sum over several weeks of sales. Overall summary statistics, like mean, median, sum, maximum, and so on, do not always provide insight into how data changes over time, and rolling windows will allow you to compute statistics dynamically. In addition to rolling windows, you will also learn how to create expanding windows, which show how these summary statistics approach their final value.

    Jouez Au Chapitre Maintenant
Pour les entreprises

Formation de 2 personnes ou plus ?

Donnez à votre équipe l’accès à la plateforme DataCamp complète, y compris toutes les fonctionnalités.

Dans les titres suivants

Principes fondamentaux de la finance en R

Aller à la piste

Analyste quantitatif en R

Aller à la piste

Séries chronologiques en R

Aller à la piste

ensembles de données

NOAA temperatures datasetMaunaloa datasetFTSE dataset

collaborateurs

Collaborator's avatar
Izzy Weber
Collaborator's avatar
Maham Khan
Collaborator's avatar
George Boorman
Harrison Brown HeadshotHarrison Brown

Graduate Researcher

Voir Plus

Qu’est-ce que les autres apprenants ont à dire ?

Inscrivez-vous 15 millions d’apprenants et commencer Manipulating Time Series Data in R Aujourd’hui!

Créez votre compte gratuit

GoogleLinkedInFacebook

ou

En continuant, vous acceptez nos Conditions d'utilisation, notre Politique de confidentialité et le fait que vos données sont stockées aux États-Unis.