Function reference
-
alpha_to_int()
- Convert an alphabetical character object from A to Z into a corresponding integer
-
as_cardinal_bearing()
- Convert a numeric bearing value to the closest cardinal bearing
-
as_crs()
is_lonlat_crs()
- Coerce a sf, sfc, or bbox object to a coordinate reference system
-
as_integer()
- as.integer with option to suppress warnings for NA coercion
-
as_numbered_labels()
- Convert a numeric vector to a vector of numbered labels
-
as_orientation()
- What is the orientation of a numeric aspect ratio?
-
as_roman()
- as.roman with option to suppress warnings for NA coercion
-
as_sfc()
- Coerce a sf object to a sfc object
-
combine_words()
- Combine multiple words into a single string
-
digit_pattern()
- Helper to return a regex based on side
-
file_path()
- Construct path to file ignoring NULL values for filename or path
-
has_fileext()
- Does string contain the specified file type or any file extension?
-
has_filetype()
- Does string contain the specified file type or any file extension?
-
has_len_between()
has_min_length()
has_max_length()
- Is the length of x between two values?
-
has_same_crs()
has_same_crs()
: Do two sf, sfc, or bbox objects use the same coordinate reference system?
-
has_same_len()
has_same_len()
- Do two object have an identical length?
-
int_to_alpha()
- Convert a integer into a corresponding letter or multi-letter string
-
is_all()
is_all_null()
is_all_na()
- Do all items in a list or vector return TRUE from a predicate function?
-
is_all_in()
- Is all of x in y?
-
is_any()
is_any_null()
is_any_na()
is_none()
is_none_null()
is_any()
is_any_null()
is_any_na()
- Do any items in a list or vector return
TRUE
from a predicate function?
-
is_any_in()
- Are any of x in y?
-
is_blank()
- Test if a character vector consists of blank strings
-
is_fileext_path()
is_geojson_fileext()
is_csv_fileext()
is_excel_fileext()
is_rdata_fileext()
is_rds_fileext()
is_rda_fileext()
is_zip_fileext()
- Does this text end in the provided file extension?
-
is_filetype_path()
- Does this text end in the specified filetype?
-
is_gg()
is_ggplot()
is_ggproto()
is_patchwork()
- Is this a gg class object?
-
is_gg_list()
- Do all items in this list inherit the gg class?
-
is_list_all()
- Do all items in this list inherit the provided class?
-
is_named()
has_all_names()
has_any_names()
- Is this object a named list or character vector?
-
is_none_in()
- Are none of x in y?
-
is_sf()
is_sfc()
is_sfg()
is_bbox()
is_sf_ext()
is_raster()
is_sp()
- Is this a sf class object?
-
is_sf_list()
- Do all items in this list inherit the sf class?
-
is_unit()
is_margin()
- Is this a unit class object?
-
is_units()
- Is this a units class object?
-
is_url()
is_esri_url()
is_gsheet_url()
is_gist_url()
is_gmap_url()
- Is an object a URL?
-
map_chr()
- Apply a function to each element of a vector.
-
plural_words()
- Simple helper for pluralizing words
-
roman_to_int()
- Convert a Roman numeral character object into a corresponding integer
-
set_start_number()
- Set start number for numeric vector x
-
str_c()
- Join multiple strings into a single string
-
str_detect()
- Detect the presence or absence of a pattern in a string
-
str_extract()
- Extract matching patterns from a string
-
str_add_fileext()
str_remove_fileext()
str_extract_fileext()
- Add, remove, or extract file extensions from character vectors
-
str_length()
- Compute the length of a string
-
str_n_freq()
- Get the n most frequent or least frequent appearing values in a vector
-
str_pad()
- Duplicate and concatenate strings within a character vector
-
str_pad_digits()
str_extract_digits()
str_replace_digits()
str_increment_digits()
- Modify digits within strings
-
str_remove()
- Remove matched patterns in a string
-
str_replace()
- Replace matched patterns in a string
-
str_replace_all()
- Replace matched patterns in a string
-
str_width()
- Compute the width of a string
-
tosentence()
- Convert to a common sentence case
-
underscore()
- Replace spaces in string with underscores