slu-openGIS / compstatr
Showing 2 of 41 files from the diff.
Other files ignored by Codecov
docs/index.html has changed.
docs/pkgdown.yml has changed.
index.Rmd has changed.
docs/authors.html has changed.
README.Rmd has changed.
README.md has changed.
DESCRIPTION has changed.
NEWS.md has changed.

@@ -123,7 +123,6 @@
Loading
123 123
  crime <- tolower(crime)
124 124
125 125
  #Appends the column with the proper crime code
126 -
127 126
  if (crime == "violent"){
128 127
129 128
    cleanData <- dplyr::mutate(.data, !!newVarN := ifelse(!!var <= 50000, TRUE, FALSE))
@@ -369,6 +368,9 @@
Loading
369 368
370 369
  newVarN <- rlang::quo_name(rlang::enquo(newVar))
371 370
371 +
  # ensure the crime variable is integer
372 +
  .data <- dplyr::mutate(.data, !!var := as.integer(!!var))
373 +
372 374
  #Adds a new column with the numeric, string, or factor name
373 375
  if (output == "string" | output == "factor"){
374 376

@@ -111,6 +111,9 @@
Loading
111 111
    var <- rlang::quo(!! rlang::sym(var))
112 112
  }
113 113
114 +
  # ensure the crime variable is integer
115 +
  .data <- dplyr::mutate(.data, !!var := as.integer(!!var))
116 +
114 117
  # convert to lower case
115 118
  crime <- tolower(crime)
116 119
Files Coverage
R 97.66%
Project Totals (14 files) 97.66%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading