dplyr::left_join error in convert_glatos_to_att()
chrisholbrook opened this issue · comments
chrisholbrook commented
Error encountered with convert_glatos_to_att() when input detectionObj contains 6 million rows:
Error in
dplyr::left_join()
at glatos/R/util-convert_glatos_to_att.r:115:3:
! This join would result in more rows than dplyr can handle.
# dtc_file is a GLATOS detection export csv file (from GLATOS data portal)
# rcv_file is a GLATOS receiver locations csv file (from GLATOS data portal)
detectionObj <- read_glatos_detections(dtc_file)
receiverObj <- read_glatos_receivers(rcv_file)
dtc_att <- convert_glatos_to_att(detectionObj,
receiverObj,
crs = sf::st_crs(4326))