Description Usage Format Source References Examples
A dataset with information about the first 45 US presidents as well as a 46th
person, who is not a US president, and a duplicate of one of the 45 actual presidents.
The dataset was constructed to show the capabilities
of dataReporter
and therefore, it has been constructed to include errors and miscodings.
Each observation in the dataset corresponds to a person. The dataset uses the
non-standard class Name
which is simply an attribute that has been added to
two variables in order to show how dataReporter
handles non-supported classes. Note that the dataset
is an extended and more error-filled version of the dataset presidentData
which is
also included in the package.
1 |
A data frame with 47 rows and 15 variables.
A Name
type variable containing the last name of the president.
A Name
type variable containing the first name of the president.
A factor variable indicating the order of the presidents (with George Washington as number 1 and Donald Trump as number 45).
A Date variable with the birthday of the president.
A Date variable with the date of the president's death.
A character variable with the state in which the president was born.
A charcter variable with the party to which the president was associated.
A Date variable with the date of inauguration of the president.
A Date variable with the date at which the presidency ends.
A numeric variable indicating whether there was an assassination
attempt (1
) or not (0
) on the president.
A factor variable with the sex of the president.
A factor variable with the ethnicity of the president.
A numeric variable with the duration of the presidency, in years.
A character variable with the age at inauguration.
A complex
type variable with a fictional favorite number for
each president.
Artificial dataset constructed based on the US president dataset available from Data Explorer.
Petersen AH, Ekstrøm CT (2019). “dataMaid: Your Assistant for Documenting Supervised Data Quality Screening in R.” _Journal of Statistical Software_, *90*(6), 1-38. doi: 10.18637/jss.v090.i06 ( doi: 10.18637/jss.v090.i06).
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.