Retrieve selected data and combine into a single table. (This is an older version of the function. It is advised to use the new [get_sotkanet()] function instead.)
GetDataSotkanet(
indicators = NULL,
years = 1991:2015,
genders = c("total"),
regions = NULL,
region.category = NULL,
user.agent = NULL
)
data.frame
Dataset identifier(s)
vector of years c(2010, 2012, ... )
vector of genders ('male' | 'female' | 'total')
filter by selected regions only (default: all regions)
filter by one or more of the following 15 valid regions categories (default: all categories)
"ALUEHALLINTOVIRASTO"
"ELY-KESKUS"
"ERVA"
"EURALUEET" (Eurozone)
"EUROOPPA" (Europe)
"HYVINVOINTIALUE" (welfare country)
"KUNTA" (municipality)
"MAA" (country)
"MAAKUNTA" (region)
"NUTS1"
"POHJOISMAAT" (Nordic countries)
"SAIRAANHOITOPIIRI (hospital district)
"SEUTUKUNTA"
"SUURALUE"
"YTA"
"User agent" defined by the user. Default is NULL which will then use the package identifier "rOpenGov/sotkanet"
Maintainer: Leo Lahti leo.lahti@iki.fi, Pyry Kantanen
THL's open data license and limitation of liability
License
The open data provided by National Institute for Health and Welfare is licensed under CC BY 4.0. This license defines how open data can be utilized. The licensing is based on a decision made by the Director General.
Limitation of Liability
National Institute for Health and Welfare shall not be liable for any loss, legal proceedings, claims, proceedings, demands, costs or damages regardless of their cause or form, which can be directly or indirectly connected to open data or use of open data published by National Institute for Health and Welfare.
See citation("sotkanet")
For more information about dataset structure, see THL webpage at https://yhteistyotilat.fi/wiki08/pages/viewpage.action?pageId=27557907
THL open data license website: https://yhteistyotilat.fi/wiki08/x/AAadAg
if (FALSE) dat <- GetDataSotkanet(indicators = 165)
Run the code above in your browser using DataLab