Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial separation of tabyl #588

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ docs
Meta
docs/
janitor.Rproj
inst/doc
7 changes: 1 addition & 6 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ Authors@R: c(
person("Josep", family = "Pueyo-Ros", email = "[email protected]", role = "ctb")
)
Description: The main janitor functions can: perfectly format data.frame
column names; provide quick counts of variable combinations (i.e.,
frequency tables and crosstabs); and explore duplicate records. Other
janitor functions nicely format the tabulation results. These
tabulate-and-report functions approximate popular features of SPSS and
Microsoft Excel. This package follows the principles of the
column names and explore duplicate records. This package follows the principles of the
"tidyverse" and works well with the pipe function %>%. janitor was
built with beginning-to-intermediate R users in mind and is optimized
for user-friendliness.
Expand Down Expand Up @@ -50,7 +46,6 @@ Suggests:
VignetteBuilder:
knitr
Config/testthat/edition: 3
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.2
23 changes: 0 additions & 23 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Generated by roxygen2: do not edit by hand

S3method(chisq.test,default)
S3method(chisq.test,tabyl)
S3method(clean_names,default)
S3method(clean_names,sf)
S3method(clean_names,tbl_graph)
Expand All @@ -13,35 +11,17 @@ S3method(excel_time_to_numeric,POSIXlt)
S3method(excel_time_to_numeric,character)
S3method(excel_time_to_numeric,logical)
S3method(excel_time_to_numeric,numeric)
S3method(fisher.test,default)
S3method(fisher.test,tabyl)
S3method(print,tabyl)
S3method(tabyl,data.frame)
S3method(tabyl,default)
export("%>%")
export(add_totals_col)
export(add_totals_row)
export(adorn_crosstab)
export(adorn_ns)
export(adorn_pct_formatting)
export(adorn_percentages)
export(adorn_rounding)
export(adorn_title)
export(adorn_totals)
export(as_tabyl)
export(chisq.test)
export(clean_names)
export(compare_df_cols)
export(compare_df_cols_same)
export(convert_to_NA)
export(convert_to_date)
export(convert_to_datetime)
export(crosstab)
export(describe_class)
export(excel_numeric_to_date)
export(excel_time_to_numeric)
export(find_header)
export(fisher.test)
export(get_dupes)
export(get_one_to_one)
export(make_clean_names)
Expand All @@ -56,9 +36,6 @@ export(row_to_names)
export(sas_numeric_to_date)
export(signif_half_up)
export(single_value)
export(tabyl)
export(top_levels)
export(untabyl)
export(use_first_valid_of)
importFrom(lubridate,as_date)
importFrom(lubridate,as_datetime)
Expand Down
4 changes: 3 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# janitor 2.2.0.9000 - unreleased development version

* All `tabyl` and related functions were moved to the new `tabyl` package.

## Breaking changes

These are all minor breaking changes resulting from enhancements and are not expected to affect the vast majority of users.
Expand Down Expand Up @@ -293,7 +295,7 @@ No further changes are planned to `clean_names()` and its results should be stab

## Major features

- `clean_names()` transliterates accented letters, e.g., `çãüœ` becomes `cauoe` [(#120)](https://github.com/sfirke/janitor/issues/120). Thanks to **@fernandovmacedo**.
- `clean_names()` transliterates accented letters, e.g., `C'C#C<E` becomes `cauoe` [(#120)](https://github.com/sfirke/janitor/issues/120). Thanks to **@fernandovmacedo**.

- `clean_names()` offers multiple options for variable name styling. In addition to `snake_case` output you can select `smallCamelCase`, `BigCamelCase`, `ALL_CAPS` and others. [(#131)](https://github.com/sfirke/janitor/issues/131).
- Thanks to **@tazinho**, who wrote the [snakecase](https://github.com/Tazinho/snakecase/) package that janitor depends on to do this, as well as the patch to incorporate it into `clean_names()`. And thanks to **@maelle** for proposing this feature.
Expand Down
164 changes: 0 additions & 164 deletions R/adorn_ns.R

This file was deleted.

104 changes: 0 additions & 104 deletions R/adorn_pct_formatting.R

This file was deleted.

Loading
Loading