Package index
-
as.data.frame(<Interval>) - Convert an Interval object to a data frame
-
as_interval() - Create an Interval object from a date range
-
check_date_range() - Check that a vector of two dates within a specified date range
-
check_urls_exist() - Check if URLs exist and can be reached
-
clamp() - Replace out-of-range values with the nearest in-range value
-
connect_to_database() - Create a connection to a database
-
convert_units() - Convert between common units
-
create_database() - Create a file-based database
-
create_database_table() - Create table if not already existing
-
delete_database_entries() - Delete specific entries from a database table.
-
do_if() - Apply a function if a condition is met
-
do_if_enough() - Apply a function if enough values are non-NA
-
extract_sf_coords() - Add sf coordinates and crs as columns
-
for_each() - Loop over a vector-like object and apply a function
-
get_communities() - Get a communities within a region from OpenStreetMap
-
get_file_index() - Get a file index from a URL
-
get_precision() - Get the number of decimal places in a numeric vector
-
get_season() - Get the season from a date
-
get_step() - Determine most common distance between values
-
get_timezone() - Lookup timezones of latitude/longitude pairs
-
is_within() - Check if a date is within an interval
-
join_list() - Join a list of data frames
-
log_step() - Log a message for script progress tracking
-
max()min() - Get the maximum/minimum value while handling NAs cleanly
-
mode() - Get the most common value
-
on_error()on_warning() - Control what happens when an error/warning occurs
-
read_from_database() - Read data from a database
-
rolling() - Apply a function over a rolling window
-
save_figure() - Save a ggplot2 figure for publishing
-
sentence_range() - Convert a sequence of numbers to a human-readable string
-
seq(<Interval>) - Extend seq() to work with Intervals
-
sf_as_df() - Convert an sf object to a data.frame
-
shorten_number() - Shorten a number to a string with a unit prefix (e.g. "1K", "10M", "100B")
-
silence() - Silence unwanted output
-
split_date_range() - Split a date range into multiple, shorter date ranges
-
summarise_logs() - Log overall and individual run time for repeated
log_step()calls -
swap() - Swap out values in a vector
-
truncate() - Truncate a numeric vector to a certain number of decimal places
-
write_to_database() - Write data to a database