Reactable With Download CSV Button
Source:R/factor-reactable.R
reactable_with_download_csv_button.Rd
A function that converts a simple tibble or dataframe into a reactable with a download csv button
Value
A interactive table of `input_data` with a download csv button. medical_data <- tibble::tribble( ~unique_id, ~medications, ~medication_fixed, "1", "Medication 1", "Fixed Medication 1", "2", "Medication 2", "Fixed Medication 2" )
medical_table <- medical_data |> reactable_with_download_csv_button( factor_columns = c("unique_id", "medications", "medication_fixed") download_file_name = "download" )