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

Support for tabular data #79

Open
mshd opened this issue Nov 18, 2021 · 1 comment
Open

Support for tabular data #79

mshd opened this issue Nov 18, 2021 · 1 comment

Comments

@mshd
Copy link
Contributor

mshd commented Nov 18, 2021

Could you add a feature to support tabular data. (example)

Would be nice if P4179 could get the data directly.

@maxlath
Copy link
Owner

maxlath commented Feb 13, 2022

Tabular data is already supported, in the sense that the functions simplify.claims and such will be be able to simplify the claim and give you just the file name (ex: Data:Population_FR_Q117517.tab), but it doesn't give you a way to retrieve that data indeed. We could have a function like getImageUrl, which given a file name returns the URL to fetch it (in the case of media files, something like https://commons.wikimedia.org/wiki/Special:FilePath/Peredot.jpg?width=250), but I couldn't find the URL that would need to be generated: is there an API endpoint to retrieve the raw data file?

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

No branches or pull requests

2 participants