owid / owid-datasette Goto Github PK
View Code? Open in Web Editor NEWAn experiment of publishing articles and variable metadata as a datasette instance
An experiment of publishing articles and variable metadata as a datasette instance
metadata.yml
contains metadata about tables for Datasette. It lives in this repository, but those tables live in analytics repository. We could move the file there to be closer to the tables and then fetch it from here (see update.sh
), but then it would be further from the actual Datasette instance. It's not yet clear how this should work.
See this #23
Just opening this issue as a way to keep track of what I just found, in a search through the Datasette plugin page:
We probably want to enable auth soon, so we can sync data tables like pageviews
over without exposing them.
For this, these three plugins sound super useful:
Currently, there is a (broken) cronjob on the analytics server that is supposed to build the sqlite file and then does a dummy git commit to owid-datasette and pushes this. We want to get rid of analytics soon and so this should instead be done in the datasette LXC container instead.
Instead of doing dummy commits to trigger redeploys, the digital ocean API should be called to trigger a restart of the owid-public container after the sqlite file has been uploaded.
When this is done, the datasette folder on analytics and the cronjob can be deleted
This is probably a minor thing, but in case there are blocks in the content (references with <!-- wp:block {"ref":24542} /-->
) like in https://ourworldindata.org/world-population-growth#population-growth, then those charts won't be in post_charts
table. To fix this we'd have to lookup all references and materialize them in content
before searching for links.
(This has been fixed in analytics repo)
Hey there!
Was trying to play with the public SQLite database of OWID and couldn't find it.
I've tried these two URI
s:
s3://owid-public/owid-public.sqlite.gz
s3://owid-public/owid.db.gz
Something like https://datasette.io/plugins/sqlite-regex would allow us to do a couple of useful analytic aggregation queries on the private instance.
(Specifically extracting references to particular DoDs by ID and then aggregating how many pageviews each DoD has.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.