View source: R/import_content_spot_check.R
This is a generic function that performs several quick checks on a dataset to check for discrepancies versus the originating file. Function will return messages warning against mismatched length between the R dataframe and the original file, or if rows or columns are mismatched between the raw data file and the R dataframe
1 | content_spot_check(df, filepath, delim = ",", rows = 15, skip = 0, verbose = T)
|
df |
dataframe user wants to test |
filepath |
path to file of raw data user wants to compare |
delim |
character used to break up cells in data file |
rows |
number of rows to use to test file, default is 15 |
skip |
number of rows to skip at top of the file if needed |
verbose |
if true, returns more comprehensive output |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.