View source: R/multiple_entries.R
fhir_rm_indices | R Documentation |
Removes the indices in front of multiple entries as produced by fhir_crack()
when brackets are provided in
the design.
fhir_rm_indices( indexed_data_frame, brackets = c("<", ">"), columns = names(indexed_data_frame) )
indexed_data_frame |
A data frame with indices for multiple entries as produced by |
brackets |
A character vector of length two defining the brackets that were used in |
columns |
A character vector of column names, indicating from which columns indices should be removed. Defaults to all columns. |
A data frame without indices.
fhir_melt()
#unserialize example bundles <- fhir_unserialize(bundles = example_bundles1) patients <- fhir_table_description(resource = "Patient") df <- fhir_crack(bundles = bundles, design = patients, brackets = c("[", "]")) df_indices_removed <- fhir_rm_indices(indexed_data_frame = df, brackets=c("[", "]"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.