Package: crimeutils 0.5.1

crimeutils: A Comprehensive Set of Functions to Clean, Analyze, and Present Crime Data

A collection of functions that make it easier to understand crime (or other) data, and assist others in understanding it. The package helps you read data from various sources, clean it, fix column names, and graph the data.

Authors:Jacob Kaplan [aut, cre]

crimeutils_0.5.1.tar.gz
crimeutils_0.5.1.zip(r-4.5)crimeutils_0.5.1.zip(r-4.4)crimeutils_0.5.1.zip(r-4.3)
crimeutils_0.5.1.tgz(r-4.4-any)crimeutils_0.5.1.tgz(r-4.3-any)
crimeutils_0.5.1.tar.gz(r-4.5-noble)crimeutils_0.5.1.tar.gz(r-4.4-noble)
crimeutils_0.5.1.tgz(r-4.4-emscripten)crimeutils_0.5.1.tgz(r-4.3-emscripten)
crimeutils.pdf |crimeutils.html
crimeutils/json (API)
NEWS

# Install 'crimeutils' in R:
install.packages('crimeutils', repos = c('https://jacobkap.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/jacobkap/crimeutils/issues

On CRAN:

22 exports 1 stars 0.75 score 81 dependencies 13 scripts 362 downloads

Last updated 2 years agofrom:716c00f9e1. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 03 2024
R-4.5-winOKSep 03 2024
R-4.5-linuxOKSep 03 2024
R-4.4-winOKSep 03 2024
R-4.4-macOKSep 03 2024
R-4.3-winOKSep 03 2024
R-4.3-macOKSep 03 2024

Exports:%>%capitalize_wordsindicate_outliersmake_average_graphmake_barplotsmake_desc_stats_tablemake_latex_tablesmake_mean_median_mode_table_by_groupmake_mean_std_dev_by_group_tablemake_n_and_percent_tablemake_regression_graphmake_regression_tablemake_stat_count_plotsmake_state_abbpad_decimalsscale_color_crimscale_fill_crimscale_linetype_crimscatterplot_data_graphtheme_crimtime_series_data_graphucr_constant_reporter_oris

Dependencies:base64encbigDbitbit64bitopsbslibcachemclicliprcolorspacecommonmarkcpp11crayoncurldigestdplyrevaluatefansifarverfastmapfontawesomefsgenericsggplot2gluegridExtragtgtablehighrhmshtmltoolshtmlwidgetsisobandjquerylibjsonlitejuicyjuiceknitrlabelinglatticelifecyclemagrittrmarkdownMASSMatrixmemoisemgcvmimemunsellnlmepillarpkgconfigprettyunitsprogresspurrrR6rappdirsRColorBrewerRcppreactablereactRreadrrlangrmarkdownsassscalesstringistringrtibbletidyrtidyselecttinytextzdbutf8V8vctrsviridisLitevroomwithrxfunxml2yaml

Readme and manuals

Help Manual

Help pageTopics
Capitalizes the first letter of every wordcapitalize_words
Creates new columns to indicate which values are outliers based on the average value.indicate_outliers
Create a line graph with 95% confidence interval barsmake_average_graph
Make a nice-looking barplot.make_barplots
Create a descriptive statistics table from numeric variablesmake_desc_stats_table
Creates a .tex file with LaTeX code to create a table from an R data.frame.make_latex_tables
Create a table showing the mean, median, and mode of a certain columnmake_mean_median_mode_table_by_group
Get mean and standard deviation of variables by groupmake_mean_std_dev_by_group_table
Make a table showing the number (n) and percent of the population (e.g. % of nrow()) for each value in a variable(s).make_n_and_percent_table
Make a graph of coefficient values and 95 percent confidence interval for regression.make_regression_graph
Turns regression results in a data.frame for easy conversion to a tablemake_regression_table
Make a nice-looking stat_count (similar to barplot) plot.make_stat_count_plots
Returns abbreviations of state name input.make_state_abb
Pad decimal places with trailing zeros.pad_decimals
A set of colorblind friendly colors for graphs.scale_color_crim
A set of colorblind friendly fill colors for graphs.scale_fill_crim
A set of linetypesscale_linetype_crim
Create a PDF with one scatterplot for each group in the data.scatterplot_data_graph
A minimalist theme designed for graphics in academic researchtheme_crim
Create a PDF with one time-series graph for each group in the data.time_series_data_graph
Get ORIs that consistently report their data every year.ucr_constant_reporter_oris