{
  "_id": "6a1f2a40b401979e734246c8",
  "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-05-15 14:57:15 UTC",
  "RemoteUrl": "https://github.com/MRCIEU/ieugwasr",
  "RemoteRef": "HEAD",
  "RemoteSha": "d994c1154bad071b4a92cc87bcc3d39a4f1ddaad",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-15 16:09:38 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": "518fea0130b35be2a2c58607bc5e82b7",
  "_user": "mrcieu",
  "_type": "src",
  "_file": "ieugwasr_1.1.0.9000.tar.gz",
  "_fileid": "52015a4f220a0a66b5bdb2b9e5082578e8c125cc6c5b0dfd829a64ebf8680f6f",
  "_filesize": 182718,
  "_sha256": "52015a4f220a0a66b5bdb2b9e5082578e8c125cc6c5b0dfd829a64ebf8680f6f",
  "_created": "2026-05-15T16:09:38.000Z",
  "_published": "2026-06-02T19:08:48.949Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79150958375,
      "time": 131,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7021392980"
    },
    {
      "job": 79150958414,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7021398474"
    },
    {
      "job": 79150958093,
      "time": 104,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7021396413"
    },
    {
      "job": 79150958256,
      "time": 86,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7021395698"
    },
    {
      "job": 79150957685,
      "time": 267,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7021351170"
    },
    {
      "job": 79150957464,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367335174"
    },
    {
      "job": 79150958360,
      "time": 130,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7021394686"
    },
    {
      "job": 79150958891,
      "time": 75,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7021375339"
    },
    {
      "job": 79150958415,
      "time": 69,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7021374309"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25927984542",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/MRCIEU/ieugwasr",
  "_commit": {
    "id": "d994c1154bad071b4a92cc87bcc3d39a4f1ddaad",
    "author": "Tom Palmer <remlapmot@hotmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #160 from remlapmot/devel2-2026-05-14\n\nFix some typos",
    "time": 1778857035
  },
  "_maintainer": {
    "name": "Gibran Hemani",
    "email": "g.hemani@bristol.ac.uk",
    "login": "explodecomputer",
    "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-25",
      "n": 2
    },
    {
      "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
    }
  ],
  "_tags": [
    {
      "name": "v1.0.4",
      "date": "2025-06-18"
    },
    {
      "name": "v1.1.0",
      "date": "2025-07-31"
    }
  ],
  "_stars": 110,
  "_contributors": [
    {
      "user": "remlapmot",
      "count": 194,
      "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"
  },
  "_downloads": {
    "count": 3866,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ieugwasr"
  },
  "_devurl": "https://github.com/mrcieu/ieugwasr",
  "_pkgdown": "https://mrcieu.github.io/ieugwasr/",
  "_searchresults": 728,
  "_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",
    "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.318155187217622,
  "_indexed": true,
  "_nocasepkg": "ieugwasr",
  "_universes": [
    "mrcieu",
    "explodecomputer"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0.9000",
      "date": "2026-05-15T16:11:57.000Z",
      "distro": "noble",
      "commit": "d994c1154bad071b4a92cc87bcc3d39a4f1ddaad",
      "fileid": "10e631da6b27262c7a4f366f9e4705b1265eb7bc843d5d6c096d2dc259e833b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25927984542"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0.9000",
      "date": "2026-05-15T16:12:14.000Z",
      "distro": "noble",
      "commit": "d994c1154bad071b4a92cc87bcc3d39a4f1ddaad",
      "fileid": "47ad5994898f26aa6aface1483d58b3bfdeea62241ab1ae98052c825eed543d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25927984542"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0.9000",
      "date": "2026-05-15T16:12:02.000Z",
      "commit": "d994c1154bad071b4a92cc87bcc3d39a4f1ddaad",
      "fileid": "5b4be49d2564291445bb58f7d53a287d77531214beb64f67fe55d68550974cad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25927984542"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0.9000",
      "date": "2026-05-15T16:12:09.000Z",
      "commit": "d994c1154bad071b4a92cc87bcc3d39a4f1ddaad",
      "fileid": "84b8515897a30cf9fb4ca71fb716ccd0cfce252ac71316dccdc80a00b533a61e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25927984542"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-05-15T16:11:58.000Z",
      "commit": "d994c1154bad071b4a92cc87bcc3d39a4f1ddaad",
      "fileid": "61eef5fff746963a4054031dc1f5fa5455a6b971844d74639fa48fbefc63203d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25927984542"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-05-15T16:10:55.000Z",
      "commit": "d994c1154bad071b4a92cc87bcc3d39a4f1ddaad",
      "fileid": "5e53757e969184b48834d96d7b184dbf91a46923e12016240b17ccd8032aba97",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25927984542"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-05-15T16:10:53.000Z",
      "commit": "d994c1154bad071b4a92cc87bcc3d39a4f1ddaad",
      "fileid": "a00cc34c029a918c53540fe04c5c08cec5115e51809db40922fdfb415abcec0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25927984542"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0.9000",
      "date": "2026-06-02T19:08:33.000Z",
      "commit": "d994c1154bad071b4a92cc87bcc3d39a4f1ddaad",
      "fileid": "53c7ab9dea5830ae09dea7e219a5422f2935dd5250288b6eb06ad9ad137da17b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25927984542"
    }
  ]
}