dims <- list(Alue = c("*"),
"Asuntokunnan koko" = c("*"),
Talotyyppi = c("S"),
Vuosi = c("*"))
pxq1 <- pxweb_query(dims)
json_query <- file.path(system.file(package = "pxweb"),
"extdata", "examples", "json_query_example.json")
pxq2 <- pxweb_query(json_query)
Run the code above in your browser using DataLab