Skip to content

Phase 4: Citation Dashboard + Community + Documentation #5

Closed

Description

@neuromechanist

Part of #1.

Scope

The community-facing surface: citation dashboard, per-dataset citations, community/forum integration, and documentation pages.

Deliverables

  • /citation-dashboard page consuming data.nemar.org/qa/citation_dashboard/complete_analysis_data_clean.json (synced via the Phase 3 backend script): aggregate stats, top-cited datasets, citation timeline, downloadable CSV
  • Per-dataset citation block on /dataset/<id>: list of citations, "Cite this dataset" snippets (BibTeX, RIS, APA) seeded from concept DOI
  • /community page: per-dataset forum links pointing to github.com/nemarDatasets/<id>/issues, news/events block (sourced from a small markdown content collection), Slack/Discord invite block
  • /docs section: Astro Content Collections with mdx for user docs (downloading via HTTPS, using nemar-cli, BIDS basics, FAQ), site search across docs
  • 404 page that links back to Discover and Docs

Out of scope

  • Self-hosted forum (sticks with GitHub Issues; revisit later)
  • User auth / commenting on the site itself (Login still a stub)

Acceptance

  • Citation dashboard reflects synced JSON
  • All five live datasets' detail pages show citation blocks with at least DOI-based snippets
  • Docs render with full text search
  • Lighthouse a11y score > 95 on all pages

Activity

  1. neuromechanist commented on May 18, 2026

    @neuromechanist
    ContributorAuthor

    Citation tracking system update (data source for this issue)

    nemarOrg/nemar-citations finished its opencite pivot epic on 2026-05-18 (closed: nemarOrg/nemar-citations#37). The data this page consumes is now produced by a different pipeline; the JSON shape changed, the location changed, and the freshness story changed. Capturing here so this issue stays accurate.

    New data layout

    • Per-dataset citation files: citations/json_opencite/<dataset_id>_citations.json in nemarOrg/nemar-citations (was citations/json/)
    • Aggregated dashboard data: still the existing dashboard_data/ pipeline, published to data.nemar.org/qa/citation_dashboard/complete_analysis_data_clean.json by the workflow
    • Refresh cadence: weekly cron Sunday 06:00 UTC via .github/workflows/update_citations.yml

    Per-citation schema (v2)

    Each entry in citation_details[] now carries:

    • title, author, venue, year, url, cited_by, abstract (display fields)
    • doi, pmid, openalex_id (identifiers; useful for "Cite this dataset" snippets, BibTeX export, and dedup across datasets)
    • source_doi, source_relation (provenance: which DOI anchor surfaced this citation; one of References, IsDerivedFrom, IsIdenticalTo, IsVersionOf)
    • confidence_scoring (sentence-transformer similarity to dataset metadata; threshold 0.4 for "high confidence"; added in the score_confidence step after fetch)
    • discovery_backend: "opencite"

    Top-level metadata.schema_version: "2.0", metadata.discovery_backend: "opencite", metadata.fetch_status (success / partial / rate_limit / no_doi_references / ...).

    Important UX note for the per-dataset citation block

    Opencite-anchored discovery finds more citations than the old Scholar path (15-dataset smoke test: ~4.6x), but a lot of the extra comes from "papers citing the canonical methodology paper" rather than "papers that actually use this specific dataset". A naive list would inflate the headline number and reduce signal.

    The recommended default filter for /dataset/<id> (tracked in nemarOrg/nemar-citations#48):

    • show citations where ANY of:
      • source_relation in ("IsIdenticalTo", "IsVersionOf") -- anchor IS the dataset
      • confidence_score >= 0.4 -- abstract is dataset-relevant
      • mentions_dataset_id == True (in-flight; anchored mention so token collisions like ds005516 chemical-compound do not slip in)
    • with a toggle "Include related literature" to reveal References / IsDerivedFrom citations that did not pass the filter

    Per-dataset summary should display both counts, e.g. 42 uses / 182 related.

    Open follow-ups in nemarOrg/nemar-citations

    What does NOT change for this issue's scope

    • Aggregate stats / top-cited / timeline still served from the same dashboard JSON URL
    • "Cite this dataset" snippets are still generated from the concept DOI (now augmented with the per-citation doi / pmid for the citing paper if BibTeX export needs that)
    • 404 page, /docs section, /community page all unaffected

    cc nemarOrg/nemar-citations#37 for context.

  2. neuromechanist commented on Aug 3, 2026

    @neuromechanist
    ContributorAuthor

    Closing: every deliverable either shipped or moved to a different surface by later decisions.

    • Citation dashboard — moved out of this repo. /citation-dashboard 301s to dashboard.nemar.org/citations/ (nemar-observability). Data source also changed under it: nemarOrg/nemar-citations completed its opencite pivot (nemar-citations#37), per the comment above.
    • Per-dataset citation block — SHIPPED. nemar.org/dataset/nm000103 renders a Citations dialog with relation filters and cited-by counts, plus CiteExport.astro (Citations on dataset pages: pill + modal, listing count, and dataset sorting #126) for APA + BibTeX from the concept DOI.
    • /community — deliberately deleted in Drop the Community placeholder; mark outbound links as opening in a new tab #224 (2bb432d, "Drop the Community placeholder"). Per-dataset forum links live on instead, as the "Issues" action on each dataset page pointing at github.com/nemarDatasets/<id>/issues.
    • /docs — moved out of this repo. /docs 301s to docs.nemar.org/web/.
    • 404 page — src/pages/404.astro exists and links back into the site.

    Remaining live scope from this phase is tracked separately: #223 (richer read-only comments mirrored from the dataset repo's GitHub issues, blocked on nemar-cli#1043).

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions