nbs-fetcher issueshttps://git.nomics.world/dbnomics-fetchers/nbs-fetcher/-/issues2022-05-05T19:59:35Zhttps://git.nomics.world/dbnomics-fetchers/nbs-fetcher/-/issues/3Download more data into the past2022-05-05T19:59:35ZChristophe Benzchristophe.benz@nomics.worldDownload more data into the pastThis issue follows an incoming email by an user.
Currently, only the latest 13 months are downloaded because this is the default from the provider side.
NBS UI offers a setting allowing to download up to the latest 36 months, or to spe...This issue follows an incoming email by an user.
Currently, only the latest 13 months are downloaded because this is the default from the provider side.
NBS UI offers a setting allowing to download up to the latest 36 months, or to specify a year interval (e.g. `2000-`).
The `FREQ_INFO_MAP` variable apparently defines a `latest` key, however it does not seem to be used.
Note: I do not know now to determine the first available year. So a loop must be written to dig into the past as long as there are results.
See also: https://data.stats.gov.cn/english/easyquery.htm
![image](/uploads/ebeabf0a7f9f006a02faf1839a4ce6c9/image.png)