{
  "_id": "6a0f5ce2acfb0bcc41c599b0",
  "Package": "alspac",
  "Title": "Data dictionary for ALSPAC",
  "Version": "0.48.12",
  "Authors@R": "c(\nperson(\"Gibran\", \"Hemani\", , \"g.hemani@bristol.ac.uk\", role = c(\"aut\", \"cre\")),\nperson(\"Matthew\", \"Suderman\", , \"matt.suderman@bristol.ac.uk\", role = \"aut\")\n)",
  "Description": "Functions to search and extract variables based on\nkeywords from the ALSPAC data dictionary.",
  "License": "Artistic-2.0",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "make libicu-dev libx11-dev zlib1g-dev",
  "Repository": "https://mrcieu.r-universe.dev",
  "Date/Publication": "2026-05-21 15:47:48 UTC",
  "RemoteUrl": "https://github.com/explodecomputer/alspac",
  "RemoteRef": "HEAD",
  "RemoteSha": "2987258471544d6967aaa42805326ab8c1e5a2fc",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-21 16:53:19 UTC",
    "User": "root"
  },
  "Author": "Gibran Hemani [aut, cre],\nMatthew Suderman [aut]",
  "Maintainer": "Gibran Hemani <g.hemani@bristol.ac.uk>",
  "MD5sum": "1f0958160c37a0daa5f13162fd09b305",
  "_user": "mrcieu",
  "_type": "src",
  "_file": "alspac_0.48.12.tar.gz",
  "_fileid": "301c7fcb9638caf8e84aba066a4f0ca8dc7401f90b868dccaa9f589e1fafdd74",
  "_filesize": 1810280,
  "_sha256": "301c7fcb9638caf8e84aba066a4f0ca8dc7401f90b868dccaa9f589e1fafdd74",
  "_created": "2026-05-21T16:53:19.000Z",
  "_published": "2026-05-21T19:28:34.753Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77252021800,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7142035858"
    },
    {
      "job": 77252021274,
      "time": 118,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7142032220"
    },
    {
      "job": 77252021556,
      "time": 83,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7142030399"
    },
    {
      "job": 77252021845,
      "time": 113,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7142063524"
    },
    {
      "job": 77252020283,
      "time": 160,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7141988242"
    },
    {
      "job": 77252020630,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7145250508"
    },
    {
      "job": 77252021792,
      "time": 77,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7142017330"
    },
    {
      "job": 77252021569,
      "time": 70,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7142015106"
    },
    {
      "job": 77252021233,
      "time": 81,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7142018230"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26240215958",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/explodecomputer/alspac",
  "_commit": {
    "id": "2987258471544d6967aaa42805326ab8c1e5a2fc",
    "author": "Matt James <matthew.hardcastle@bristol.ac.uk>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #46 from explodecomputer/update-sources-21052026\n\nsources update",
    "time": 1779378468
  },
  "_maintainer": {
    "name": "Gibran Hemani",
    "email": "g.hemani@bristol.ac.uk",
    "login": "explodecomputer",
    "description": "",
    "uuid": 1924940
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "haven",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "readstata13",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    }
  ],
  "_owner": "explodecomputer",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-22",
      "n": 3
    },
    {
      "week": "2025-29",
      "n": 1
    },
    {
      "week": "2025-31",
      "n": 1
    },
    {
      "week": "2025-37",
      "n": 1
    },
    {
      "week": "2025-38",
      "n": 1
    },
    {
      "week": "2025-41",
      "n": 6
    },
    {
      "week": "2025-42",
      "n": 3
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2025-50",
      "n": 1
    },
    {
      "week": "2025-52",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-21",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 11,
  "_contributors": [
    {
      "user": "explodecomputer",
      "count": 117,
      "uuid": 1924940
    },
    {
      "user": "stxmjh",
      "count": 115,
      "uuid": 11563914
    },
    {
      "user": "remlapmot",
      "count": 82,
      "uuid": 3777473
    },
    {
      "user": "perishky",
      "count": 73,
      "uuid": 10820177
    },
    {
      "user": "cdkn",
      "count": 14,
      "uuid": 65547272
    }
  ],
  "_userbio": {
    "uuid": 15654827,
    "type": "organization",
    "name": "MRC Integrative Epidemiology Unit"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/alspac"
  },
  "_devurl": "https://github.com/explodecomputer/alspac",
  "_searchresults": 47,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/alspac.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "checkDictionaries",
    "createDictionary",
    "dictionaryGood",
    "extractDataset",
    "extractVars",
    "extractWebOutput",
    "filterVars",
    "findVars",
    "getDefaultDataDir",
    "readExclusions",
    "removeExclusions",
    "setDataDir",
    "updateDictionaries"
  ],
  "_datasets": [
    {
      "name": "current",
      "title": "Current data",
      "object": "current",
      "file": "current.rdata",
      "class": [
        "data.frame"
      ],
      "fields": [
        "obj",
        "name",
        "lab",
        "type",
        "counts",
        "cat1",
        "cat2",
        "cat3",
        "cat4",
        "cat5",
        "path",
        "cat6",
        "mother",
        "mother_clinic",
        "mother_quest",
        "partner_quest",
        "partner_clinic",
        "partner",
        "child_based",
        "child_completed"
      ],
      "rows": 98369,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "addSourcesToDictionary",
      "title": "Add data sources information to the dictionary from the extdata/sources.csv file. See generateSourcesSpreadsheet() for details about creating this file.  This information is used when decide which data values to remove for participants who have withdrawn consent.",
      "topics": [
        "addSourcesToDictionary"
      ]
    },
    {
      "page": "checkDictionaries",
      "title": "Check dictionaries",
      "topics": [
        "checkDictionaries"
      ]
    },
    {
      "page": "createDictionary",
      "title": "Create a dictionary from ALSPAC Stata files",
      "topics": [
        "createDictionary"
      ]
    },
    {
      "page": "current",
      "title": "Current data",
      "topics": [
        "current"
      ]
    },
    {
      "page": "dictionaryGood",
      "title": "Checks a dictionary",
      "topics": [
        "dictionaryGood"
      ]
    },
    {
      "page": "extractDataset",
      "title": "Extract a dataset for external ALSPAC users",
      "topics": [
        "extractDataset"
      ]
    },
    {
      "page": "extractVars",
      "title": "Extract variables from data",
      "topics": [
        "extractVars"
      ]
    },
    {
      "page": "extractWebOutput",
      "title": "Extract variables exported from the ALSPAC variable lookup web app",
      "topics": [
        "extractWebOutput"
      ]
    },
    {
      "page": "filterVars",
      "title": "Filter duplicate variables from findVars",
      "topics": [
        "filterVars"
      ]
    },
    {
      "page": "findVars",
      "title": "Find variables",
      "topics": [
        "findVars"
      ]
    },
    {
      "page": "generateSourcesSpreadsheet",
      "title": "This function was used to initially create the inst/extdata/sources.csv spreadsheet which provides the source of data for each data file ('obj') in the dictionary. This information is then used to determine which bits of data to remove to satisfy exclusion lists.  Sources include mother, mother_clinic, mother_quest, partner, partner_clinic, partner_quest, child_based and child_completed. Sources can for the most part be determined automatically from the 'path' information provided for each variable in the dictionary.",
      "topics": [
        "generateSourcesSpreadsheet"
      ]
    },
    {
      "page": "getDefaultDataDir",
      "title": "Guess the default data directory",
      "topics": [
        "getDefaultDataDir"
      ]
    },
    {
      "page": "readExclusions",
      "title": "Get list of ALNs to exclude",
      "topics": [
        "readExclusions"
      ]
    },
    {
      "page": "removeExclusions",
      "title": "Remove data for participants who have withdrawn consent.",
      "topics": [
        "removeExclusions"
      ]
    },
    {
      "page": "setDataDir",
      "title": "Set the data directory",
      "topics": [
        "setDataDir"
      ]
    },
    {
      "page": "updateDictionaries",
      "title": "Update dictionaries",
      "topics": [
        "updateDictionaries"
      ]
    }
  ],
  "_readme": "https://github.com/explodecomputer/alspac/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "dplyr",
    "forcats",
    "generics",
    "glue",
    "haven",
    "hms",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "plyr",
    "prettyunits",
    "progress",
    "R6",
    "Rcpp",
    "readr",
    "readstata13",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr"
  ],
  "_score": 5.160648574436162,
  "_indexed": false,
  "_nocasepkg": "alspac",
  "_universes": [
    "mrcieu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.48.12",
      "date": "2026-05-21T16:55:27.000Z",
      "distro": "noble",
      "commit": "2987258471544d6967aaa42805326ab8c1e5a2fc",
      "fileid": "00328162532e9b768daf963cfc8caf99201a01f13496b8b5cb025594e5c3c6b5",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26240215958"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.48.12",
      "date": "2026-05-21T16:55:18.000Z",
      "distro": "noble",
      "commit": "2987258471544d6967aaa42805326ab8c1e5a2fc",
      "fileid": "8262cef6399818fb2712dccf2272d5320c7e1d3aab59837d8851539a388b81e3",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26240215958"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.48.12",
      "date": "2026-05-21T16:55:19.000Z",
      "commit": "2987258471544d6967aaa42805326ab8c1e5a2fc",
      "fileid": "23f9b1008d55c5074c974e24a3776830aa1978c32a1e400cca2e1f355842fff6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26240215958"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.48.12",
      "date": "2026-05-21T16:56:41.000Z",
      "commit": "2987258471544d6967aaa42805326ab8c1e5a2fc",
      "fileid": "338ae4b877698d6e7585bdcb23f645bf791509c5ef8f45d15156da9d4f7a1699",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26240215958"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.48.12",
      "date": "2026-05-21T19:28:17.000Z",
      "commit": "2987258471544d6967aaa42805326ab8c1e5a2fc",
      "fileid": "a3a577ab5446d71a1241f126f9da5e10a4790afc3f1b3472de75bded083594d6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26240215958"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.48.12",
      "date": "2026-05-21T16:54:34.000Z",
      "commit": "2987258471544d6967aaa42805326ab8c1e5a2fc",
      "fileid": "44d0c044cf65ad0003cd4e6fabfa6d55754641f1c55bbd7b7cb37998dc67a842",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26240215958"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.48.12",
      "date": "2026-05-21T16:54:27.000Z",
      "commit": "2987258471544d6967aaa42805326ab8c1e5a2fc",
      "fileid": "d6ec5db460878af74efa1ae17f2d304d2ddbcfc26c7fdb0c0e87109821cbeab0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26240215958"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.48.12",
      "date": "2026-05-21T16:54:35.000Z",
      "commit": "2987258471544d6967aaa42805326ab8c1e5a2fc",
      "fileid": "f66de22f6646c818f0f62870f14215f56fa031086f8ce9665c34f5eec9d178a5",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26240215958"
    }
  ]
}