{
  "_id": "6ad5d8d04a34890ab4938ecd",
  "Type": "Package",
  "Package": "omock",
  "Title": "Creation of Mock Observational Medical Outcomes Partnership\nCommon Data Model",
  "Version": "0.7.0.9000",
  "Authors@R": "c(\nperson(\"Mike\", \"Du\", , \"mike.du@ndorms.ox.ac.uk\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-9517-8834\")),\nperson(\"Martí\", \"Català\", , \"marti.catalasabate@ndorms.ox.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-3308-9905\")),\nperson(\"Edward\", \"Burn\", , \"edward.burn@ndorms.ox.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-9286-1128\")),\nperson(\"Nuria\", \"Mercade-Besora\", , \"nuria.mercadebesora@ndorms.ox.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0009-0006-7948-3747\")),\nperson(\"Xihang\", \"Chen\", , \"xihang.chen@ndorms.ox.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0009-0001-8112-8959\"))\n)",
  "Maintainer": "Mike Du <mike.du@ndorms.ox.ac.uk>",
  "Description": "Creates mock data for testing and package development for\nthe Observational Medical Outcomes Partnership common data\nmodel. The package offers functions crafted with\npipeline-friendly implementation, enabling users to\neffortlessly include only the necessary tables for their\ntesting needs.",
  "License": "Apache License (>= 2)",
  "URL": "https://ohdsi.github.io/omock/, https://github.com/ohdsi/omock",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "BugReports": "https://github.com/ohdsi/omock/issues",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "Config/pak/sysreqs": "cmake libicu-dev libssl-dev libx11-dev",
  "Repository": "https://ohdsi.r-universe.dev",
  "Date/Publication": "2026-06-19 07:25:54 UTC",
  "RemoteUrl": "https://github.com/ohdsi/omock",
  "RemoteRef": "HEAD",
  "RemoteSha": "db1d4c833457721ae42dfc7066bdf0c0e987a9cf",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-19 08:40:25 UTC",
    "User": "root"
  },
  "Author": "Mike Du [aut, cre] (ORCID: <https://orcid.org/0000-0002-9517-8834>),\nMartí Català [aut] (ORCID: <https://orcid.org/0000-0003-3308-9905>),\nEdward Burn [aut] (ORCID: <https://orcid.org/0000-0002-9286-1128>),\nNuria Mercade-Besora [aut] (ORCID:\n<https://orcid.org/0009-0006-7948-3747>),\nXihang Chen [aut] (ORCID: <https://orcid.org/0009-0001-8112-8959>)",
  "_user": "ohdsi",
  "_type": "src",
  "_file": "omock_0.7.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/5412767e229b92a64df1c9639c3f101f32bb11569039fd9c6fa5dbae41453c5b",
  "_filesize": 3930642,
  "_sha256": "5412767e229b92a64df1c9639c3f101f32bb11569039fd9c6fa5dbae41453c5b",
  "_expires": "2027-01-27T08:46:06.000Z",
  "_created": "2026-10-19T08:40:25.000Z",
  "_published": "2026-10-19T08:46:08.669Z",
  "_buildurl": "https://github.com/r-universe/ohdsi/actions/runs/39223935218",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117967383592,
      "time": 291,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12172469492"
    },
    {
      "job": 117967383575,
      "time": 232,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12172694584"
    },
    {
      "job": 117967383701,
      "time": 225,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12173406602"
    },
    {
      "job": 117967383633,
      "time": 199,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12173741289"
    },
    {
      "job": 117965674767,
      "time": 263,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12172693780"
    },
    {
      "job": 117967383533,
      "time": 147,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12172679417"
    },
    {
      "job": 117967383793,
      "time": 204,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12172714382"
    },
    {
      "job": 117967383655,
      "time": 226,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12173043406"
    },
    {
      "job": 117967383617,
      "time": 220,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12173865228"
    }
  ],
  "_upstream": "https://github.com/ohdsi/omock",
  "_commit": {
    "id": "db1d4c833457721ae42dfc7066bdf0c0e987a9cf",
    "author": "Mike Du <58779940+ilovemane@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #299 from OHDSI/release_0.7.0\n\nRelease 0.7.0",
    "time": 1781853954
  },
  "_maintainer": {
    "name": "Mike Du",
    "email": "mike.du@ndorms.ox.ac.uk",
    "login": "ilovemane",
    "description": "used to love him",
    "uuid": 58779940,
    "orcid": "0000-0002-9517-8834"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "arrow",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "clock",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "omopgenerics",
      "version": ">= 1.4.0",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "CDMConnector",
      "role": "Suggests"
    },
    {
      "package": "DBI",
      "role": "Suggests"
    },
    {
      "package": "duckdb",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "gt",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "PatientProfiles",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "ohdsi",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-42",
      "n": 5
    },
    {
      "week": "2025-43",
      "n": 1
    },
    {
      "week": "2025-44",
      "n": 10
    },
    {
      "week": "2026-04",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 5
    },
    {
      "week": "2026-06",
      "n": 5
    },
    {
      "week": "2026-10",
      "n": 2
    },
    {
      "week": "2026-13",
      "n": 4
    },
    {
      "week": "2026-16",
      "n": 5
    },
    {
      "week": "2026-18",
      "n": 3
    },
    {
      "week": "2026-25",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v0.6.0",
      "date": "2025-11-01"
    },
    {
      "name": "v0.6.1",
      "date": "2026-02-02"
    },
    {
      "name": "v0.6.2",
      "date": "2026-03-25"
    },
    {
      "name": "v0.7.0",
      "date": "2026-06-18"
    }
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "ilovemane",
      "count": 290,
      "uuid": 58779940
    },
    {
      "user": "catalamarti",
      "count": 83,
      "uuid": 18575244
    },
    {
      "user": "nmercadeb",
      "count": 9,
      "uuid": 61558739
    },
    {
      "user": "edward-burn",
      "count": 6,
      "uuid": 9583964
    }
  ],
  "_userbio": {
    "uuid": 6570077,
    "type": "organization",
    "name": "Observational Health Data Sciences and Informatics",
    "followers": 1127
  },
  "_downloads": {
    "count": 959,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/omock"
  },
  "_devurl": "https://github.com/ohdsi/omock",
  "_pkgdown": "https://ohdsi.github.io/omock/",
  "_searchresults": 377,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/omock.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/ohdsi/omock",
  "_realowner": "ohdsi",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2024-03-08"
    },
    {
      "version": "0.2.0",
      "date": "2024-05-20"
    },
    {
      "version": "0.3.0",
      "date": "2024-09-20"
    },
    {
      "version": "0.3.1",
      "date": "2024-10-15"
    },
    {
      "version": "0.3.2",
      "date": "2025-01-23"
    },
    {
      "version": "0.4.0",
      "date": "2025-06-12"
    },
    {
      "version": "0.5.0",
      "date": "2025-09-01"
    },
    {
      "version": "0.6.0",
      "date": "2025-10-31"
    },
    {
      "version": "0.6.1",
      "date": "2026-02-03"
    },
    {
      "version": "0.6.2",
      "date": "2026-03-23"
    },
    {
      "version": "0.7.0",
      "date": "2026-06-19"
    }
  ],
  "_exports": [
    "achillesColumns",
    "achillesTables",
    "availableMockDatasets",
    "cdmDisconnect",
    "cdmName",
    "cdmReference",
    "cdmSource",
    "cdmVersion",
    "cohortColumns",
    "cohortTables",
    "downloadMockDataset",
    "dropSourceTable",
    "emptyCdmReference",
    "insertTable",
    "isMockDatasetDownloaded",
    "listSourceTables",
    "mockCdmFromDataset",
    "mockCdmFromTables",
    "mockCdmReference",
    "mockCohort",
    "mockConcepts",
    "mockConditionOccurrence",
    "mockDatasetsFolder",
    "mockDatasetsStatus",
    "mockDeath",
    "mockDrugExposure",
    "mockMeasurement",
    "mockObservation",
    "mockObservationPeriod",
    "mockPerson",
    "mockProcedureOccurrence",
    "mockVisitOccurrence",
    "mockVocabularySet",
    "mockVocabularyTables",
    "omopColumns",
    "omopDataFolder",
    "omopTables",
    "readSourceTable",
    "subsetVocabularyTables",
    "tableName",
    "tableSource"
  ],
  "_datasets": [
    {
      "name": "mockDatasets",
      "title": "Available mock OMOP CDM Synthetic Datasets",
      "object": "mockDatasets",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "dataset_name",
        "url",
        "cdm_name",
        "cdm_version",
        "size",
        "size_mb",
        "number_individuals",
        "number_records",
        "number_concepts"
      ],
      "rows": 25,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "availableMockDatasets",
      "title": "List the available datasets",
      "topics": [
        "availableMockDatasets"
      ]
    },
    {
      "page": "downloadMockDataset",
      "title": "Download an OMOP Synthetic dataset.",
      "topics": [
        "downloadMockDataset"
      ]
    },
    {
      "page": "isMockDatasetDownloaded",
      "title": "Check if a certain dataset is downloaded.",
      "topics": [
        "isMockDatasetDownloaded"
      ]
    },
    {
      "page": "mockCdmFromDataset",
      "title": "Create a 'local' cdm_reference from a dataset.",
      "topics": [
        "mockCdmFromDataset"
      ]
    },
    {
      "page": "mockCdmFromTables",
      "title": "Generates a mock CDM (Common Data Model) object based on existing CDM structures and additional tables.",
      "topics": [
        "mockCdmFromTables"
      ]
    },
    {
      "page": "mockCdmReference",
      "title": "Creates an empty CDM (Common Data Model) reference for a mock database.",
      "topics": [
        "mockCdmReference"
      ]
    },
    {
      "page": "mockCohort",
      "title": "Generate Synthetic Cohort",
      "topics": [
        "mockCohort"
      ]
    },
    {
      "page": "mockConcepts",
      "title": "Adds mock concept data to a concept table within a Common Data Model (CDM) object.",
      "topics": [
        "mockConcepts"
      ]
    },
    {
      "page": "mockConditionOccurrence",
      "title": "Generates a mock condition occurrence table and integrates it into an existing CDM object.",
      "topics": [
        "mockConditionOccurrence"
      ]
    },
    {
      "page": "mockDatasets",
      "title": "Available mock OMOP CDM Synthetic Datasets",
      "topics": [
        "mockDatasets"
      ]
    },
    {
      "page": "mockDatasetsFolder",
      "title": "Deprecated",
      "topics": [
        "mockDatasetsFolder"
      ]
    },
    {
      "page": "mockDatasetsStatus",
      "title": "Check the availability of the OMOP CDM datasets.",
      "topics": [
        "mockDatasetsStatus"
      ]
    },
    {
      "page": "mockDeath",
      "title": "Generates a mock death table and integrates it into an existing CDM object.",
      "topics": [
        "mockDeath"
      ]
    },
    {
      "page": "mockDrugExposure",
      "title": "Generates a mock drug exposure table and integrates it into an existing CDM object.",
      "topics": [
        "mockDrugExposure"
      ]
    },
    {
      "page": "mockMeasurement",
      "title": "Generates a mock measurement table and integrates it into an existing CDM object.",
      "topics": [
        "mockMeasurement"
      ]
    },
    {
      "page": "mockObservation",
      "title": "Generates a mock observation table and integrates it into an existing CDM object.",
      "topics": [
        "mockObservation"
      ]
    },
    {
      "page": "mockObservationPeriod",
      "title": "Generates a mock observation period table and integrates it into an existing CDM object.",
      "topics": [
        "mockObservationPeriod"
      ]
    },
    {
      "page": "mockPerson",
      "title": "Generates a mock person table and integrates it into an existing CDM object.",
      "topics": [
        "mockPerson"
      ]
    },
    {
      "page": "mockProcedureOccurrence",
      "title": "Generates a mock procedure occurrence table and integrates it into an existing CDM object.",
      "topics": [
        "mockProcedureOccurrence"
      ]
    },
    {
      "page": "mockVisitOccurrence",
      "title": "Function to generate visit occurrence table",
      "topics": [
        "mockVisitOccurrence"
      ]
    },
    {
      "page": "mockVocabularySet",
      "title": "Creates an empty mock CDM database populated with various vocabulary tables set.",
      "topics": [
        "mockVocabularySet"
      ]
    },
    {
      "page": "mockVocabularyTables",
      "title": "Creates a mock CDM database populated with various vocabulary tables.",
      "topics": [
        "mockVocabularyTables"
      ]
    },
    {
      "page": "subsetVocabularyTables",
      "title": "Subset vocabulary tables in a CDM",
      "topics": [
        "subsetVocabularyTables"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ohdsi/omock/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/ohdsi/omock/raw/HEAD/README.md",
  "_rundeps": [
    "arrow",
    "assertthat",
    "bit",
    "bit64",
    "blob",
    "cli",
    "clipr",
    "clock",
    "cpp11",
    "crayon",
    "DBI",
    "dbplyr",
    "dplyr",
    "generics",
    "glue",
    "hms",
    "lifecycle",
    "magrittr",
    "omopgenerics",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "readr",
    "rlang",
    "snakecase",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "mock_from_tables.Rmd",
      "filename": "mock_from_tables.html",
      "title": "Building a mock from data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Create a mock cdm from a cohort table",
        "Create a mock CDM from drug_exposure"
      ],
      "created": "2025-10-15 09:25:44",
      "modified": "2025-10-31 09:38:16",
      "commits": 3
    },
    {
      "source": "subset_concepts.Rmd",
      "filename": "subset_concepts.html",
      "title": "Subsetting concepts",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Start with a mock CDM",
        "Keep a target concept set",
        "Exclude directly related concepts",
        "Control which domains are always retained",
        "Apply subsetting after building a CDM"
      ],
      "created": "2026-04-14 08:54:32",
      "modified": "2026-04-14 08:54:32",
      "commits": 1
    },
    {
      "source": "synthetic_clinical_tables.Rmd",
      "filename": "synthetic_clinical_tables.html",
      "title": "Creating mock clinical tables",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2025-10-15 09:25:44",
      "modified": "2026-03-06 22:53:52",
      "commits": 2
    },
    {
      "source": "synthetic_cohorts.Rmd",
      "filename": "synthetic_cohorts.html",
      "title": "Creating mock cohorts",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2025-10-15 09:25:44",
      "modified": "2026-03-06 22:53:52",
      "commits": 2
    },
    {
      "source": "synthetic_datasets.Rmd",
      "filename": "synthetic_datasets.html",
      "title": "Synthetic datasets",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Avialable datasets",
        "Download a dataset",
        "Create a cdm reference of a mock dataset"
      ],
      "created": "2025-10-15 09:25:44",
      "modified": "2026-03-06 22:53:52",
      "commits": 4
    },
    {
      "source": "synthetic_vocabulary.Rmd",
      "filename": "synthetic_vocabulary.html",
      "title": "Creating mock vocabulary tables",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2025-10-15 09:25:44",
      "modified": "2026-03-06 22:53:52",
      "commits": 3
    }
  ],
  "_score": 8.748067803859024,
  "_indexed": true,
  "_nocasepkg": "omock",
  "_universes": [
    "ohdsi",
    "ilovemane"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.0.9000",
      "date": "2026-10-19T08:43:23.000Z",
      "distro": "resolute",
      "commit": "db1d4c833457721ae42dfc7066bdf0c0e987a9cf",
      "fileid": "https://r2.ropensci.org/7b402c7eabef026665d1388a4e7d1aab84e302a339071869a87308a9afb161bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/39223935218"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.7.0.9000",
      "date": "2026-10-19T08:42:54.000Z",
      "distro": "resolute",
      "commit": "db1d4c833457721ae42dfc7066bdf0c0e987a9cf",
      "fileid": "https://r2.ropensci.org/a8a0c56d33d7dda172f47f154984a0a1a89d59f6f096ef4eca52e924a4f15378",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/39223935218"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.0.9000",
      "date": "2026-10-19T08:42:33.000Z",
      "commit": "db1d4c833457721ae42dfc7066bdf0c0e987a9cf",
      "fileid": "https://r2.ropensci.org/cc483223a8f3c885928417a2865aaf20bf5cdbe96a0b41b16f5032fa7ffc1fad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/39223935218"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.7.0.9000",
      "date": "2026-10-19T08:42:30.000Z",
      "commit": "db1d4c833457721ae42dfc7066bdf0c0e987a9cf",
      "fileid": "https://r2.ropensci.org/9d050e103371dfe7baa500e1b6371afac2608f1b637ec845f8d61f8852baa3a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/39223935218"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.0.9000",
      "date": "2026-10-19T08:43:10.000Z",
      "commit": "db1d4c833457721ae42dfc7066bdf0c0e987a9cf",
      "fileid": "https://r2.ropensci.org/ab9ef49e4f138b5be61d2c18b6ee794a9689db3da4c859e4147b7fbee8b267e1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/39223935218"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.0.9000",
      "date": "2026-10-19T08:41:59.000Z",
      "commit": "db1d4c833457721ae42dfc7066bdf0c0e987a9cf",
      "fileid": "https://r2.ropensci.org/9b84169aa26e953b7e9b864f43d6cb731d1ecd3556d9b1f9211d7fc1bd579de3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/39223935218"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.0.9000",
      "date": "2026-10-19T08:42:01.000Z",
      "commit": "db1d4c833457721ae42dfc7066bdf0c0e987a9cf",
      "fileid": "https://r2.ropensci.org/13d359e8b7ed5db58e44ef9cf80991cc3f07930828658e86aa563ff20e39f7e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/39223935218"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.7.0.9000",
      "date": "2026-10-19T08:42:11.000Z",
      "commit": "db1d4c833457721ae42dfc7066bdf0c0e987a9cf",
      "fileid": "https://r2.ropensci.org/e7913ae3240f30c775f27361840da0ac7cf1f9a557c9d4764024925c97964692",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/39223935218"
    }
  ]
}