Skip to content

Commit

Permalink
deleted data folder
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrohagan committed Jul 13, 2024
1 parent 857013c commit f7265e4
Show file tree
Hide file tree
Showing 14 changed files with 194 additions and 207 deletions.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.2
Imports:
assertthat,
cli,
dbplyr,
dplyr,
Expand Down
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ export("%>%")
export(abc)
export(abc_graph)
export(augment_time_attributes)
export(calculate)
export(clean_file_names)
export(count_plus)
export(create_duckdb_data)
Expand Down
7 changes: 5 additions & 2 deletions R/abc.R
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@

#' Classify a group by proportion of a variable (A,B,C)
#' @description
#' This returns a table that will segment your data into A,B or C segments based on custom
#' thresholds
#'
#' @param .data tibble or DBI object
#' @param dim dimension to classify by (should be additive and positive)
#' @param a initial segment threshold expressed as a percentage eg .7
#' @param b incremental segment threshold expressed as a percentage eg .26
#' @param c final segment threshold expressed as a percentage eg .04
#' @param .data data frame or tibble
#' @param func either "sum" or "n"; sum to sum your dim or n for row count
#' @param ... columns to group by
#'
#' @return a tibble or DBI obj
#' @return a tibble or DBI object
#' @export
#'
#' @examples
Expand Down
Loading

0 comments on commit f7265e4

Please sign in to comment.