{
  "_id": "6ad47b7f104c877e3b41449f",
  "Package": "ieugwasr",
  "Title": "Interface to the 'OpenGWAS' Database API",
  "Version": "1.2.0",
  "Authors@R": "c(\nperson(\"Gibran\", \"Hemani\", , \"g.hemani@bristol.ac.uk\", role = c(\"aut\", \"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\", , \"remlapmot@hotmail.com\", role = c(\"aut\", \"cre\"),\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.1.0",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://remlapmot.r-universe.dev",
  "Date/Publication": "2026-10-07 13:49:41 UTC",
  "RemoteUrl": "https://github.com/MRCIEU/ieugwasr",
  "RemoteRef": "v1.2.0",
  "RemoteSha": "0c5b4cc6bc5e675afe222262950c8bb488f8d2f3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-18 07:46:58 UTC",
    "User": "root"
  },
  "Author": "Gibran Hemani [aut, cph] (ORCID:\n<https://orcid.org/0000-0003-0920-1055>),\nBen Elsworth [aut] (ORCID: <https://orcid.org/0000-0001-7328-4233>),\nTom Palmer [aut, cre] (ORCID: <https://orcid.org/0000-0003-4655-4511>),\nRita Rasteiro [aut] (ORCID: <https://orcid.org/0000-0002-4217-3060>)",
  "Maintainer": "Tom Palmer <remlapmot@hotmail.com>",
  "_user": "remlapmot",
  "_type": "src",
  "_file": "ieugwasr_1.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/4251665d696c70dfa13839f2a9764f11b3ec4f8ec81ea4491cd489c6eafba926",
  "_filesize": 184914,
  "_sha256": "4251665d696c70dfa13839f2a9764f11b3ec4f8ec81ea4491cd489c6eafba926",
  "_expires": "2027-01-26T07:55:42.000Z",
  "_created": "2026-10-18T07:46:58.000Z",
  "_published": "2026-10-18T07:55:43.632Z",
  "_buildurl": "https://github.com/r-universe/remlapmot/actions/runs/39108697874",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117620812536,
      "time": 109,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12129328527"
    },
    {
      "job": 117620812514,
      "time": 163,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12128769812"
    },
    {
      "job": 117620812517,
      "time": 98,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12129722903"
    },
    {
      "job": 117620812552,
      "time": 138,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12129678241"
    },
    {
      "job": 117620057229,
      "time": 239,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12129203983"
    },
    {
      "job": 117620812515,
      "time": 91,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12129293765"
    },
    {
      "job": 117620812581,
      "time": 80,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12128764574"
    },
    {
      "job": 117620812512,
      "time": 59,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12128824451"
    },
    {
      "job": 117620812523,
      "time": 70,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12129960203"
    }
  ],
  "_upstream": "https://github.com/MRCIEU/ieugwasr",
  "_commit": {
    "id": "0c5b4cc6bc5e675afe222262950c8bb488f8d2f3",
    "author": "Tom Palmer <remlapmot@hotmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #169 from remlapmot/tp-maintainer\n\nMake TP maintainer",
    "time": 1791380981
  },
  "_maintainer": {
    "name": "Tom Palmer",
    "email": "remlapmot@hotmail.com",
    "login": "remlapmot",
    "orcid": "0000-0003-4655-4511",
    "description": "Averaging statistician ... ",
    "uuid": 3777473
  },
  "_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": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "mrcieu",
  "_selfowned": true,
  "_usedby": 9,
  "_updates": [
    {
      "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
    },
    {
      "week": "2026-32",
      "n": 1
    },
    {
      "week": "2026-35",
      "n": 1
    },
    {
      "week": "2026-39",
      "n": 1
    },
    {
      "week": "2026-40",
      "n": 1
    },
    {
      "week": "2026-41",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.2.0",
      "date": "2026-10-07"
    }
  ],
  "_stars": 113,
  "_contributors": [
    {
      "user": "remlapmot",
      "count": 240,
      "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": 3777473,
    "type": "user",
    "name": "Tom Palmer",
    "followers": 110,
    "description": "Averaging statistician ... "
  },
  "_downloads": {
    "count": 3197,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ieugwasr"
  },
  "_devurl": "https://github.com/mrcieu/ieugwasr",
  "_pkgdown": "https://mrcieu.github.io/ieugwasr/",
  "_searchresults": 1084,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ieugwasr.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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"
    },
    {
      "version": "1.2.0",
      "date": "2026-10-07"
    }
  ],
  "_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/v1.2.0/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.772402153122663,
  "_indexed": false,
  "_nocasepkg": "ieugwasr",
  "_universes": [
    "remlapmot"
  ],
  "_indexurl": "https://mrcieu.r-universe.dev/ieugwasr",
  "_previous": "1.1.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-10-18T07:48:50.000Z",
      "distro": "resolute",
      "commit": "0c5b4cc6bc5e675afe222262950c8bb488f8d2f3",
      "fileid": "https://r2.ropensci.org/846a7ed2acb10d41988a22a65fa005e0e031f370d1e352decd1cd94453b3542d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/remlapmot/actions/runs/39108697874"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-10-18T07:49:43.000Z",
      "distro": "resolute",
      "commit": "0c5b4cc6bc5e675afe222262950c8bb488f8d2f3",
      "fileid": "https://r2.ropensci.org/fe17ac265e8d27b9856b39a7d29ea434ecafa829caccce4eb1af16cc738b5060",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/remlapmot/actions/runs/39108697874"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-10-18T07:54:32.000Z",
      "commit": "0c5b4cc6bc5e675afe222262950c8bb488f8d2f3",
      "fileid": "https://r2.ropensci.org/840efc40670757dd2343f29283c358959890186183216cec6158b6d6664923a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/remlapmot/actions/runs/39108697874"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-10-18T07:55:06.000Z",
      "commit": "0c5b4cc6bc5e675afe222262950c8bb488f8d2f3",
      "fileid": "https://r2.ropensci.org/696945623f628558dd5555a3e08094ba03c523fa2496068de878498b2d150b81",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/remlapmot/actions/runs/39108697874"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0",
      "date": "2026-10-18T07:48:48.000Z",
      "commit": "0c5b4cc6bc5e675afe222262950c8bb488f8d2f3",
      "fileid": "https://r2.ropensci.org/275bb88e0ba5cf89e860e01b13f0af14a68b82f100fea63d65eb0d9988043f63",
      "status": "success",
      "buildurl": "https://github.com/r-universe/remlapmot/actions/runs/39108697874"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-10-18T07:48:05.000Z",
      "commit": "0c5b4cc6bc5e675afe222262950c8bb488f8d2f3",
      "fileid": "https://r2.ropensci.org/1b9d5af4809e03b14622504abf17dbb01b039473d1bfc99d5bfdda375188c457",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/remlapmot/actions/runs/39108697874"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-10-18T07:48:00.000Z",
      "commit": "0c5b4cc6bc5e675afe222262950c8bb488f8d2f3",
      "fileid": "https://r2.ropensci.org/671fff5ef9cbcdcc4db2d975079ccf7ba529e899fda482934877e3bff00e09b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/remlapmot/actions/runs/39108697874"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-10-18T07:48:04.000Z",
      "commit": "0c5b4cc6bc5e675afe222262950c8bb488f8d2f3",
      "fileid": "https://r2.ropensci.org/6f2df06877816163ca3026558bf6a6936ac5a78f6d0918a0ead3ed8addd81e11",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/remlapmot/actions/runs/39108697874"
    }
  ]
}