getPopulationPyramid: Population Pyramid

Description Usage Arguments Value Author(s) See Also Examples

Description

Population pyramid data of a given prefecture and municipality in a 2 different years

Usage

1
2
getPopulationPyramid(api_key, cityCode = "-", prefCode, yearLeft,
  yearRight)

Arguments

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

Value

This function returns data.frame including columns:

Author(s)

Koki Ando <koki.25.ando@gmail.gmail>

See Also

https://opendata.resas-portal.go.jp/docs/api/v1/population/composition/pyramid.html

Examples

1
2
3
4
## Not run: 
 getPopulationPyramid(api_key, cityCode, prefCode = 1, yearLeft = 2020, yearRight = 2030)

## End(Not run)

koki25ando/ResasAPI documentation built on May 28, 2019, 9 p.m.