Update NBSC.py
This commit is contained in:
parent
2914b274c4
commit
e09a821d69
|
@ -39,9 +39,9 @@ class NBSCData(object):
|
|||
if period == "monthly":
|
||||
self.dbcode_query = "hgyd"
|
||||
elif period == "quarterly":
|
||||
self.dbcode = "hgjd"
|
||||
self.dbcode_query = "hgjd"
|
||||
elif period == "annual":
|
||||
self.dbcode = "hgnd"
|
||||
self.dbcode_query = "hgnd"
|
||||
|
||||
def generate_header(self):
|
||||
ua = UserAgent()
|
||||
|
@ -127,4 +127,4 @@ if __name__ == "__main__":
|
|||
nodes = nbsc.tree_generation()
|
||||
toc = nbsc.toc(nodes=nodes)
|
||||
toc[toc["name"].str.contains("GDP")]
|
||||
data = nbsc.download_data(nid="A0203")
|
||||
data = nbsc.download_data(nid="A0203")
|
||||
|
|
Loading…
Reference in New Issue