Description Usage Arguments Value Examples
the main function for querying the statscn database, it will retrieve the data from specified db and orginize the data in a data frame.
1 2 | statscnQueryData(zb = "A0201", dbcode = "hgnd", rowcode = "zb",
colcode = "sj", moreWd = list(name = NA, value = NA))
|
zb |
the zb/category code to be queried |
dbcode |
the db code for querying |
rowcode |
rowcode in the returned data frame |
colcode |
colcode in the returned data frame |
moreWd |
more constraint on the data where the name should be one of c("reg","sj") , which stand for region and sj/time. the valuecode for reg should be the region code queried by statscnRegions() the valuecode for sj should be like '2014' for *nd , '2014C' for *jd , '201405' for *yd. Be noted that , the moreWd name should be different with either rowcode or colcode |
the data frame you are quering
1 2 3 4 5 6 | ## Not run:
df=statscnQueryData('A0201',dbcode='hgnd')
df=statscnQueryData('A0201',dbcode='fsnd',rowcode='zb',colcode='sj',
moreWd=list(name='reg',value='110000'))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.