Description Usage Arguments Value Examples
Helper function to determine whether a supplied data frame is a specific orgsurveyr-data-formats
defined in the package.  Either returns a boolean or throws a stop.
1  | check_df_format(df, format = NULL, dev_mode = FALSE)
 | 
df | 
 query data frame  | 
format | 
 format to test - see   | 
dev_mode | 
 stop if test is false. Default is FALSE  | 
string of data frame type
1 2 3 4 5 6 7 8 9 10 11  | data(tg_org_indiv_df)
check_df_format(tg_org_indiv_df, 'indiv_df')
data(tg_org_indiv_tall_df)
check_df_format(tg_org_indiv_tall_df, 'indiv_tall_df')
data(tg_org_summarised_df)
check_df_format(tg_org_summarised_df, 'org_tall_df')
data(mtcars)
check_df_format(mtcars, 'indiv_df')
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.