Human readable dataset titles?

Hi again, how do I get from the slugs to datasets to the human readable version, is there an endpoint for that?

For instance:

“datasets”: [
“everypolitician”,
“wd_peps”,
“wikidata”,
“wd_categories”
]

To:

{
“everypolitician”: “EveryPolitician Database”,
“wd_peps”: “Wikidata Politically Exposed Persons”,
“wikidata”: “Wikidata General”,
“wd_categories”: “Wikidata Categorized Data”
}

Thanks in advance!

2 Likes

Hi there! You can get the most recent version of the datasets directly from the metadata file https://data.opensanctions.org/datasets/latest/index.json. This file is provided in a structured JSON format, which adheres to the FollowTheMoney (FtM) schema and includes comprehensive details about each dataset (slug, title, description, etc.) which you can fetch and cache in your application.

 "datasets": [

   {

     "name": "wd_peps",

     "title": "Wikidata Politically Exposed Persons",

     "description": "...",

     "url": "..."

   }

Let me know if you need anything else!

1 Like