{
  "_id": "6a4d3975088975274b3ce99a",
  "Package": "ieugwasr",
  "Title": "Interface to the 'OpenGWAS' Database API",
  "Version": "1.1.0.9000",
  "Authors@R": "c(\nperson(\"Gibran\", \"Hemani\", , \"g.hemani@bristol.ac.uk\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-0920-1055\")),\nperson(\"Ben\", \"Elsworth\", , \"Ben.Elsworth@bristol.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-7328-4233\")),\nperson(\"Tom\", \"Palmer\", , \"tom.palmer@bristol.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-4655-4511\")),\nperson(\"Rita\", \"Rasteiro\", , \"rita.rasteiro@bristol.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-4217-3060\"))\n)",
  "Description": "Interface to the 'OpenGWAS' database API\n<https://api.opengwas.io/api/>. Includes a wrapper to make\ngeneric calls to the API, plus convenience functions for\nspecific queries.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/MRCIEU/ieugwasr,\nhttps://mrcieu.github.io/ieugwasr/",
  "BugReports": "https://github.com/MRCIEU/ieugwasr/issues",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/markdown": "TRUE",
  "Config/roxygen2/version": "8.0.0",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://mrcieu.r-universe.dev",
  "Date/Publication": "2026-07-07 13:30:24 UTC",
  "RemoteUrl": "https://github.com/MRCIEU/ieugwasr",
  "RemoteRef": "HEAD",
  "RemoteSha": "cc35329751ebb3d69226d3a6a238dd0cb7709a25",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-07 17:31:39 UTC",
    "User": "root"
  },
  "Author": "Gibran Hemani [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-0920-1055>),\nBen Elsworth [aut] (ORCID: <https://orcid.org/0000-0001-7328-4233>),\nTom Palmer [aut] (ORCID: <https://orcid.org/0000-0003-4655-4511>),\nRita Rasteiro [aut] (ORCID: <https://orcid.org/0000-0002-4217-3060>)",
  "Maintainer": "Gibran Hemani <g.hemani@bristol.ac.uk>",
  "_user": "mrcieu",
  "_type": "src",
  "_file": "ieugwasr_1.1.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/efbc5425463906fdbac87377b716866a58298234a4c6b91bec78d32941f79260",
  "_filesize": 184946,
  "_sha256": "efbc5425463906fdbac87377b716866a58298234a4c6b91bec78d32941f79260",
  "_expires": "2026-10-15T17:37:55.000Z",
  "_created": "2026-07-07T17:31:39.000Z",
  "_published": "2026-07-07T17:37:57.347Z",
  "_jobs": [
    {
      "job": 85686123979,
      "time": 129,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8146175418"
    },
    {
      "job": 85686123986,
      "time": 141,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8146180108"
    },
    {
      "job": 85686123963,
      "time": 83,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8146235570"
    },
    {
      "job": 85686123936,
      "time": 87,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8146262724"
    },
    {
      "job": 85685387767,
      "time": 209,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8146121114"
    },
    {
      "job": 85686123923,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8146166968"
    },
    {
      "job": 85686123960,
      "time": 77,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8146155198"
    },
    {
      "job": 85686123983,
      "time": 73,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8146152573"
    },
    {
      "job": 85686123933,
      "time": 114,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8146169216"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28885740100",
  "_status": "success",
  "_upstream": "https://github.com/MRCIEU/ieugwasr",
  "_commit": {
    "id": "cc35329751ebb3d69226d3a6a238dd0cb7709a25",
    "author": "Tom Palmer <remlapmot@hotmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #163 from remlapmot/devel-2026-07-07\n\nFurther optimizations and fixes",
    "time": 1783431024
  },
  "_maintainer": {
    "name": "Gibran Hemani",
    "email": "g.hemani@bristol.ac.uk",
    "login": "explodecomputer",
    "description": "",
    "uuid": 1924940,
    "orcid": "0000-0003-0920-1055"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "utils",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "mrcieu",
  "_selfowned": true,
  "_usedby": 7,
  "_updates": [
    {
      "week": "2025-31",
      "n": 2
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2025-51",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 1
    },
    {
      "week": "2026-20",
      "n": 1
    },
    {
      "week": "2026-24",
      "n": 1
    },
    {
      "week": "2026-26",
      "n": 1
    },
    {
      "week": "2026-28",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.1.0",
      "date": "2025-07-31"
    }
  ],
  "_stars": 109,
  "_contributors": [
    {
      "user": "remlapmot",
      "count": 214,
      "uuid": 3777473
    },
    {
      "user": "explodecomputer",
      "count": 165,
      "uuid": 1924940
    },
    {
      "user": "ritarasteiro",
      "count": 40,
      "uuid": 5339671
    },
    {
      "user": "elswob",
      "count": 1,
      "uuid": 1456954
    },
    {
      "user": "gaoyan152",
      "count": 1,
      "uuid": 214371087
    }
  ],
  "_userbio": {
    "uuid": 15654827,
    "type": "organization",
    "name": "MRC Integrative Epidemiology Unit",
    "followers": 250
  },
  "_downloads": {
    "count": 3688,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ieugwasr"
  },
  "_devurl": "https://github.com/mrcieu/ieugwasr",
  "_pkgdown": "https://mrcieu.github.io/ieugwasr/",
  "_searchresults": 1034,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ieugwasr.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mrcieu/ieugwasr",
  "_realowner": "mrcieu",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2024-03-25"
    },
    {
      "version": "0.2.2",
      "date": "2024-03-28"
    },
    {
      "version": "1.0.0",
      "date": "2024-04-22"
    },
    {
      "version": "1.0.1",
      "date": "2024-07-01"
    },
    {
      "version": "1.0.3",
      "date": "2025-03-22"
    },
    {
      "version": "1.0.4",
      "date": "2025-06-18"
    },
    {
      "version": "1.1.0",
      "date": "2025-08-01"
    }
  ],
  "_exports": [
    "afl2_chrpos",
    "afl2_list",
    "afl2_rsid",
    "api_query",
    "api_status",
    "associations",
    "batch_from_id",
    "batches",
    "check_access_token",
    "editcheck",
    "fill_n",
    "get_opengwas_jwt",
    "get_query_content",
    "gwasinfo",
    "gwasinfo_files",
    "infer_ancestry",
    "ld_clump",
    "ld_clump_local",
    "ld_matrix",
    "ld_matrix_local",
    "ld_reflookup",
    "legacy_ids",
    "logging_info",
    "phewas",
    "select_api",
    "tophits",
    "user",
    "variants_chrpos",
    "variants_gene",
    "variants_rsid",
    "variants_to_rsid"
  ],
  "_help": [
    {
      "page": "afl2_chrpos",
      "title": "Look up allele frequencies and LD scores for 1000 genomes populations by chrpos",
      "topics": [
        "afl2_chrpos"
      ]
    },
    {
      "page": "afl2_list",
      "title": "Retrieve a allele frequency and LD scores for pre-defined lists of variants",
      "topics": [
        "afl2_list"
      ]
    },
    {
      "page": "afl2_rsid",
      "title": "Look up allele frequencies and LD scores for 1000 genomes populations by rsid",
      "topics": [
        "afl2_rsid"
      ]
    },
    {
      "page": "api_query",
      "title": "Wrapper for sending queries and payloads to API",
      "topics": [
        "api_query"
      ]
    },
    {
      "page": "api_status",
      "title": "OpenGWAS server status",
      "topics": [
        "api_status"
      ]
    },
    {
      "page": "associations",
      "title": "Query specific variants from specific GWAS",
      "topics": [
        "associations"
      ]
    },
    {
      "page": "batch_from_id",
      "title": "Extract batch name from study ID",
      "topics": [
        "batch_from_id"
      ]
    },
    {
      "page": "batches",
      "title": "Get list of data batches in IEU OpenGWAS database",
      "topics": [
        "batches"
      ]
    },
    {
      "page": "check_access_token",
      "title": "Check if authentication has been made",
      "topics": [
        "check_access_token"
      ]
    },
    {
      "page": "check_reset",
      "title": "Check if OpenGWAS allowance needs to be reset",
      "topics": [
        "check_reset"
      ]
    },
    {
      "page": "editcheck",
      "title": "Check datasets that are in process of being uploaded",
      "topics": [
        "editcheck"
      ]
    },
    {
      "page": "fill_n",
      "title": "Look up sample sizes when meta data is missing from associations",
      "topics": [
        "fill_n"
      ]
    },
    {
      "page": "get_opengwas_jwt",
      "title": "Retrieve OpenGWAS JSON Web Token from .Renviron file",
      "topics": [
        "get_opengwas_jwt"
      ]
    },
    {
      "page": "get_query_content",
      "title": "Parse out json response from httr object",
      "topics": [
        "get_query_content"
      ]
    },
    {
      "page": "gwasinfo",
      "title": "Get list of studies with available GWAS summary statistics through API",
      "topics": [
        "gwasinfo"
      ]
    },
    {
      "page": "gwasinfo_files",
      "title": "Get list of download URLs for each file associated with a dataset through API",
      "topics": [
        "gwasinfo_files"
      ]
    },
    {
      "page": "infer_ancestry",
      "title": "Infer ancestry of GWAS dataset by matching against 1000 genomes allele frequencies",
      "topics": [
        "infer_ancestry"
      ]
    },
    {
      "page": "ld_clump",
      "title": "Perform LD clumping on SNP data",
      "topics": [
        "ld_clump"
      ]
    },
    {
      "page": "ld_clump_api",
      "title": "Perform clumping on the chosen variants using the API",
      "topics": [
        "ld_clump_api"
      ]
    },
    {
      "page": "ld_clump_local",
      "title": "Wrapper for clump function using local plink binary and ld reference dataset",
      "topics": [
        "ld_clump_local"
      ]
    },
    {
      "page": "ld_matrix",
      "title": "Get LD matrix for list of SNPs",
      "topics": [
        "ld_matrix"
      ]
    },
    {
      "page": "ld_matrix_local",
      "title": "Get LD matrix using local plink binary and reference dataset",
      "topics": [
        "ld_matrix_local"
      ]
    },
    {
      "page": "ld_reflookup",
      "title": "Check which rsids are present in a remote LD reference panel",
      "topics": [
        "ld_reflookup"
      ]
    },
    {
      "page": "legacy_ids",
      "title": "Convert current IDs to legacy IDs",
      "topics": [
        "legacy_ids"
      ]
    },
    {
      "page": "logging_info",
      "title": "Details of how access token logs are used",
      "topics": [
        "logging_info"
      ]
    },
    {
      "page": "phewas",
      "title": "Perform fast phewas of a specific variants against all available GWAS datasets",
      "topics": [
        "phewas"
      ]
    },
    {
      "page": "print.ApiStatus",
      "title": "Print API status",
      "topics": [
        "print.ApiStatus"
      ]
    },
    {
      "page": "print.GwasInfo",
      "title": "Print GWAS information",
      "topics": [
        "print.GwasInfo"
      ]
    },
    {
      "page": "select_api",
      "title": "Toggle API address between development and release",
      "topics": [
        "select_api"
      ]
    },
    {
      "page": "set_reset",
      "title": "Set the reset time for OpenGWAS allowance",
      "topics": [
        "set_reset"
      ]
    },
    {
      "page": "tophits",
      "title": "Obtain top hits from a GWAS dataset",
      "topics": [
        "tophits"
      ]
    },
    {
      "page": "user",
      "title": "Get user details",
      "topics": [
        "user"
      ]
    },
    {
      "page": "variants_chrpos",
      "title": "Obtain information about chr pos and surrounding region",
      "topics": [
        "variants_chrpos"
      ]
    },
    {
      "page": "variants_gene",
      "title": "Obtain variants around a gene",
      "topics": [
        "variants_gene"
      ]
    },
    {
      "page": "variants_rsid",
      "title": "Obtain information about rsid",
      "topics": [
        "variants_rsid"
      ]
    },
    {
      "page": "variants_to_rsid",
      "title": "Convert mixed array of rsid and chrpos to list of rsid",
      "topics": [
        "variants_to_rsid"
      ]
    }
  ],
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "dplyr",
    "generics",
    "glue",
    "httr",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "R6",
    "rlang",
    "sys",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "guide.Rmd",
      "filename": "guide.html",
      "title": "Perform fast queries against a massive database of complete GWAS summary data",
      "author": "Gibran Hemani",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Authentication",
        "Deprecated Google authentication",
        "Allowance",
        "General API queries",
        "Get API status",
        "Get list of all available studies",
        "Get list of a specific study",
        "Extract particular associations from particular studies",
        "Get the tophits from a study",
        "Perform PheWAS",
        "LD clumping",
        "LD matrix",
        "Variant information",
        "Extracting GWAS summary data based on gene region",
        "1000 genomes annotations"
      ],
      "created": "2019-11-06 00:47:49",
      "modified": "2026-05-15 14:57:15",
      "commits": 20
    },
    {
      "source": "local_ld.Rmd",
      "filename": "local_ld.html",
      "title": "Running local LD operations",
      "engine": "knitr::rmarkdown",
      "headings": [
        "LD clumping",
        "LD matrix",
        "LD proxies"
      ],
      "created": "2020-06-02 15:06:13",
      "modified": "2025-04-07 11:09:09",
      "commits": 5
    }
  ],
  "_score": 10.844047230806002,
  "_indexed": true,
  "_nocasepkg": "ieugwasr",
  "_universes": [
    "mrcieu",
    "explodecomputer"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0.9000",
      "date": "2026-07-07T17:34:00.000Z",
      "distro": "resolute",
      "commit": "cc35329751ebb3d69226d3a6a238dd0cb7709a25",
      "fileid": "https://r2.ropensci.org/52e1dc6165711d65a3c08fd0a34aacd6c68d5bb675cd071db5d0d7eb9c4f45af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28885740100"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0.9000",
      "date": "2026-07-07T17:34:06.000Z",
      "distro": "resolute",
      "commit": "cc35329751ebb3d69226d3a6a238dd0cb7709a25",
      "fileid": "https://r2.ropensci.org/67c68b35375f205dd0996d4d06e4f1f47e78dd73757425bd9002f22bda2aa6a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28885740100"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0.9000",
      "date": "2026-07-07T17:36:27.000Z",
      "commit": "cc35329751ebb3d69226d3a6a238dd0cb7709a25",
      "fileid": "https://r2.ropensci.org/91f6c3f41cee58e20cdfa0d18748110be7e0d9452b36afe29ed47b38655a695f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28885740100"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.0.9000",
      "date": "2026-07-07T17:37:29.000Z",
      "commit": "cc35329751ebb3d69226d3a6a238dd0cb7709a25",
      "fileid": "https://r2.ropensci.org/749a3cc03d319d5ae50c43a2bd02f9a76c3782ed36e591b821741193900f3582",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28885740100"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0.9000",
      "date": "2026-07-07T17:33:52.000Z",
      "commit": "cc35329751ebb3d69226d3a6a238dd0cb7709a25",
      "fileid": "https://r2.ropensci.org/89e69376179b76dd1befdbdc901403a94ac5756f2b9b9772045af6bedfa38834",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28885740100"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-07-07T17:33:05.000Z",
      "commit": "cc35329751ebb3d69226d3a6a238dd0cb7709a25",
      "fileid": "https://r2.ropensci.org/bfe18db31f68746885c1e5820c019fba2cb0f51fa913f568992d4fd784e4c720",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28885740100"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-07-07T17:32:57.000Z",
      "commit": "cc35329751ebb3d69226d3a6a238dd0cb7709a25",
      "fileid": "https://r2.ropensci.org/0b1ff03d170047377dbf04c69bd2f1caa690abe2fa31c07ee90036238e0451d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28885740100"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-07-07T17:33:38.000Z",
      "commit": "cc35329751ebb3d69226d3a6a238dd0cb7709a25",
      "fileid": "https://r2.ropensci.org/b2dfd13316852a09bedace466a28fce4c36f49af6b942174615deba21cef423b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28885740100"
    }
  ]
}