Skip to content

Commit

Permalink
add typing for new date field in CTIS
Browse files Browse the repository at this point in the history
  • Loading branch information
rfhb committed Dec 29, 2024
1 parent 69becb4 commit aa96076
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 6 deletions.
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# ctrdata 1.20.0.9000

## Improvements
- Added typing of fields newly appearing in CTIS

# ctrdata 1.20.0

## Improvements
Expand Down
5 changes: 3 additions & 2 deletions R/util_fields.R
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,13 @@ typeVars <- list(
"authorizedApplication.authorizedPartsII.mscInfo.trialRestartDate" = "ctrDate",
"authorizedApplication.memberStatesConcerned.firstDecisionDate" = "ctrDate",
"authorizedApplication.memberStatesConcerned.lastDecisionDate" = "ctrDate",
"correctiveMeasures.correctiveMeasureNotifications.unexpectedEventNotifications.submissionDate" = "ctrDate",
"correctiveMeasures.correctiveMeasureNotifications.seriousBreachNotifications.submissionDate" = "ctrDate",
"correctiveMeasures.correctiveMeasureNotifications.unexpectedEventNotifications.submissionDate" = "ctrDate",
"correctiveMeasures.correctiveMeasureNotifications.urgentSafetyNotifications.submissionDate" = "ctrDate",
"correctiveMeasures.revertedDate" = "ctrDate",
"correctiveMeasures.sponsorActionRequiredByDate" = "ctrDate",
"correctiveMeasures.sponsorSubmitDate" = "ctrDate",
# "decisionDate" is a composite string
# "decisionDate" cannot be types, is string concatenating dates
"events.seriousBreaches.awareDate" = "ctrDate",
"events.seriousBreaches.breachDate" = "ctrDate",
"events.seriousBreaches.submissionDate" = "ctrDate",
Expand Down
7 changes: 7 additions & 0 deletions docs/news/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 @@ -5,7 +5,7 @@ articles:
ctrdata_install: ctrdata_install.html
ctrdata_retrieve: ctrdata_retrieve.html
ctrdata_summarise: ctrdata_summarise.html
last_built: 2024-12-29T08:22Z
last_built: 2024-12-29T12:28Z
urls:
reference: https://rfhb.github.io/ctrdata/reference
article: https://rfhb.github.io/ctrdata/articles
2 changes: 0 additions & 2 deletions docs/reference/ctrGetQueryUrl.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.

0 comments on commit aa96076

Please sign in to comment.