| person | R Documentation | 
A synthetic data set with person data with records to be corrected. The datasethas missing values
person
A data frame with x rows and variables:
monthly income, in US dollars
age of a person in year
gender of a person
year of measurement
if a person smokes or not
how many cigarretes a person smokes
...
The dataset is also available as a sqlite database at
system.file("db/person.db", package="dcmodifydb")
# load modification rules and apply:
library(dcmodify)
rules <- modifier(.file = system.file("db/corrections.yml", package="dcmodifydb"))
con <- DBI::dbConnect(RSQLite::SQLite(), dbname=system.file("db/person.db", package="dcmodifydb"))
person <- dplyr::tbl(con, "person")
print(person)
person2 <- modify(person, rules, copy=TRUE)
print(person2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.