Skip to contents

All functions

bucket_gift_level()
Bucket gift ask amounts using fundr_gift_levels
bucket_rating_level()
Bucket wealth/capacity values using fundr_rating_levels
bucket_recency()
Bucket dates by recency
calc_age()
Calculate age from birthdate
calc_age_partial()
Calculate age from partial birthdate
comment_block()
Format text as a code block comment
comment_divider()
Format text as a section divider
comment_header()
Format text as a simple comment header
consecutive_giving_years()
Calculate consecutive years of giving
convert_names()
Convert data frame column names
date_interval()
Calculate time interval between dates
date_precision()
Extract precision level from partial date string
db_connect()
Create database connection
db_query()
Execute a query and return results
db_test()
Test database connection
donor_status()
Classify donor status based on giving history
format_currency()
Format numbers as currency
format_currency_short()
Format currency in compact notation
format_pct()
Format numbers as percentages
fundr_colors()
fundr colors
fundr_gift_levels
Gift level reference table
fundr_pal()
Palette function for ggplot2 discrete scales
fundr_palette()
fundr palettes
fundr_rating_levels
Rating level reference table
fundr_setup()
Configure R session for fundraising analytics
fundr_use_google_font()
Ensure a Google Font is available for plotting
fy_label()
Fiscal year label for a date
fy_quarter()
Fiscal quarter for a date
fy_year()
Fiscal year for a date
get_fy_start_month()
Get default fiscal year start month
is_within()
Check if date is within a time period
last_weekday()
Find most recent occurrence of a weekday
latest_file()
Find the most recent file in a folder
legend_bottom()
Move legend to bottom of plot
legend_position()
Move legend to a specific position
list_recent_files()
List files sorted by modification time
next_weekday()
Find next occurrence of a weekday
normalize_phone()
Normalize phone numbers
normalize_zip()
Normalize postal (ZIP) codes
`%notin%` `%!in%`
Not in operator
parse_partial_date()
Parse partial dates (year-only or year-month)
read_latest()
Read the most recent file in a folder
scale_colour_fundr() scale_color_fundr()
Discrete colour scale using fundr palettes
scale_fill_fundr()
Discrete fill scale using fundr palettes
scale_x_currency()
Currency scale for ggplot2 x-axis
scale_y_currency()
Currency scale for ggplot2 y-axis
set_fy_start_month()
Set default fiscal year start month
sky_connect()
Create SKY API connection
sky_get()
Make GET request to SKY API
sky_get_all()
Get all pages from SKY API endpoint
sky_test()
Test SKY API connection
theme_fundr()
fundr ggplot theme
to_camel_case()
Convert strings to camelCase
to_snake_case()
Convert strings to snake_case
to_title_case()
Convert strings to Title Case
total_giving_years()
Calculate total years of giving
weekday_name()
Get weekday name from date
years_since()
Calculate years since a date