{"id":27309564,"url":"https://github.com/parmentf/co-aff-align","last_synced_at":"2026-01-21T22:32:45.421Z","repository":{"id":140013229,"uuid":"334100096","full_name":"parmentf/co-aff-align","owner":"parmentf","description":"Script d'alignement des affiliations Conditor avec le RNSR","archived":false,"fork":false,"pushed_at":"2021-01-29T10:51:40.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T05:35:28.845Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/parmentf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-01-29T09:42:19.000Z","updated_at":"2021-01-29T10:51:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"ac453a47-6b1e-466b-8c74-ab903846c645","html_url":"https://github.com/parmentf/co-aff-align","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/parmentf/co-aff-align","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parmentf%2Fco-aff-align","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parmentf%2Fco-aff-align/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parmentf%2Fco-aff-align/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parmentf%2Fco-aff-align/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parmentf","download_url":"https://codeload.github.com/parmentf/co-aff-align/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parmentf%2Fco-aff-align/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28645549,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T21:29:11.980Z","status":"ssl_error","status_checked_at":"2026-01-21T21:24:31.872Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-12T05:30:47.589Z","updated_at":"2026-01-21T22:32:45.409Z","avatar_url":"https://github.com/parmentf.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# co-aff-align\n\nScript d'alignement des affiliations Conditor avec le RNSR.\n\n## Installation\n\n```bash\nnpm i\n```\n\n## Configuration\n\n\u003e :warning: Attention, comme dans toute utilisation de\n\u003e [@ezs/conditor](https://inist-cnrs.github.io/ezs/#/plugin-conditor), il faut\n\u003e créer dans le répertoire d'où le script est lancé (ou plus vers la racine) un\n\u003e fichier `.env`.\n\u003e\n\u003e Seuls les scripts utilisant la commande\n\u003e [`conditorScroll`](https://inist-cnrs.github.io/ezs/#/plugin-conditor?id=conditorscroll)\n\u003e doivent y placer une variable `CONDITOR_TOKEN` contenant un token Conditor\n\u003e valide.\n\n### Usage\n\n#### affAlign.ini\n\n```bash\nnpx ezs scripts/affAlign.ini \u003c data/10-notices-conditor-hal.json\n```\n\nCe script prend un tableau JSON de documents Conditor, et ajoute une clé\n`[].authors[].affiliations[].conditorRnsr[]`, contenant les identifiants RNSR\nrepérés grâce au champ `address` d'une affiliation d'auteur et à l'année de\npublication du document, `xPublicationDate`.\n\n#### computeRecall.ini\n\n```bash\n$ npx ezs scripts/computeRecall.ini \u003c data/10-notices-conditor-hal.json\n[{\n    \"correct\": 8,\n    \"total\": 11,\n    \"recall\": 0.7272727272727273\n}]\n```\n\nCe script fait la même chose que [affAlign.ini](#affalignini), et compte le nombre\nd'identifiants RNSR déjà fourni dans la clé `rnsr` qui sont aussi retrouvés dans\n`conditorRnsr`, le nombre total d'éléments retrouvés dans `conditorRnsr`, et\nfournit le taux de rappel dans `recall`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparmentf%2Fco-aff-align","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparmentf%2Fco-aff-align","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparmentf%2Fco-aff-align/lists"}