Dear All,
I am trying to extract data from this table from Statistics Latvia using PXweb, but receive an error Bad request (HTTP 400), please see the image below:
Is there something wrong on the side of the syntax?
library(pxweb)
pxweb_query_list <-
list("NACE_MIG" = c("B_C_D"),
"ContentsCode" = c("RUI020m"),
"TIME" = c("*"))
px_data <-
pxweb_get(url = "https://data.stat.gov.lv/api/v1/en/OSP_PUB/NOZ/RU/RUI/RUI020m",
query = pxweb_query_list)
