Learn R Programming

rstatscn (version 1.1.3)

statscnQueryZb: the data categories

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

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

Run this code
# NOT RUN {
 statscnQueryZb()
 statscnQueryZb('A01',dbcode="hgnd")
# }

Run the code above in your browser using DataLab