statscnQueryZb: the data categories

Description Usage Arguments Value Examples

View source: R/rstatscn.R

Description

the sub data categories for the zbid category, dbcode need to be specified, where the dbcode can be fetched by function statscnDbs(). In the returned data frame, the column 'isParent' shows if each sub category is leap category or not

Usage

1
statscnQueryZb(zbid = "zb", dbcode = "hgnd")

Arguments

zbid

the father zb/category id , the root id is 'zb'

dbcode

which db will be queried

Value

the data frame with the sub zbs/categories , if the given zbid is not a Parent zb/category, null list is returned

Examples

1
2
3
4
5
## Not run: 
 statscnQueryZb()
 statscnQueryZb('A01',dbcode="hgnd")

## End(Not run)

rstatscn documentation built on May 2, 2019, 2:10 a.m.