Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
astra-cdc committed Feb 11, 2024
1 parent 8f6a6ce commit 3b6ba09
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 17 deletions.
7 changes: 4 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ Authors@R:
Description: Short and understandable commands that generate tabulated,
formatted, and rounded survey estimates. Mostly a wrapper for the
'survey' package (Lumley (2004) <doi:10.18637/jss.v009.i08>
<https://CRAN.R-project.org/package=survey>) that implements the National
Center for Health Statistics (NCHS) presentation standards
(Parker et al. (2017) <https://www.cdc.gov/nchs/data/series/sr_02/sr02_175.pdf>,
<https://CRAN.R-project.org/package=survey>) that identifies
low-precision estimates using the National Center for Health
Statistics (NCHS) presentation standards (Parker et al. (2017)
<https://www.cdc.gov/nchs/data/series/sr_02/sr02_175.pdf>,
Parker et al. (2023) <doi:10.15620/cdc:124368>).
Date/Publication: 2023
License: Apache License (>= 2)
Expand Down
4 changes: 2 additions & 2 deletions R/codebook.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ codebook = function(all = FALSE
} else if(design$variables[,ii] %>% is.logical) {
r1$Values = ""
} else { # numeric, character, all others
mn = min(design$variables[,ii])
mx = max(design$variables[,ii])
mn = min(design$variables[,ii], na.rm = TRUE)
mx = max(design$variables[,ii], na.rm = TRUE)
if (mx > mn) {
r1$Values = paste0(mn, " - ", mx)
} else {
Expand Down
14 changes: 8 additions & 6 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pkgdown_sha: ~
articles:
Example-National-Ambulatory-Medical-Care-Survey-NAMCS-tables: Example-National-Ambulatory-Medical-Care-Survey-NAMCS-tables.html
surveytable: surveytable.html
last_built: 2024-02-06T18:40Z
last_built: 2024-02-11T21:18Z
urls:
reference: https://cdcgov.github.io/surveytable/reference
article: https://cdcgov.github.io/surveytable/articles
Expand Down
6 changes: 3 additions & 3 deletions docs/reference/surveytable-package.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/search.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion man/surveytable-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3b6ba09

Please sign in to comment.