Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add APIs not listed in the API catalogue #254

Open
MansMeg opened this issue Aug 9, 2022 · 4 comments
Open

Add APIs not listed in the API catalogue #254

MansMeg opened this issue Aug 9, 2022 · 4 comments
Milestone

Comments

@MansMeg
Copy link
Contributor

MansMeg commented Aug 9, 2022

There are APIs available that are currently not listed in the package. Several APIs listed here are not in our catalogue (yet): https://www.scb.se/en/services/statistical-programs-for-px-files/px-web/pxweb-examples/

@MansMeg MansMeg added this to the v. 1.0 milestone Aug 9, 2022
@pitkant
Copy link
Member

pitkant commented May 25, 2023

I went through the list:

PxWeb data bases in some countries/organisations

PxWeb examples in Sweden

It is also possible to use components of PxWeb together with selections from an SQL database. (These are maybe not attainable in this package but maybe it's worth exploring)


I also found some databases done in pxweb that were not in the list above:

Databases listed in the pxweb package catalogue but not included in the list on SCB website:

Other notes:

@MansMeg
Copy link
Contributor Author

MansMeg commented May 25, 2023

Great! Could you open up a PR with ehe ones that are missing?

@pitkant
Copy link
Member

pitkant commented May 29, 2023

Entities that did not have API available:

  • National Statistical Service of the Republic of Armenia
  • Nordic Health and Welfare Statistics

Entities with broken APIs:

  • Örebro kommun (old pxweb API version)
  • EUSTAT (redirects to net-inter-eustat-45.ejgvdns, reported to their helpdesk)
  • INSTAT, Mali (sometimes fails, sometimes produces an error message, sometimes works, unstable internet connection?)
  • Icelandic Centre for Retail Studies (px.rsv.is) (no longer existing, timeouts?)

API works fine but produces a warning:

  • Sundsvall kommun
Error in curl::curl_fetch_memory(url, handle = handle) : 
  Could not resolve host: net-inter-eustat-45.ejgvdns

###

This is an old PXWEB API not supported by pxweb R package
(version PX-Web 2014 Dec R1 or later is supported): 
http://pxweb.orebro.se/api/v1/sv/

###

1: 34
Error: 
This is an old PXWEB API not supported by pxweb R package
(version PX-Web 2014 Dec R1 or later is supported): 
https://pxweb.instat-mali.com/PXWeb/api/v1/fr/BaseDeDonnees/

1: 34
Error: 
This is not a PXWEB API: 
https://pxweb.instat-mali.com/PXWeb/api/v1/fr/BaseDeDonnees/


==============================================================================
 R PXWEB: Content of 'pxweb.instat-mali.com'
==============================================================================
 [ 1 ] : v1
==============================================================================
Enter your choice:
('esc' = Quit, 'i' = Show id) 

###

http://px.rsv.is/PXWeb/api/v1/en
Error in curl::curl_fetch_memory(url, handle = handle) : 
  Timeout was reached: [px.rsv.is] Failed to connect to px.rsv.is port 80 after 10009 ms: Timeout was reached

http://px.rsv.is/PXWeb/api/v1/is
Error in curl::curl_fetch_memory(url, handle = handle) : 
  Timeout was reached: [px.rsv.is] Failed to connect to px.rsv.is port 80 after 10004 ms: Timeout was reached


###

Warning message:
PXWEB URL CHANGE:
 from: https://m02-http-pxwebb.login.sundsvall.se/PXWeb_Ext/api/v1/sv/
 to:   https://m02-http-pxwebb.login.sundsvall.se/PXWeb_Ext/api/v1/sv/ 

@MansMeg
Copy link
Contributor Author

MansMeg commented May 30, 2023

Strange warning from Sundsvall.

I think we can skip the ones that doesnt work. They can still use pxweb but we end up with unnessecary maintenance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants