prep_ref_directory | R Documentation |
Creates a data frame of the referral directory of the State, which can be used to create other more stylistically appealing tables
prep_ref_directory( df, indices, serv.cols, servtyp.pattern, day.pattern, namelist )
df |
The cleaned data from the State. |
indices |
A numeric vector of all the column indices that will be used to create the tabulation. |
serv.cols |
The columns that contain the interventions provided. Used either as an atomic vector with indices, a regular expression or the actual column names. by each category of service provider. |
servtyp.pattern, day.pattern |
A regular expression that represents the
|
namelist |
A named list with column names as follows:
In all instances, the value is the column name for that variable. |
A modified data frame containing the information required of the State's referral directory.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.