Population of Finland: Difference between revisions

From Opasnet
Jump to navigation Jump to search
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 15: Line 15:
5-9|309010
5-9|309010
10-14|305538
10-14|305538
15-24|616543
15-64|3430848
25-64|2814305
65-79|902127
65-79|902127
80+|302710
80+|302710
All|5517919
</t2b>
</t2b>


Line 35: Line 33:
'''Total population in Finland
'''Total population in Finland


<rcode>
<rcode name="population" embed=1>
library(OpasnetUtils)
 
data <- tidy(op_baseGetData("opasnet_base", "Op_en2949"), objname = "population")
population <- new("ovariable", name = "population", data = data)
print(population@data)
 
objects.put(population)
cat("Object population initiated. Save the page key for further use.\n")
</rcode>
 
Default run: mzGRDt4VreHPefKI
 
'''Total population of Finland, taken from Statistics Finland.
 
<rcode name="population">


# This is code Op_en2949/population on page [[Population of Finland]]  
# This is code Op_en2949/population on page [[Population of Finland]]  
library(OpasnetUtils)
library(OpasnetUtils)


# Read population data 2018 from Statistics Finland
# Read population data 2018 from Statistics Finland
# Run this code on your computer to get the data in the answer.
# Run this code on your computer to get the data in the answer.
#vae <- re#ad.csv("https://pxnet2.stat.fi:443/PXWeb/sq/ac3373d0-e303-4c67-b32a-73c6d26df809", skip=2, fileEncoding="ISO-8859-1")
#vae <- re#ad.csv("https://pxnet2.stat.fi:443/PXWeb/sq/ac3373d0-e303-4c67-b32a-73c6d26df809", skip=2, fileEncoding="ISO-8859-1")
Line 74: Line 57:
#                                        )
#                                        )
#                          )
#                          )
# Save the data presented in the table on this page as an ovariable


population <- Ovariable(
population <- Ovariable(

Latest revision as of 05:56, 28 August 2019



Question

What is the population size and age structure of the population of Finland? What is the life expectancy in the population?

Answer

Population(#)
ObsAgeResult
10-4267686
25-9309010
310-14305538
415-643430848
565-79902127
680+302710

Rationale

Data

In 2017, the life expectancy for children born was 78.7 years for males and 84.2 years for females.

Formula

Total population in Finland

+ Show code

Population parameters per municipality

Which year (1980-2010)?:

Which parameter to show?:

+ Show code

See also

References