Closed sfirke closed 4 years ago
When a response has an empty $contact in $metadata:
$contact
$metadata
> response$metadata $contact named list()
causes merging of out with a zero-row data.frame in the line merge(out, metdata_vars_df), which ultimately causes parse_survey to fail with:
out
merge(out, metdata_vars_df)
parse_survey
Error in $<-.data.frame(*tmp*, "col_id", value = NAcharacter) : replacement has 1 row, data has 0
$<-.data.frame
*tmp*
When a response has an empty
$contact
in$metadata
:causes merging of
out
with a zero-row data.frame in the linemerge(out, metdata_vars_df)
, which ultimately causesparse_survey
to fail with: