Skip to content

Commit 7568827

Browse files
committed
Merge branch 'release/0.1.2'
2 parents 1ab5b6b + ed68eb5 commit 7568827

29 files changed

+236
-121
lines changed

.Rbuildignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ proof_of_concept.R
77
^\.github$
88
^vignettes/articles$
99
CITATION.cff
10+
^docs/.*
11+
^_pkgdown.yml$

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
.Ruserdata
55
.env
66
inst/doc
7+
docs/

CITATION.cff

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,25 @@ authors:
2828
email: tls@ufl.edu
2929
affiliation: University of Florida
3030
orcid: https://orcid.org/0000-0002-0830-8179
31+
- family-names: Williams
32+
given-names: Natalie
33+
affiliation: McMaster University
34+
orcid: https://orcid.org/0009-0004-2983-1542
35+
- family-names: Beasley
36+
given-names: William
37+
email: whb4@ou.edu
38+
affiliation: University of Oklahoma Health Sciences Center
39+
orcid: https://orcid.org/0000-0002-5613-5006
40+
- family-names: Wilson
41+
given-names: Aidan
42+
email: aidan.wilson@intersect.org.au
43+
affiliation: Intersect Australia
44+
orcid: https://orcid.org/0000-0001-9858-5470
45+
- family-names: Battiston
46+
given-names: Christopher
47+
email: chris.battiston@wchospital.ca
48+
affiliation: Women’s College Hospital
49+
orcid: https://orcid.org/0000-0003-2179-3735
3150
- family-names: Barnes
3251
given-names: Christopher P
3352
email: cpb@ufl.edu
@@ -53,5 +72,5 @@ identifiers:
5372
- type: doi
5473
value: 10.5281/zenodo.15635725
5574
license: Apache-2.0
56-
version: 0.1.1
57-
date-released: '2025-06-11'
75+
version: 0.1.2
76+
date-released: '2025-07-08'

DESCRIPTION

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: redcapfiller
22
Type: Package
33
Title: Fill a REDCap Project with synthetic data
4-
Version: 0.1.1
4+
Version: 0.1.2
55
Authors@R: c(
66
person("Philip", "Chase",
77
email = "pbc@ufl.edu",
@@ -19,6 +19,21 @@ Authors@R: c(
1919
email = "tls@ufl.edu",
2020
role = "ctb",
2121
comment=c(ORCID = "0000-0002-0830-8179")),
22+
person("Natalie", "Williams",
23+
role = "ctb",
24+
comment=c(ORCID = "0009-0004-2983-1542")),
25+
person("William", "Beasley",
26+
email = "whb4@ou.edu",
27+
role = "ctb",
28+
comment=c(ORCID = "0000-0002-5613-5006")),
29+
person("Aidan", "Wilson",
30+
email = "aidan.wilson@intersect.org.au",
31+
role = "ctb",
32+
comment=c(ORCID = "0000-0001-9858-5470")),
33+
person("Christopher", "Battiston",
34+
email = "chris.battiston@wchospital.ca",
35+
role = "ctb",
36+
comment=c(ORCID = "0000-0003-2179-3735")),
2237
person("Christopher", "Barnes",
2338
email = "cpb@ufl.edu",
2439
role = "ctb",
@@ -48,3 +63,6 @@ Imports:
4863
checkmate,
4964
REDCapR
5065
RoxygenNote: 7.3.2
66+
URL: https://ctsit.github.io/redcapfiller/, https://github.com/ctsit/redcapfiller/
67+
BugReports: https://github.com/ctsit/redcapfiller/issues/
68+
Roxygen: list(markdown = TRUE)

NAMESPACE

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
# Generated by roxygen2: do not edit by hand
22

3-
export(get_categorical_field_response_values)
4-
export(get_categorical_field_responses)
5-
export(get_notes_field_values)
6-
export(get_notes_fields)
7-
export(get_one_rectangle_of_values)
83
export(get_project_values)
9-
export(get_slider_field_values)
10-
export(get_slider_fields)
11-
export(get_text_field_values)
12-
export(get_text_fields)
134
importFrom(lubridate,now)
145
importFrom(lubridate,today)
156
importFrom(rlang,.data)

NEWS.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# redcapfiller 0.1.2 (released 2025-07-08)
2+
- Enable Roxygen2 markdown support (@pbchase, #44)
3+
- Reorganize 'Reference' section in pkgdown website (@pbchase, #44)
4+
- Add URL and BugReports to DESCRIPTION (@pbchase)
5+
- Add contributors to DESCRIPTION and CITATION.cff (@pbchase, #43)
6+
- Make most functions internal (@pbchase, #42)
7+
18
# redcapfiller 0.1.1 (released 2025-06-11)
29
- Fix initial release errors (@pbchase, #36)
310

R/get_categorical_field_response_values.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
#' @title generate categorical field response values
1+
#' @title Generate categorical field response values
22
#' @description
33
#' Provide a set of response values for each categorical field in
44
#' `categorical_field_responses`
55
#'
6-
#' @param categorical_field_responses a long data set of categorical
6+
#' @param categorical_field_responses A long dataframe of categorical
77
#' field response values and weights.
88
#'
9-
#' @return a tall dataframe of categorical field response values with one
9+
#' @return A long dataframe of categorical field response values with one
1010
#' row for each value set.
11-
#' @export
11+
#' @keywords Internal
1212
#'
1313
#' @examples
1414
#' \dontrun{

R/get_categorical_field_responses.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#'
66
#' @param metadata A REDCap data dictionary
77
#'
8-
#' @returns a dataframe with these columns
8+
#' @returns A long dataframe with these columns
99
#' \describe{
1010
#' \item{field_name}{First item}
1111
#' \item{field_type}{Second item}
@@ -14,7 +14,7 @@
1414
#' \item{field_group}{Second item}
1515
#' \item{weight}{a set of uniform weights across the responses of each field}
1616
#' }
17-
#' @export
17+
#' @keywords Internal
1818
#'
1919
#' @examples
2020
#' \dontrun{

R/get_notes_field_values.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#' @title Generate notes field content
22
#' @description
3-
#' Generate lorem ipsum text content for each notes field in the provided metadata
3+
#' Generate lorem ipsum text content for each notes field in `notes_fields`
44
#'
5-
#' @param notes_fields A dataframe of notes fields from a REDCap data dictionary
6-
#' (typically output from `get_notes_fields()`)
5+
#' @param notes_fields A long dataframe of notes fields from a REDCap data dictionary
6+
#' (typically output from [get_notes_fields()])
77
#'
88
#' @return A tall dataframe of notes field content with one row per field
9-
#' @export
9+
#' @keywords Internal
1010
#'
1111
#' @examples
1212
#' \dontrun{

R/get_notes_fields.R

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
#' @title Get long notes fields from a REDCap data dictionary
1+
#' @title Get notes fields from a REDCap data dictionary and annotate them with weights
22
#'
33
#' @description
4-
#' Given a REDCap data dictionary, this function returns the fields (rows) that have a field type of notes.
4+
#' Given a REDCap data dictionary, this function returns the rows that have a field type of _notes_.
55
#'
66
#' @param metadata A REDCap data dictionary
77
#'
8-
#' @returns A dataframe with the following columns:
8+
#' @returns A long dataframe with the following columns:
99
#' \describe{
1010
#' \item{field_name}{The name of the field.}
1111
#' \item{form_name}{The form name in which the field is located.}
12-
#' \item{field_type}{The type of the field (will always be "notes").}
12+
#' \item{field_type}{The type of the field (this will always be _notes_).}
1313
#' \item{weight}{A uniform weight, set to 100.}
1414
#' }
1515
#'
16-
#' @export
16+
#' @keywords Internal
1717
#'
1818
#' @examples
1919
#' \dontrun{

0 commit comments

Comments
 (0)