Skip to content

Commit

Permalink
Merge pull request #239 from rOpenGov/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
MansMeg authored Mar 11, 2022
2 parents 8f1a48d + 7b07e24 commit 63b82f9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Type: Package
Package: pxweb
Title: R Interface to PXWEB APIs
Version: 0.13.0
Date: 2022-01-29
Version: 0.13.1
Date: 2022-03-10
Authors@R: c(
person("Mans", "Magnusson", , "[email protected]", role = c("aut", "cre")),
person("Markus", "Kainu", role = "aut"),
Expand Down
6 changes: 3 additions & 3 deletions inst/extdata/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
"max_values_to_download" : 110000
},

"pxnet2.stat.fi": {
"alias" : ["statfi"],
"statfin.stat.fi": {
"alias" : ["statfi", "statfin"],
"description" : "Statistics Finland",
"citation" : {
"organization" : "Statistics Finland",
"address" : "Helsinki, Finland"},
"url" : "https://pxnet2.stat.fi/PXWeb/api/[version]/[lang]",
"url" : "https://statfin.stat.fi/PXWeb/api/[version]/[lang]",
"version": ["v1"],
"lang": ["en","fi","sv"],
"calls_per_period": 20,
Expand Down
5 changes: 1 addition & 4 deletions tests/testthat/test-pxweb_test_api.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,5 @@ test_that(desc="Mixed node levels object",{

expect_silent(api_paths <- pxweb:::pxweb_test_create_api_paths(apis = pxweb_api_catalogue()))
expect_true(all(c("http://api.scb.se/OV0104/v1/doris/en",
"http://api.scb.se/OV0104/v1/doris/sv",
"https://pxnet2.stat.fi/PXWeb/api/v1/en",
"https://pxnet2.stat.fi/PXWeb/api/v1/fi",
"https://pxnet2.stat.fi/PXWeb/api/v1/sv") %in% api_paths$paths))
"http://api.scb.se/OV0104/v1/doris/sv") %in% api_paths$paths))
})

0 comments on commit 63b82f9

Please sign in to comment.