Skip to content

Commit

Permalink
strr_ghost error checking
Browse files Browse the repository at this point in the history
  • Loading branch information
dwachsmuth committed Jun 8, 2024
1 parent 275dd73 commit f12b709
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/strr_ghost.R
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ strr_ghost <- function(
scraped = {{scraped}})

# Check for multiple property_IDs
if (nrow(dplyr::filter(dplyr::n() > 1, .by = property_ID)) > 0) stop(
if (nrow(dplyr::filter(
property, dplyr::n() > 1, .by = property_ID)) > 0) stop(
"Multiple rows detected for a single property_ID", call. = FALSE)

# Check for multiple host_IDs for one property_ID
Expand Down

0 comments on commit f12b709

Please sign in to comment.