Skip to content

Commit

Permalink
Merge pull request runapp-aus#40 from bryceroney/update-pkgdown-strayr
Browse files Browse the repository at this point in the history
Update documentation as a consequence of merging in strayr
  • Loading branch information
Will Mackey authored May 31, 2021
2 parents e4362e1 + fdd5f5f commit 2efd519
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 24 deletions.
6 changes: 3 additions & 3 deletions R/clean_anzsco.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' Convert ANZSCO names and abbreviations into the consistent format used by the Australian Bureau of Statistics.
#' This function enables both exact (default) and fuzzy matching.
#' Under exact matching, if no match is found, NA is returned.
#' @title Convert ANZSCO names and abbreviations into the consistent format used by the Australian Bureau of Statistics.
#'
#' @description This function enables both exact (default) and fuzzy matching. Under exact matching, if no match is found, NA is returned.
#'
#' @param x a (character) vector containing ANZSCO titles.
#' Note that \code{clean_anzsco} always returns a character vector. If no match is found, then \code{NA} is returned.
Expand Down
6 changes: 3 additions & 3 deletions R/clean_anzsic.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' Convert ANZSIC names and abbreviations into the consistent format used by the Australian Bureau of Statistics.
#' This function enables both exact (default) and fuzzy matching.
#' Under exact matching, if no match is found, NA is returned.
#' @title Convert ANZSIC names and abbreviations into the consistent format used by the Australian Bureau of Statistics.
#'
#' @description This function enables both exact (default) and fuzzy matching. Under exact matching, if no match is found, NA is returned.
#'
#' @param x a (character) vector containing ANZSIC titles.
#' Note that clean_anzsic always returns a character vector. If no match is found, then NA is returned.
Expand Down
2 changes: 1 addition & 1 deletion R/clean_helpers.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' clean_titles is a helper function for the clean
#' clean_titles is a helper function for the cleaning of titles
#'
#' @param dictionary a dictionary created with the make_dictionary function
#' @param .vector a character vector
Expand Down
3 changes: 1 addition & 2 deletions R/is_holiday.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#' @title is_holiday
#' @description Identifies if a given date is a public holiday in Australia
#' @title Identifies if a given date is a public holiday in Australia
#' @param date Date, POSIXct object or a string that can be parsed with `parsedate::parse_date`
#' @param jurisdictions Vector of state jurisdictions you wish to filter on, defaults to all of Australia
#' @return logical(`TRUE` or `FALSE`) vector
Expand Down
9 changes: 9 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,18 @@ reference:
contents:
- starts_with("anz")
- starts_with("asced")
- auholidays
- title: "Importing ABS Data"
desc: >
Functions for retrieving ABS data
contents:
- get_seifa
- get_seifa_index_sheet
- title: "Helper functions"
desc: >
Functions for cleaning data and working with datasets
in the package
contents:
- is_holiday
- starts_with("clean_")
- starts_with("make_")
8 changes: 2 additions & 6 deletions man/clean_anzsco.Rd

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

8 changes: 2 additions & 6 deletions man/clean_anzsic.Rd

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

4 changes: 2 additions & 2 deletions man/clean_titles.Rd

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

2 changes: 1 addition & 1 deletion man/is_holiday.Rd

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

0 comments on commit 2efd519

Please sign in to comment.