statscnQueryZb {gfer} | R Documentation |
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
References
Xuehui YANG (2016). rstatscn: R Interface for China National Data. R package version 1.1.1. https://CRAN.R-project.org/package=rstatscn
Examples
## Not run:
statscnQueryZb()
statscnQueryZb('A01',dbcode="hgnd")
## End(Not run)
[Package gfer version 0.1.12 Index]