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
 statscnQueryZb()
 statscnQueryZb('A01',dbcode="hgnd")

jiang-hang/rstatscn documentation built on May 17, 2017, 8:27 p.m.