www.crosshyou.info

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

OECD Doctors' consultations data analysis 3 - which.max() and which.min() finds which country has the max/min doctors' consultations?

 

f:id:cross_hyou:20210606090740j:plain

Photo by Harry Cunningham on Unsplash

www.crosshyou.info

 This post is following of above psot.
Now, let's see which country has the maxmum doctors' consultations using which.max() fundtion.

f:id:cross_hyou:20210606091018p:plain

Korea has the max conultations per capita. 16.9 times a year. 

Then, what country has the minimum?

f:id:cross_hyou:20210606091209p:plain

1960 Turkey has the minimum doctors' consultations. It is ony 0.7 times a year.

Next, let's see average value by country.

f:id:cross_hyou:20210606091411p:plain

By average, Korea has the most consultations, 2nd is Japan, 3rd is Slovakia.

f:id:cross_hyou:20210606091548p:plain

By average, Colombia has the minimum consultations, Costa Rika is at 2nd and South Africa is at 3rd.

 

Now let's see what yser has the most observations.

f:id:cross_hyou:20210606092203p:plain

We see 2009 has the most observations, 35 obs. I use 2007 and 2021 to analyze further.

f:id:cross_hyou:20210606092633p:plain

Let's see avarage Value by year.

f:id:cross_hyou:20210606092910p:plain

We see 2007 average is 5.74 and 2021 average is 6.34.
That's it thank you!

The next post is

 

www.crosshyou.info

 



To read the 1st post

 

www.crosshyou.info