Skip to content

Commit

Permalink
Merging documentation
Browse files Browse the repository at this point in the history
Merge branch 'develop'

# Conflicts:
#	docs/articles/MultipleAnalyses.html
#	docs/articles/ResultsSchema.html
#	docs/articles/SingleStudies.html
#	docs/articles/SingleStudies_files/figure-html/unnamed-chunk-57-1.png
#	docs/pkgdown.yml
#	docs/pull_request_template.html
  • Loading branch information
Admin_mschuemi authored and Admin_mschuemi committed Jun 10, 2024
2 parents 4aa9d57 + fd8bccf commit 67b26f6
Show file tree
Hide file tree
Showing 89 changed files with 201 additions and 149 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: SelfControlledCaseSeries
Type: Package
Title: Self-Controlled Case Series
Version: 5.2.1
Date: 2024-06-06
Version: 5.2.2
Date: 2024-06-10
Authors@R: c(
person("Martijn", "Schuemie", , "[email protected]", role = c("aut", "cre")),
person("Patrick", "Ryan", role = c("aut")),
Expand Down
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
SelfControlledCaseSeries 5.2.2
==============================

Bugfixes

1. Fix export when there are multiple exposure-outcomes per SCCS data file.

SelfControlledCaseSeries 5.2.1
==============================

Expand Down
34 changes: 17 additions & 17 deletions R/Export.R
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ exportExposuresOutcomes <- function(outputFolder, exportFolder) {

esoList <- readRDS(file.path(outputFolder, "exposuresOutcomeList.rds"))
ref <- getFileReference(outputFolder) %>%
distinct(exposuresOutcomeSetId, exposuresOutcomeSetSeqId)
distinct(.data$exposuresOutcomeSetId, .data$exposuresOutcomeSetSeqId)

# exposure = eso$exposures[[1]]
convertExposureToTable <- function(exposure) {
Expand Down Expand Up @@ -762,23 +762,23 @@ exportGroup <- function(group, sccsDiagnosticThresholds, outputFolder, databaseI
.data$preExposureDiagnostic != "FAIL", 1, 0)) %>%
select(-"eraId")
sccsDiagnosticsSummary[[length(sccsDiagnosticsSummary) + 1]] <- table
return(list(
sccsAgeSpanning = sccsAgeSpanning,
sccsAttrition = sccsAttrition,
sccsCalendarTimeSpanning = sccsCalendarTimeSpanning,
sccsCensorModel = sccsCensorModel,
sccsCovariate = sccsCovariate,
sccsCovariateResult = sccsCovariateResult,
sccsEra = sccsEra,
sccsEventDepObservation = sccsEventDepObservation,
sccsLikelihoodProfile = sccsLikelihoodProfile,
sccsSpline = sccsSpline,
sccsTimeToEvent = sccsTimeToEvent,
sccsTimeTrend = sccsTimeTrend,
sccsTimePeriod = sccsTimePeriod,
sccsDiagnosticsSummary = sccsDiagnosticsSummary
))
}
return(list(
sccsAgeSpanning = sccsAgeSpanning,
sccsAttrition = sccsAttrition,
sccsCalendarTimeSpanning = sccsCalendarTimeSpanning,
sccsCensorModel = sccsCensorModel,
sccsCovariate = sccsCovariate,
sccsCovariateResult = sccsCovariateResult,
sccsEra = sccsEra,
sccsEventDepObservation = sccsEventDepObservation,
sccsLikelihoodProfile = sccsLikelihoodProfile,
sccsSpline = sccsSpline,
sccsTimeToEvent = sccsTimeToEvent,
sccsTimeTrend = sccsTimeTrend,
sccsTimePeriod = sccsTimePeriod,
sccsDiagnosticsSummary = sccsDiagnosticsSummary
))
}

computeSpans <- function(studyPopulation, variable = "age") {
Expand Down
2 changes: 1 addition & 1 deletion docs/404.html

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

55 changes: 41 additions & 14 deletions docs/articles/MultipleAnalyses.html

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

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 12 additions & 12 deletions docs/articles/ResultsSchema.html

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

Loading

0 comments on commit 67b26f6

Please sign in to comment.