Navigate the NBS data-portal folder tree
china_tree_node.RdThe NBS data portal organizes its data series in a tree of "nodes" (folders and leaves). This function queries one level of that tree given a parent node id, and is the building block used to locate specific indicators (e.g. CPI) by walking down from the root.
Arguments
- parent_id
Character. The
idof the parent node to list children for. UseNULL(the default) to fetch the root of the tree.- code
Integer/character. Which panel of the site to query:
1= "Browse topics" / "advanced search" panel,19= "Visualized" panel (the default). During development,code = 19was the panel that reliably contained the Price Index section, but this is not guaranteed to remain stable if the site changes.