You can install the development version of bis620.2023 from GitHub with:
# install.packages("devtools")
devtools::install_github("anranjiao/bis620.2023")
library(bis620.2023)
startshinyapp()
This package includes a shiny app based on a dataset from clinical trial provided by ClinicalTrials.gov. This app offers multiple functions for users such as identifying the distribution of facilities over the world, eligibility criteria for each study, and the types and counts of diseases studied which help the users better understand the past clinical trials through various ways of visualizations.
These are some basic examples:
library(bis620.2023)
facilities_wmap = get_facilities_wmap(facilities)
plot_facility_map(facilities_wmap)
library(wordcloud)
#> Loading required package: RColorBrewer
data_Feature_5 = studies |> head(1000)
word_results = get_word(data_Feature_5)
wordcloud(names(word_results),
word_results,
scale=c(5,1),
colors=brewer.pal(7,"BrBG"),
max.words=20,
min.freq = 5,)