{
  "_id": "6a58a9b1ff0138dec5d7632e",
  "Package": "alspac",
  "Title": "Data dictionary for ALSPAC",
  "Version": "0.49.0",
  "Authors@R": "c(\nperson(\"Gibran\", \"Hemani\", , \"g.hemani@bristol.ac.uk\", role = \"aut\"),\nperson(\"Matthew\", \"Suderman\", , \"matt.suderman@bristol.ac.uk\", role = \"aut\"),\nperson(\"Matt\", \"Hardcastle\", , \"matthew.hardcastle@bristol.ac.uk\", role = c(\"aut\", \"cre\")),\nperson(\"Tom\", \"Palmer\", , \"remlapmot@hotmail.com\", 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",
  "LazyData": "true",
  "Config/roxygen2/version": "8.0.0",
  "Config/roxygen2/markdown": "TRUE",
  "Config/pak/sysreqs": "make libicu-dev libx11-dev zlib1g-dev",
  "Repository": "https://mrcieu.r-universe.dev",
  "Date/Publication": "2026-07-16 09:11:18 UTC",
  "RemoteUrl": "https://github.com/alspac/alspac",
  "RemoteRef": "HEAD",
  "RemoteSha": "ace71658969ba75b805a78464200c339b85a44e9",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-16 09:48:52 UTC",
    "User": "root"
  },
  "Author": "Gibran Hemani [aut],\nMatthew Suderman [aut],\nMatt Hardcastle [aut, cre],\nTom Palmer [aut]",
  "Maintainer": "Matt Hardcastle <matthew.hardcastle@bristol.ac.uk>",
  "_user": "mrcieu",
  "_type": "src",
  "_file": "alspac_0.49.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/7ee8bf12488a3894b0ce1b1e6b18ee4f1fe63703473f87aea12d9b1e1a90f7ec",
  "_filesize": 942260,
  "_sha256": "7ee8bf12488a3894b0ce1b1e6b18ee4f1fe63703473f87aea12d9b1e1a90f7ec",
  "_expires": "2026-10-24T09:51:42.000Z",
  "_created": "2026-07-16T09:48:52.000Z",
  "_published": "2026-07-16T09:51:44.837Z",
  "_jobs": [
    {
      "job": 87588825366,
      "time": 125,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8371462950"
    },
    {
      "job": 87588825238,
      "time": 120,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8371461018"
    },
    {
      "job": 87588825245,
      "time": 110,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8371457003"
    },
    {
      "job": 87588825269,
      "time": 76,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8371442829"
    },
    {
      "job": 87588055048,
      "time": 224,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8371409308"
    },
    {
      "job": 87588825200,
      "time": 116,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8371458761"
    },
    {
      "job": 87588825307,
      "time": 67,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8371438898"
    },
    {
      "job": 87588825256,
      "time": 88,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8371448132"
    },
    {
      "job": 87588825271,
      "time": 77,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8371443258"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29488297487",
  "_status": "success",
  "_upstream": "https://github.com/alspac/alspac",
  "_commit": {
    "id": "ace71658969ba75b805a78464200c339b85a44e9",
    "author": "Matt James <matthew.hardcastle@bristol.ac.uk>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #50 from remlapmot/devel-2026-07-15\n\nDelete one more instance of string",
    "time": 1784193078
  },
  "_maintainer": {
    "name": "Matt Hardcastle",
    "email": "matthew.hardcastle@bristol.ac.uk",
    "login": "stxmjh",
    "description": "#bioprocessing#biofuels#protein engineering#sustainability",
    "uuid": 11563914
  },
  "_distro": "resolute",
  "_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": "alspac",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "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
    },
    {
      "week": "2026-27",
      "n": 1
    },
    {
      "week": "2026-29",
      "n": 3
    }
  ],
  "_tags": [],
  "_stars": 11,
  "_contributors": [
    {
      "user": "stxmjh",
      "count": 121,
      "uuid": 11563914
    },
    {
      "user": "explodecomputer",
      "count": 117,
      "uuid": 1924940
    },
    {
      "user": "remlapmot",
      "count": 113,
      "uuid": 3777473
    },
    {
      "user": "perishky",
      "count": 73,
      "uuid": 10820177
    },
    {
      "user": "cdkn",
      "count": 14,
      "uuid": 65547272
    }
  ],
  "_userbio": {
    "uuid": 15654827,
    "type": "organization",
    "name": "MRC Integrative Epidemiology Unit",
    "followers": 252
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/alspac"
  },
  "_devurl": "https://github.com/alspac/alspac",
  "_searchresults": 43,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/alspac.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "checkDictionaries",
    "createDictionary",
    "dictionaryGood",
    "exportDictionary",
    "extractDataset",
    "extractVars",
    "extractWebOutput",
    "filterVars",
    "findVars",
    "getDefaultDataDir",
    "readExclusions",
    "removeExclusions",
    "setDataDir",
    "updateDictionaries"
  ],
  "_datasets": [
    {
      "name": "current",
      "title": "Current data",
      "object": "current",
      "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": "exportDictionary",
      "title": "Export the updated dictionary into the package source (maintainers)",
      "topics": [
        "exportDictionary"
      ]
    },
    {
      "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/alspac/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.151982395457474,
  "_indexed": false,
  "_nocasepkg": "alspac",
  "_universes": [
    "mrcieu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.49.0",
      "date": "2026-07-16T09:51:04.000Z",
      "distro": "resolute",
      "commit": "ace71658969ba75b805a78464200c339b85a44e9",
      "fileid": "https://r2.ropensci.org/eb8efbea727f8ba6b429abdb7f9dbd0eaca6ef83057583cdd80731914211ab30",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29488297487"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.49.0",
      "date": "2026-07-16T09:51:01.000Z",
      "distro": "resolute",
      "commit": "ace71658969ba75b805a78464200c339b85a44e9",
      "fileid": "https://r2.ropensci.org/d7fb08ee3011c3526aba6e8b55e11de79a171b9c920b22aa5e4d54d90859b3b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29488297487"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.49.0",
      "date": "2026-07-16T09:50:52.000Z",
      "commit": "ace71658969ba75b805a78464200c339b85a44e9",
      "fileid": "https://r2.ropensci.org/6a8b1a523b4ae8c5abc0f1e0b117c3fe2d0e30b15a69f4463f95a401bba0f9e8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29488297487"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.49.0",
      "date": "2026-07-16T09:50:19.000Z",
      "commit": "ace71658969ba75b805a78464200c339b85a44e9",
      "fileid": "https://r2.ropensci.org/7540403c4233068b053d27ee0180165721eb8fd5863fa228c51175226dda6abd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29488297487"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.49.0",
      "date": "2026-07-16T09:51:07.000Z",
      "commit": "ace71658969ba75b805a78464200c339b85a44e9",
      "fileid": "https://r2.ropensci.org/55353ed3f7e2362a7ef62e607d9c239d20542a921b2c95bdc0da75448eb58a45",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29488297487"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.49.0",
      "date": "2026-07-16T09:50:02.000Z",
      "commit": "ace71658969ba75b805a78464200c339b85a44e9",
      "fileid": "https://r2.ropensci.org/9377df31cdebb5fca781e9db015abea6ce2d326191a0fbaf688d95acca266814",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29488297487"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.49.0",
      "date": "2026-07-16T09:50:24.000Z",
      "commit": "ace71658969ba75b805a78464200c339b85a44e9",
      "fileid": "https://r2.ropensci.org/cca45a6037b1ec0cbe741494c5385364e1e62658e03c8da538a3934a6f2c667b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29488297487"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.49.0",
      "date": "2026-07-16T09:50:12.000Z",
      "commit": "ace71658969ba75b805a78464200c339b85a44e9",
      "fileid": "https://r2.ropensci.org/25ac446c6325613865081c6636874872df393c3ad23fcc4403d799f56e0c7425",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29488297487"
    }
  ]
}