BD Validation

GitHub Documents

This is an R Markdown format used for publishing markdown documents to GitHub. When you click the Knit button all R code chunks are run and a markdown file (.md) suitable for publishing to GitHub is generated.

Including Code

You can include R code in the document as follows:

knitr::opts_chunk$set(echo = FALSE)
library(RODBC)
library(tidyverse)
## -- Attaching packages -------------------------------------------------------- tidyverse 1.3.0 --

## v ggplot2 3.2.1     v purrr   0.3.3
## v tibble  2.1.3     v dplyr   0.8.3
## v tidyr   1.0.0     v stringr 1.4.0
## v readr   1.3.1     v forcats 0.4.0

## -- Conflicts ----------------------------------------------------------- tidyverse_conflicts() --
## x dplyr::filter() masks stats::filter()
## x dplyr::lag()    masks stats::lag()

Including Plots

You can also embed plots, for example:

Check 1: Check Measure Number

#check1 <- 
  BDdata %>% 
  group_by(Measure_Num)%>%
  count(Measure_Num)
## # A tibble: 26 x 2
## # Groups:   Measure_Num [26]
##    Measure_Num      n
##    <fct>        <int>
##  1 M00237      158146
##  2 M00238      300167
##  3 M00239      158146
##  4 M00240      300167
##  5 M00241      151996
##  6 M00242      288242
##  7 M00243      158146
##  8 M00244      300167
##  9 M00245      153226
## 10 M00246      290627
## # ... with 16 more rows
#View(check1)

Check 2: Check Measure Type

#check2 <- 
  BDdata %>% 
  group_by(Measure_Type)%>%
  count(Measure_Type)
## # A tibble: 2 x 2
## # Groups:   Measure_Type [2]
##   Measure_Type       n
##   <fct>          <int>
## 1 BASIC        3748980
## 2 SMOOTH       1702840
#View(check2)