OECD Household savings data analysis 1 - Import CSV file data into R using read_csv() function.

Generated by Bing Image Creator:Beautiful scientific natural flowers on the moon, photo

In this post, I will analyse OECD Household savings data with R.

I downloaded below CSV fril from OECD web site.

I use R to analyze above data. To begin with, I load tidyverse package.

Then, I use read_csv() function to load the data.

Let's use glimpse() function to see the data frame, df_raw.

I change charater variables to factor variables.

Let's use summary() function to see data frame statistics.

I see kindicator, subject, measure and frequency have only one kind of value, so i can remove those variables.

All right, I have a good data frame to analyze.

That's it for this post. Thank you!

Next post is