Man pages for karldw/kdw.junk
Miscellaneous Functions Karl Found Useful

auto_renderRe-render a document as it changes
binscatterMake a binscatter plot, allowing for formulas and fixed...
box_homeGet the user's Box folder
capture_plot_outputCapture graphical output
cite_attached_packagesCite currently attached pacakges
clear_allClear everything possible
configure_tikzDeviceSet some tikzDevice options
detect_function_conflictsDetect function conflicts between packages
dropbox_homeFind the user's Dropbox folder
ensure_id_varsRaise an error if the claimed variables don't uniquely...
explain_analyzeEXPLAIN and ANALYZE the current query
felm_strictMake felm slightly easier to use for someone who forgets to...
find_rcpp_depsFind installed packages that depend on Rcpp
get_coresGet a reasonable number for mc.cores
get_extGet file's extension.
get_osGet the current operating system
hol_daylight_savingUS Daylight Saving Time
holidaysUS holidays
install_lazyInstall packages if not already installed
is.connectionTest if connection (to a file/website/zipfile etc)
is_idDo the claimed variables identify rows?
is_rstudioIs this code running in Rstudio?
make_better_namesMake names nicer to work with
make_join_saferDEPRECATED: Make a join function safer.
make_monthlyCoarsen a date to monthly resolution
memory_limitGet or set memory limits
merge_stataDEPRECATED: Use dplyr to emulate Stata merges.
month_to_quarterGet quarter from month
narrateDEPRECATED: Message to the user
nrowReally get the number of rows of the table
pg_add_foreign_keyAdd a foreign key
pg_add_indexCreate an index
pg_add_primary_keyAdd a primary key
pg_vacuumRun the VACUUM command, and maybe ANALYZE too.
read_dtaRead and reconstitute Stata file.
remove_extReturn the filename without extension.
rename_colsRename columns in a table
save_plotSave a ggplot plot
stopifStop if a condition is TRUE
st_union_intersectionUnion intersecting geometries in x
truncate_bytesTruncate a string to be no longer than a specific number of...
update_packagesDEPRECATED: Update installed packages
vec2stringDEPRECATED: Turn a vector into one long string, used to...
winsorizeWinsorize one vector
karldw/kdw.junk documentation built on Sept. 8, 2021, 9:30 p.m.