Population | R Documentation |
The function is used to download the demographic data of districts in Taiwan for the specific time. Level of districts include county, town, village, minimum statistical area (SA0), statistical area 1 (SA1), and statistical area 2 (SA2). The data is downloaded from Social Economic Geographic Information System (SEGIS) by Ministry of the Interior.
Population(district, time, age=F, out=F)
district |
Please fill in the district type. The valid input includes |
time |
The time (year-month) of the data. The format of time should be |
age |
If the population of each age (5-year-old interval) is required, please set |
out |
If the result should be exported to the local, please fill in the directory. The default value is FALSE, which does not export the data. |
Columns definition of the results are summarized below.
H_CNT | Number of household. | |
P_CNT | Total population. | |
M_CNT | Total male population. | |
F_CNT | Total female population. | |
If age
is set TRUE
, then the column name would contain each age interval. For instance, column "A20A24_M_CNT" means "the population of male in age 20 to 24." Column "A60A64_F_CNT" represents "the population of female in age 60 to 64."
Maintainer: Chia Jung, Yeh chia-jung.yeh@sydney.edu.au
Population(district="County", time="2022-06")
Population(district="SA0", time="2022-06", age=T, out="./taiwan_SA0_population.csv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.