From e5313bb49386e38b40b29f02f633cf2773f2a414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=CC=8Ans=20Magnusson?= Date: Wed, 9 Mar 2022 13:49:15 +0100 Subject: [PATCH 1/3] Updated statfin in API --- inst/extdata/api.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inst/extdata/api.json b/inst/extdata/api.json index 8ee87900..6c6def0e 100644 --- a/inst/extdata/api.json +++ b/inst/extdata/api.json @@ -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, From 4be2c1352e5eaf08896712e8e9f8f8721f49589e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=CC=8Ans=20Magnusson?= Date: Thu, 10 Mar 2022 17:13:59 +0100 Subject: [PATCH 2/3] Minor fix --- tests/testthat/test-pxweb_test_api.R | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/testthat/test-pxweb_test_api.R b/tests/testthat/test-pxweb_test_api.R index 79c726eb..ee89a880 100644 --- a/tests/testthat/test-pxweb_test_api.R +++ b/tests/testthat/test-pxweb_test_api.R @@ -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)) }) From 7b07e24a8726612e6581c5bd4dfcda925da0ae24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=CC=8Ans=20Magnusson?= Date: Fri, 11 Mar 2022 11:04:29 +0100 Subject: [PATCH 3/3] Bump patch --- DESCRIPTION | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index f5cb392e..1cd5f458 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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", , "mons.magnusson@gmail.com", role = c("aut", "cre")), person("Markus", "Kainu", role = "aut"),