{
  "_id": "6a3a8f5344e65c5976a73d3a",
  "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-06-23 12:18:59 UTC",
  "RemoteUrl": "https://github.com/MRCIEU/ieugwasr",
  "RemoteRef": "HEAD",
  "RemoteSha": "645c83f88425b14202f53745bfe364379dc3ecf7",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-23 13:48:23 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>",
  "MD5sum": "8fdacb95050be56d99cbe2e6d694614f",
  "_user": "mrcieu",
  "_type": "src",
  "_file": "ieugwasr_1.1.0.9000.tar.gz",
  "_fileid": "249e764ee7eccd5df1009d0732b04d729c85ea14aeec244ac0bd9d2d05817b22",
  "_filesize": 185946,
  "_sha256": "249e764ee7eccd5df1009d0732b04d729c85ea14aeec244ac0bd9d2d05817b22",
  "_created": "2026-06-23T13:48:23.000Z",
  "_published": "2026-06-23T13:51:15.702Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 82971610120,
      "time": 133,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7822902153"
    },
    {
      "job": 82971610051,
      "time": 120,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7822895575"
    },
    {
      "job": 82971610064,
      "time": 70,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7822871711"
    },
    {
      "job": 82971610192,
      "time": 78,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7822876117"
    },
    {
      "job": 82970904218,
      "time": 180,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7822836324"
    },
    {
      "job": 82971610235,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7822884003"
    },
    {
      "job": 82971610227,
      "time": 67,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7822870171"
    },
    {
      "job": 82971610125,
      "time": 77,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7822874724"
    },
    {
      "job": 82971610278,
      "time": 68,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7822871001"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28030864138",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/MRCIEU/ieugwasr",
  "_commit": {
    "id": "645c83f88425b14202f53745bfe364379dc3ecf7",
    "author": "Tom Palmer <remlapmot@hotmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #162 from remlapmot/bump-ci\n\nBump actions/checkout to v7",
    "time": 1782217139
  },
  "_maintainer": {
    "name": "Gibran Hemani",
    "email": "g.hemani@bristol.ac.uk",
    "login": "explodecomputer",
    "description": "",
    "uuid": 1924940,
    "orcid": "0000-0003-0920-1055"
  },
  "_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
    }
  ],
  "_tags": [
    {
      "name": "v1.1.0",
      "date": "2025-07-31"
    }
  ],
  "_stars": 109,
  "_contributors": [
    {
      "user": "remlapmot",
      "count": 199,
      "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": 3568,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ieugwasr"
  },
  "_devurl": "https://github.com/mrcieu/ieugwasr",
  "_pkgdown": "https://mrcieu.github.io/ieugwasr/",
  "_searchresults": 740,
  "_rbuild": "4.6.0",
  "_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",
    "extra/readme.html",
    "extra/readme.md",
    "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"
      ]
    }
  ],
  "_readme": "https://github.com/MRCIEU/ieugwasr/raw/HEAD/README.md",
  "_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": 11.337604858876892,
  "_indexed": true,
  "_nocasepkg": "ieugwasr",
  "_universes": [
    "mrcieu",
    "explodecomputer"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0.9000",
      "date": "2026-06-23T13:50:44.000Z",
      "distro": "resolute",
      "commit": "645c83f88425b14202f53745bfe364379dc3ecf7",
      "fileid": "f712f988ae93b68c80f9ccadb1fc78da58a887f7adec488d7792cc5c5134ec11",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28030864138"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0.9000",
      "date": "2026-06-23T13:50:31.000Z",
      "distro": "resolute",
      "commit": "645c83f88425b14202f53745bfe364379dc3ecf7",
      "fileid": "7c2683243597d0d06a11f42ed73e629b4e6959e0bc39d8f5baa45af336b73d58",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28030864138"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0.9000",
      "date": "2026-06-23T13:49:46.000Z",
      "commit": "645c83f88425b14202f53745bfe364379dc3ecf7",
      "fileid": "ad4031ac193eb83464364c9fd0e8cdd79343ac4b37fb3e1d85ec52adc42d06ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28030864138"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0.9000",
      "date": "2026-06-23T13:49:54.000Z",
      "commit": "645c83f88425b14202f53745bfe364379dc3ecf7",
      "fileid": "40f91422fd4e5e668c1a67767aca56d1bf1d7a3984eb2c5c8ad2261ca3ed378d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28030864138"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0.9000",
      "date": "2026-06-23T13:50:21.000Z",
      "commit": "645c83f88425b14202f53745bfe364379dc3ecf7",
      "fileid": "00bce437f5a9f860f4ba491bb0e11eacc39cc6c7c82fdaea9d4c8dc026cf1bc2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28030864138"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-06-23T13:49:35.000Z",
      "commit": "645c83f88425b14202f53745bfe364379dc3ecf7",
      "fileid": "c4577b45a3af0f91564e4540ee137aa45d2a35b74670b4b53421b316609bcee9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28030864138"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-06-23T13:49:43.000Z",
      "commit": "645c83f88425b14202f53745bfe364379dc3ecf7",
      "fileid": "29d2ac55e8b7a684440cf3032f51978e245b8b81b31ce758842fcf58382765ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28030864138"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-06-23T13:49:35.000Z",
      "commit": "645c83f88425b14202f53745bfe364379dc3ecf7",
      "fileid": "01b1115454f367e2368e539fcf2b51b0f0fda49bb31911cc4a15b8c8375af54a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28030864138"
    }
  ]
}