Skip to contents

`generateMockData()` uses functions such as [IncidencePrevalence::mockIncidencePrevalenceRef()] to create csv files to test ReportGenerator.

Usage

generateMockData(
  databaseName = c("CHUBX", "CPRD_GOLD", "IMASIS", "IPCI", "SIDIAP"),
  simulatePopulation = TRUE,
  outputPath = test_path("studies", "summarised_zip"),
  internal = TRUE
)

Arguments

databaseName

A vector with the name in characters of each database.

simulatePopulation

TRUE or FALSE to simulate different population sizes. TRUE is default.

outputPath

A character vector of the path to export mock data.

internal

interal usage

Value

csv files