Expand and arrange columns into specific order. Function takes dataframe and desired list of columns and returns dataframe with this columns arranged accordingly if column present and original dataframe and missing in columns than it will be dropped. If column is missing in original dataframe and present in columns than new column with NA values will be generated.
1 | ofsaa_data(dataframe, columns = NULL)
|
dataframe |
dataframe to be arranged |
columns |
vector of column names that defines what columns should present in the result dataframe and in which order should they appear |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.