www.crosshyou.info

政府統計の総合窓口のデータや、OECDやUCIやのデータを使って、Rの練習をしています。ときどき、読書記録も載せています。

OECD Nutrient balance data analysis 3 - Line charts using R

Photo by Stephen Leonardi on Unsplash 

www.crosshyou.info

This post is following of above post.

I will make line charts using R ggplot2 package.

Let's start with ni_kg(NITROGEN measured by KG_HA)

Some locations have declining trend, some have advancing trend.

Next is ni_to(NITROGEN measured by TONNE)

Next, po_kg(PHOSPHORUS measured by KG_HA)

The last is po_to(PHOSPHORUS measured by TONNE)

Top 3 locations have increasing trend.

 

I will make another data frame for average value for location.

Let's see summary statistics for df3.

That's it. Thank you!

Next post is

 

www.crosshyou.info

 

 

To see the 1st post,

www.crosshyou.info