Description Usage Arguments Value Examples
View source: R/dailyLogicChecks.R
Find common column names in 2 different data sets. E.g. In doing field surveys, checking for variables with same name in master tracking list & field tracking list. It's a good habit to check for such common variable names to avoid losing necessary variables from using data.
1 | list_common_columns(df1, df2)
|
df1 |
First dataset. This should be in either of the following formats:
|
df2 |
Second dataset. This should be in either of the following formats:
|
a character vector of column names that are shared by df1
and
df2
1 | list_common_columns(df1 = dataObj1, df2 = dataObj2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.