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

Free text queries #17

Open
antagomir opened this issue Aug 9, 2014 · 2 comments
Open

Free text queries #17

antagomir opened this issue Aug 9, 2014 · 2 comments

Comments

@antagomir
Copy link
Member

We may consider providing also functionality for free text queries through the API. For instance get election (vaalit)-related data from Statistics Finland: http://pxwebapi2.stat.fi/PXWeb/api/v1/fi/StatFin?query=vaalit or more detailed queries: väestö under category vrm http://pxwebapi2.stat.fi/PXWeb/api/v1/fi/StatFin/vrm?query=väestö or 091 (Helsinki) from the code list http://pxwebapi2.stat.fi/PXWeb/api/v1/fi/StatFin?query=091&filter=codes Note: URL encoding needs to be checked for special characters that are common in Swedish and Finnish (å/ä/ö).

However it might be more handy for a user to use nice web GUIs to locate the URL for thei data set of interest, then download the data through R. Hence perhaps this free text query property is not a priority for pxweb pkg.

@MansMeg
Copy link
Contributor

MansMeg commented Aug 9, 2014

It can be done, but as you say I guess its low priority.

Skickat från min iPhone

9 aug 2014 kl. 11:44 skrev Leo Lahti [email protected]:

We may consider providing also functionality for free text queries through the API. For instance get election (vaalit)-related data from Statistics Finland: http://pxwebapi2.stat.fi/PXWeb/api/v1/fi/StatFin?query=vaalit or more detailed queries: väestö under category vrm http://pxwebapi2.stat.fi/PXWeb/api/v1/fi/StatFin/vrm?query=väestö or 091 (Helsinki) from the code list http://pxwebapi2.stat.fi/PXWeb/api/v1/fi/StatFin?query=091&filter=codes Note: URL encoding needs to be checked for special characters that are common in Swedish and Finnish (å/ä/ö).

However it might be more handy for a user to use nice web GUIs to locate the URL for thei data set of interest, then download the data through R. Hence perhaps this free text query property is not a priority for pxweb pkg.


Reply to this email directly or view it on GitHub.

@MansMeg
Copy link
Contributor

MansMeg commented Sep 30, 2015

It is now full functionality for searching in the pxweb api

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