Package index
-
add_counties()
- Add county, FIPS, and geometry to data frame with zip codes
-
age_days()
- Calculate Number of Days Between Two Dates
-
change()
- Calculate Lagged Metrics
-
change_lagged()
- Calculate lagged values by column
-
check_chars_numeric()
- Check that
x
contains numbers only
-
check_first_char()
- Check that
x
begin with 1 or 2
-
check_length()
- Check length of
x
is 1
-
check_nchars_10()
- Check that
x
is 10 characters long
-
chg_abs()
- Lagged absolute change
-
chg_pct()
- Lagged percentage change
-
clean_number()
- Clean character vector of numbers
-
collapser()
- Wrapper for
paste0()
that collapses result
-
colon()
- Create Integer Sequence Beginning at 1
-
color_text()
- Color text using HTML color styling
-
columns_to_character()
- Coerce all columns to type character
-
combine()
- Combine multiple columns into one
-
common_regex()
- Common Regular expressions
-
construct_regex()
- Construct regex patterns
-
count_days()
- Count days between two dates
-
count_prop()
- Count and calculate proportion of each group
-
count_prop_multi()
- Count and calculate proportion of each group
-
count_wide()
- Count rows and columns and pivot to wide format
-
create_vec()
- Generate code from a vector of values
-
data_types()
- Return data.frame of column types
-
delister()
- Wrapper for
unlist()
, withuse.names
set toFALSE
-
density()
- Density plot
-
describe()
- Describe a dataset
-
describe2()
- Describe 2
-
describe_unique()
- Describe unique values in a data frame
-
display_long()
- Pivot data frame to long format for easy printing
-
duration_vec()
- Calculate the duration between two dates
-
expand_date_range()
- Expand date range to include all dates
-
fancy_ts()
- Plots a fancy time series
-
find_common_order()
- Determine a common ordering from a set of vectors
-
gchop()
- Chop Vector by Group
-
geomean()
- Calculate Geometric Mean
-
gg_theme()
- ggplot2 theme
-
glue_chr()
- Coerce glue() output to character
-
glue_data_chr()
- Coerce glue_data() output to character
-
gluestick()
- String interpolation
-
`%nin%`
- Infix
!x %in% y
-
`%nn%`
- Infix
if (!is.null(x)) y else x
-
`%or%`
- Infix
!x %in% y
-
gt_marks()
- gt Marks
-
histogram()
- Histogram
-
interpolate()
- Linearly interpolate values between two points
-
is_valid_npi()
- Validate NPIs (v1)
-
is_valid_npi2()
- Validate NPIs (v2)
-
make_interval()
- Create interval, period and time length columns from a start and end date
-
mock_forager()
- Generate mock coding/billing data frame
-
mock_provider()
- Generate simple data frame for testing
-
na_if_common()
- Convert various character strings to
NA
-
named_group_split()
- Split a
<tibble>
by Groups with Named List Output
-
new_value()
- Calculate the new value from the old value and the percentage change between the two values
-
pad_number()
- Pad numbers with zeroes
-
percentage_calculator()
- Percentage calculator
-
percentage_change()
- Calculate the percentage change between two values
-
percentage_difference()
- Calculate the percentage difference between two values
-
print_ls()
- Print a named list
-
random_npi_generator()
- Generate random NPIs
-
rate_of_return()
- Lagged rate of return
-
remove_quiet()
- Remove empty rows and columns
-
rename_seq()
- Generate a sequence of numbers with a new prefix
-
search_for()
- Search a data frame column by string
-
single_line_string()
- Format multiple line character vector to single line
-
sorted_bars()
- Sorted Bar Chart
-
splitter()
- Wrapper for
strsplit()
that unlists and unnames results
-
summary_stats()
- Summary statistics
-
ttimestamp()
- Timestamp
-
years_df()
- Calculate the number of years between two dates
-
years_floor()
- Calculate the number of years between two dates rounded down to the nearest whole number
-
years_vec()
- Calculate the number of years between two dates