Would it be possible to include the formats 'sdmx' and 'px' when doing an API request from Statistics Estonia?
Statistics Estonia only seems to make available all decimals in data requests when these 2 data formats are extracted from therir API, whereas only 1 decimal is obtained while using JSON formats.
Please let me know if you need more detailed information on this.
Kind regards,
Marnix
load library pxweb
library(pxweb)
start the interactive manu from PX library to create string
Dear People,
Would it be possible to include the formats 'sdmx' and 'px' when doing an API request from Statistics Estonia?
Statistics Estonia only seems to make available all decimals in data requests when these 2 data formats are extracted from therir API, whereas only 1 decimal is obtained while using JSON formats.
Please let me know if you need more detailed information on this.
Kind regards, Marnix
load library pxweb
library(pxweb)
start the interactive manu from PX library to create string
d <- pxweb_interactive()
PXWEB query
Download data
Convert to data.frame
px_data_frame <- as.data.frame(px_data, column.name.type = "text", variable.value.type = "text")
whereas from the online data, one can extract all decimals:
[https://andmed.stat.ee/en/stat/majandus__rahvamajanduse-arvepidamine__kontod__mittefinantskonto/RAM001]