MaRDI4NFDI / portal-compose

docker-composer repo for mardi
https://portal.mardi4nfdi.de
GNU General Public License v3.0
3 stars 1 forks source link

Add author names #487

Closed physikerwelt closed 4 months ago

physikerwelt commented 4 months ago

New feature description in words: Some (a lot) authors don't have proper names in the MaRDI portal. The goal is to add names to the authors.

TODOS: (In technical terms, suggestions what has to be done to implement the feature.)

Checklist for this issue: (Some checks for making sure this feature request is completely formulated)

LizzAlice commented 4 months ago

Can it be acquired over the api though? Because the names were not always returned when I queried the papers.

physikerwelt commented 4 months ago

See for example https://portal.mardi4nfdi.de/wiki/Item:Q2740228 no name is given. However https://api.zbmath.org/v1/author/yaroshko.s-a gives

{
  "result": {
    "aliases": [],
    "awards": [],
    "code": "yaroshko.s-a",
    "collective_of": [],
    "external_ids": [],
    "further_spellings": [],
    "id": 676403,
    "main_fields": [
      {
        "count": 2,
        "field": "45",
        "percent": "28.571428571428573",
        "percentile": "28.571428571428573"
      },
      {
        "count": 2,
        "field": "65",
        "percent": "28.571428571428573",
        "percentile": "57.142857142857146"
      }
    ],
    "in_collective": [],
    "name": "Yaroshko, S. A.",
    "reviewer": null,
    "spellings": [
      {
        "count": 5,
        "first_name": "S. A.",
        "initials": "S A",
        "last_name": "Yaroshko",
        "name": "Yaroshko, S. A."
      }
    ],
    "states": [],
    "zbmath_url": "https://zbmath.org/authors/yaroshko.s-a"
  },
  "status": {
    "execution": "successful request",
    "execution_bool": true,
    "internal_code": "ok",
    "query_execution_time_in_seconds": 0.04577136039733887,
    "status_code": 200,
    "time_stamp": "2024-02-08 15:35:26.767660"
  }
}

Here the result is roughly equivalent to item in the code above.

For other authors, such as @timconrad there is more info given

{
  "result": {
    "aliases": [],
    "awards": [],
    "code": "conrad.tim-o-f",
    "collective_of": [],
    "external_ids": [
      {
        "external_id": "136673392",
        "type": "gnd"
      },
      {
        "external_id": "QvW5bJ8AAAAJ",
        "type": "google_scholar"
      },
      {
        "external_id": "25/2747",
        "type": "dblp"
      },
      {
        "external_id": "https://www.zib.de/members/conrad",
        "type": "homepage"
      },
      {
        "external_id": "Q41105043",
        "type": "wikidata"
      },
      {
        "external_id": "0000-0002-5590-5726",
        "type": "orcid"
      }
    ],
    "further_spellings": [],
    "id": 1737540,
    "main_fields": [
      {
        "count": 3,
        "field": "60",
        "percent": "33.333333333333336",
        "percentile": "33.333333333333336"
      },
      {
        "count": 1,
        "field": "05",
        "percent": "11.11111111111111",
        "percentile": "44.44444444444444"
      },
      {
        "count": 1,
        "field": "90",
        "percent": "11.11111111111111",
        "percentile": "55.55555555555556"
      },
      {
        "count": 1,
        "field": "92",
        "percent": "11.11111111111111",
        "percentile": "66.66666666666667"
      },
      {
        "count": 1,
        "field": "62",
        "percent": "11.11111111111111",
        "percentile": "77.77777777777779"
      }
    ],
    "in_collective": [],
    "name": "Conrad, Tim O. F.",
    "reviewer": null,
    "spellings": [
      {
        "count": 2,
        "first_name": "Tim O. F.",
        "initials": "T O F",
        "last_name": "Conrad",
        "name": "Conrad, Tim O. F."
      },
      {
        "count": 2,
        "first_name": "Tim",
        "initials": "T",
        "last_name": "Conrad",
        "name": "Conrad, Tim"
      }
    ],
    "states": [
      [
        "c",
        "is cited"
      ]
    ],
    "zbmath_url": "https://zbmath.org/authors/conrad.tim-o-f"
  },
  "status": {
    "execution": "successful request",
    "execution_bool": true,
    "internal_code": "ok",
    "query_execution_time_in_seconds": 0.055642127990722656,
    "status_code": 200,
    "time_stamp": "2024-02-08 15:38:31.141613"
  }
}
eloiferrer commented 4 months ago

The addition of labels has finished. All zbMath authors have a label now.

physikerwelt commented 4 months ago

Amazing, one little request regariding our strategic goal documentation. Can you link the code and your notes (if you have) or an excerpt from your bash history here. I suggest to timebox this activity with 15min.