Data Column Formatter
Description
Data Column Formatter
Usage
format_date(
data,
start = "start",
end = NULL,
sep = " - ",
date_format = "%b %Y",
colname_date = "date",
replace_na = "Present",
sort_by = "none",
decreasing = TRUE
)
Arguments
data
|
Data frame for resume entry |
start
|
Start date column name. Default is "start" |
end
|
Optional. End date column name. |
sep
|
Separator between start and end date. Default is " - " |
date_format
|
Date format. Default is "%B %Y" |
colname_date
|
Name for the generated date column. Default is "date" |
replace_na
|
Value to replace NA values. Default is "Present" |
sort_by
|
Sort by "none", "start" or "end". Default is "none" |
decreasing
|
Sort in decreasing order. Default is TRUE |
Value
Data frame with formatted date column