Description Usage Arguments Value See Also Examples
The number of facilities in a given prefecture from 2011 to 2017
1 | getFacilityNum(api_key, unit, prefCode)
|
api_key |
Your API application key |
unit |
Unit: 0 returns anunal data, 1 returns monthly data |
prefCode |
Code of a prefecture |
This function returns data.frame
including columns:
type
year
month
value
prefCode
https://opendata.resas-portal.go.jp/docs/api/v1/tourism/hotelAnalysis/facilityStack.html
1 2 3 4 | ## Not run:
getFacilityNum(api_key, unit = 0, prefCode = 1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.