Skip to content

Instantly share code, notes, and snippets.

@andylolz
Last active June 3, 2021 13:03
Show Gist options
  • Save andylolz/18649e999f2bfca17174ae3e90bb37a0 to your computer and use it in GitHub Desktop.
Save andylolz/18649e999f2bfca17174ae3e90bb37a0 to your computer and use it in GitHub Desktop.
Snapshot of totals as they stood on 6th May 2021
Service Total Extra info URL Notes
IATI Standard homepage 1,088,218 https://iatistandard.org This is a cached version of the registry figure
IATI Registry 1,088,218 https://iatiregistry.org/api/3/action/package_search?q=extras_filetype:activity&facet.field=[%22extras_activity_count%22]&start=0&rows=0&facet.limit=1000000 sum((int(k) * v for k, v in response['result']['facets']['extras_activity_count'].items()))
Code for IATI dashboard 1,045,136 https://dashboard-stats.codeforiati.org/current/aggregated/activities.json response
Code for IATI dashboard 1,002,840 Unique identifiers https://dashboard-stats.codeforiati.org/current/aggregated/unique_identifiers.json response
IATI dashboard 1,030,605 http://dashboard.iatistandard.org/stats/current/aggregated/activities.json response
IATI dashboard 988,603 Unique identifiers http://dashboard.iatistandard.org/stats/current/aggregated/unique_identifiers.json response
d-portal 982,670 https://d-portal.org/q?from=act&limit=-1&select=count_aid int(response['rows'][0]['count_aid'])
Datastore classic 962,434 Unique identifiers https://datastore.codeforiati.org/api/1/about/ response['indexed_activities']
Datastore v2 839,053 v2.0x only; schema valid only https://iatidatastore.iatistandard.org/api/activities/?format=json&page_size=1 response['count']
Datastore v2 search 839,053 v2.0x only; schema valid only https://iatidatastore.iatistandard.org/search/activity?q=*&rows=1 response['response']['numFound']
@siemvaessen
Copy link

Are these nrs real-time? They look very outdated. Better to have something real-time~ish?

@andylolz
Copy link
Author

andylolz commented Jun 3, 2021

This was a one-off snapshot, taken on 6 May 2021. I’ve added a description to the gist.

I might update it at some point, but no plans to currently. It would certainly be better to include this in a live dashboard. There’s a related ticket here: codeforIATI/iati-ideas#41

@siemvaessen
Copy link

Gotcha!

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