Tourism | R Documentation |
The function is used to download the tourism data, including scenic spot, restaurant, and hotel. But note that the data is not collected completely, please take it as reference. Point of interests can be downloaded from other platform or map for relatively complete infromation.
Tourism(access_token, county, poi, dtype="text", out=F)
access_token |
Your access token given by TDX platform. This can be derived from the function |
county |
Please fill in the English county name. Checking out the appropriate county name in dataframe |
poi |
Type of the point of interest, including |
dtype |
The class of data, including |
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. Note that the directory must contain ".shp" when exporting simple feature. And the directory must contain ".csv" or ".txt" when exporting text file. |
Maintainer: Chia Jung, Yeh chia-jung.yeh@sydney.edu.au
Tourism(access_token, "Taipei", poi="Hotel")
Tourism(access_token, "Hsinchu", poi="Restaurant", dtype="sf", out="./hsinchu_restaurant.shp")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.