khaeru / data

Codes for research data sets
GNU General Public License v3.0
11 stars 9 forks source link

China CPI query #3

Open chilango74 opened 2 years ago

chilango74 commented 2 years ago

Thank you for these scripts!

I'm trying to use it (or actualize if needed) for National Bureau of Statistics of China API. However, I can't find any docs with available idicators codes: - *series*: the indicator requested, e.g. 'A090302'. Unfortunately, the english version on data.stats.gov.cn is not very informative ...

Can you please suggest where to look for indicators list or suggest the indicator code for the main Consumer Price Index (CPI) monthly data query?

chilango74 commented 2 years ago

I've managed to get main CPI codes in case somebody else need it:

Annual inflation

dbcode="hgnd" A090201 - Consumer Price Index (1978=100) A090302 - Consumer Price Index (1978=100)

Monthly inflation

dbcode="hgyd" Last Year = 100 A01010101 - Consumer Price Index (The same month last year=100) 2016 - A01010201 - Consumer Price Index (The same month last year=100) - 2015

The same period last year=100 A01020101 - Consumer Price Index (The same period last year=100) 2016 - A01020201 - Consumer Price Index (The same period last year=100) - 2015

preceding month=100 A01030101 - Consumer Price Index (preceding month=100) 2016 - A01030201 - Consumer Price Index (preceding month=100) - 2015

khaeru commented 2 years ago

Thanks for sharing your experience! The codes are several years old, good to see that they still work (i.e. that NBS has kept this API usable).