Skip to content

Commit

Permalink
Solve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
heleenderoo committed Mar 6, 2024
1 parent 2b722df commit 5551062
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/functions/gapfill_from_pir.R
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,8 @@ gapfill_from_pir <- function(code_survey,
# - if data were resubmitted under another survey_year

if (identical(row_ind, integer(0)) &&
pir_checked_survey_form$updated_value[i] != "record_to_be_removed") {
!identical(
pir_checked_survey_form$updated_value[i], "record_to_be_removed")) {

# Try to find the record using unique_layer_repetition or
# unique_survey_profile
Expand Down Expand Up @@ -462,7 +463,8 @@ gapfill_from_pir <- function(code_survey,


if (identical(row_ind, integer(0)) &&
pir_checked_survey_form$updated_value[i] != "record_to_be_removed") {
!identical(
pir_checked_survey_form$updated_value[i], "record_to_be_removed")) {

# Try to find the record without the survey_year

Expand Down

0 comments on commit 5551062

Please sign in to comment.