code_sql_summarize: Summarize Records

View source: R/code_sql_summarize.R

code_sql_summarizeR Documentation

Summarize Records

Description

SQL Code to get descriptive statistics

Usage

code_sql_summarize(sql, cols, by = NULL, include_sdp = FALSE)

Arguments

sql

an object of type code_sql_sample, character in SQL format that has SQL which selects records

cols

the columns that you want to analyze

by

summarize by these groups

include_sdp

include the standard deviation (population). This is optional because some databases (SQLite in particular) do not support this statistic.

Details

Summarizes the numeric columns from a SELECT statement or table


MattjCamp/Coder documentation built on April 28, 2023, 4:53 p.m.