Skip to main content
HomeRImporting and Managing Financial Data in R

Importing and Managing Financial Data in R

Learn how to access financial data from local files as well as from internet sources.

Start Course for Free
5 Hours15 Videos57 Exercises
19,039 LearnersTrophyStatement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies


Course Description

If you've ever done anything with financial or economic time series, you know the data come in various shapes, sizes, and periodicities. Getting the data into R can be stressful and time-consuming, especially when you need to merge data from several different sources into one data set. This course will cover importing data from local files as well as from internet sources.
  1. 1

    Introduction and Downloading Data

    Free

    A wealth of financial and economic data are available online. Learn how getSymbols() and Quandl() make it easy to access data from a variety of sources.

    Play Chapter Now
    Welcome to the course!
    50 xp
    Introducing getSymbols()
    100 xp
    Data sources
    100 xp
    Make getSymbols() return the data it retrieves
    100 xp
    Introduction to Quandl
    50 xp
    Introducing Quandl()
    100 xp
    Return data type
    100 xp
    Finding data from internet sources
    50 xp
    Find stock ticker from Yahoo Finance
    100 xp
    Download exchange rate data from Oanda
    100 xp
    Find and import Unemployment Rate data from FRED
    100 xp
  2. 2

    Extracting and Transforming Data

    You've learned how to import data from online sources, now it's time to see how to extract columns from the imported data. After you've learned how to extract columns from a single object, you will explore how to import, transform, and extract data from multiple instruments.

    Play Chapter Now
  3. 3

    Managing Data from Multiple Sources

    Learn how to simplify and streamline your workflow by taking advantage of the ability to customize default arguments to `getSymbols()`. You will see how to customize defaults by data source, and then how to customize defaults by symbol. You will also learn how to handle problematic instrument symbols.

    Play Chapter Now
  4. 4

    Aligning Data with Different Periodicities

    You've learned how to import, extract, and transform data from multiple data sources. You often have to manipulate data from different sources in order to combine them into a single data set. First, you will learn how to convert sparse, irregular data into a regular series. Then you will review how to aggregate dense data to a lower frequency. Finally, you will learn how to handle issues with intra-day data.

    Play Chapter Now
  5. 5

    Importing Text Data, and Adjusting for Corporate Actions

    You've learned the core workflow of importing and manipulating financial data. Now you will see how to import data from text files of various formats. Then you will learn how to check data for weirdness and handle missing values. Finally, you will learn how to adjust stock prices for splits and dividends.

    Play Chapter Now

In the following tracks

Finance Fundamentals in RQuantitative Analyst with R

Collaborators

Collaborator's avatar
Lore Dirick
Collaborator's avatar
Davis Vaughan
Joshua Ulrich HeadshotJoshua Ulrich

Quantitative Analyst & member of R/Finance Conference committee

See More

What do other learners have to say?

Join over 13 million learners and start Importing and Managing Financial Data in R today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.