starling 1.1.0
“Record Linkage for Public Health Surveillance”
String obfuscation using the comma operatorJavaScript massive string concatenation chain
SHA-2567df1f5bb779ba7d4d6baf85e0ef481145fb10056900a53238caa8702cfdd8431
MaleculeO(As)H(Db)
Evidence
30 data.frame(
31 id_var = paste0("vax_", 1:6),
32 lettername1 = c("John", "Jane", "Robert", "Alice", "Michael", "Emily"),
33 lettername2 = c("Smith", "Doe", "Brown", "Jones", "Taylor", "Davis"),
34 dob = as.Date(c("1980-03-15", "1992-07-22", "1975-11-08", "1988-05-30",
129test_that("check_medicare() validates correct Medicare numbers", {
130 # 2123456701: weights c(1,3,7,9,1,3,7,9) x c(2,1,2,3,4,5,6,7) = 2+3+14+27+4+15+42+63 = 170; 170 % 10 = 0; digit9 = 0
131 df <- data.frame(medicare = "2123456701", stringsAsFactors = FALSE)
132 result <- check_medicare(df, medicare_col = "medicare", verbose = FALSE)
205test_that("preflight() returns a list with expected elements", {
206 df1 <- make_df1()
207 df2 <- make_df2()
251test_that("preflight() date checks work for valid dates", {
252 df1 <- make_df1()
253 df2 <- make_df2()
3This directory contains synthetic datasets bundled with the starling package
4for use in vignettes, documentation examples, and tests.
Showing the top 5 files — 2 more files (6 regions) not shown.
No evidence locations were recorded for this file. Raw result