Description Usage Arguments Value Author(s) See Also Examples
Population pyramid data of a given prefecture and municipality in a 2 different years
1 2 | getPopulationPyramid(api_key, cityCode = "-", prefCode, yearLeft,
yearRight)
|
api_key |
Your API application key |
cityCode |
Code of a city. "-" returns all the cities |
prefCode |
Code of a prefecture |
yearLeft |
Year number 1 |
yearRight |
Year number 2 |
This function returns data.frame
including columns:
class
man
manPercent
woman
womanPercent
year
type
prefCode
Koki Ando <koki.25.ando@gmail.gmail>
https://opendata.resas-portal.go.jp/docs/api/v1/population/composition/pyramid.html
1 2 3 4 | ## Not run:
getPopulationPyramid(api_key, cityCode, prefCode = 1, yearLeft = 2020, yearRight = 2030)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.