-
Notifications
You must be signed in to change notification settings - Fork 31
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
Information needed from API with ping #174
Comments
Hi Måns, I'm using the API using a JS program, my question is about getting the metadata in json-stat response, I need to know the HEADING and STUB values of the px file. At this moment I'm getting it from the px format response, but it means two calls (px format and json-stat format). In another response you use get_pxweb_metadata usign R, so how can I get metadata in a simple way? |
Hi! Im not sure if I understand your question, but if you do a call to the table but without a query, you will get a metadata json object in return. Although, not a json-stat since the meta-data dont contain any statistical data. |
Hi, I cannot tell exactly what is included in the different object. In the R pxweb package we use the JSON format. If the thing you are after is not included in neither the meta data object nor the json-stat table content object I guess it only exists in the px object and hence you need to get it twice. You can also send an e-mail to the pxweb developers at Statistics Sweden. I think their e-mail is [email protected]. /Måns |
Hi Måns, Yes... It's what I was afraid for, call two get, but it seems to be the "correct" way. Thank you for all your help and attention. I'll send an email to pxweb developers and if they have a solution I'll put it here. Regards Juan Pablo |
Get more information:
The text was updated successfully, but these errors were encountered: