Skip to content

kellywang568/bis620.2023_old

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bis620.2023

R-CMD-check test-coverage

The goal of bis620.2023 is to create a package that allows for the visualization and a platform that facilitates viewers experience with interacting with large and copious amounts of data. It serves to create an interface where viewers can view the distinct features and attributes of the data, specifically comparing to treatment and condition. We apply some of the following operations: creating a world map of trials, creating a condition keyword search, creating an intervention and condition bar chart, creating a pie chart for outcomes, having an ID count for individual countries, and finally creating a picture of a word cloud. Creating a world map of trials allows us to see the distribution of trials across the countries. The intervention and condition keyword search allows viewers to filter and see the brief titles or types of trials that they are interested in. The bar chart of the top 10 conditions allows us to select an intervention type and see a list of conditions that are associated with studies involving that type of intervention. The pie chart allows us to see the proportion on the types of outcomes. The ID count allows us to see the frequency and distribution of subjects across each of the countries. The word cloud provides a visual diagram of the frequency of words that appear in the study. All of these serve to facilitate the ability of processing and visualizing the data more easily as well as making it more interpretable for the viewer to see as well.

Installation

You can install the development version of bis620.2023 from GitHub with:

# install.packages("devtools")
devtools::install_github("zihanwang00/bis620.2023")

Example

This is a basic example which shows you how to solve a common problem:

library(bis620.2023)
accel |> 
  head(1000) |> 
  plot_accel()

Test Coverage Report

You can run the following code to see test report of the package.

library(covr)
report()
cov <- package_coverage()
print(cov)
#> bis620.2023 Coverage: 6.32%
#> R/condition_hist.R: 0.00%
#> R/count_id.R: 0.00%
#> R/intervention.R: 0.00%
#> R/map.R: 0.00%
#> R/phase_hist.R: 0.00%
#> R/pie.R: 0.00%
#> R/query.R: 0.00%
#> R/shiny.R: 0.00%
#> R/trials.R: 0.00%
#> R/word_cloud.R: 0.00%
#> R/spectral.R: 85.71%
#> R/hello.R: 100.00%
#> R/plot.R: 100.00%

About

create a package that allows for the visualization and a platform that facilitates viewers experience with interacting with large and copious amounts of data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages