Business: Retrieve the number of businesses with given month

BusinessR Documentation

Retrieve the number of businesses with given month

Description

The function is used to download the business data of districts in Taiwan for the specific time, including county, town, 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. The data can be pure text or shapefile with the polygon of specific district.

Usage

Business(district, time, dtype="text", out=F)

Arguments

district

Please fill in the district type. The valid input includes County, Town, SA0 (minimum statistical area), SA1 (statistical area 1), SA2 (statistical area 2).

time

The time (year-month) of the data. The format of time should be YYYY-MM. Note that hospital data is updated half a year, only June and December are provided.

dtype

The class of data, including text (data frame) and sf (simple feature). The default value is text.

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.

Value

All the definition of column name is listed here.

Author(s)

Maintainer: Chia Jung, Yeh chia-jung.yeh@sydney.edu.au

Examples

Business(district="County", time="2010-06")
Business(district="SA2", time="2022-06", age=T, dtype="sf", out="./taiwan_SA2_business.shp")

ChiaJung-Yeh/NYCU_TDX documentation built on Nov. 25, 2024, 6:57 a.m.