Open PietrH opened 11 months ago
In #287 it was suggested passing the tag_serial_number from get_animals() to get_tags instead of having comma separated serial_tag_number values when there are multiple sensors per tag.
tag_serial_number
get_animals()
get_tags
serial_tag_number
Example of comma seperated values:
get_animals() %>% filter(stringr::str_detect(tag_serial_number, ","))
However, you can't pass such a tag_serial_number to get_tags() directly at the moment:
get_tags()
get_tags(tag_serial_number = "1278974,1278974") #> Error: Can't find tag_serial_number `1278974,1278974` in: 02BR 7329, 02BS 7330, 02BT 7331, 02BU 7332, 02BV 7333, 02BW 7334, 02BX 7335, 02BY 7336, 02BZ 7337, 02C0 7338, 02C1 7339, 02C2 7340, 02C3 7341, 02C4 7342, 02C5 7343, 02C6 7344, 02C7 7345, 02C8 7346, 02C9 7347, 02CA 7348, 02CB 7349, 02CC 7350, 02CD 7351, 02CE 7352, 02CF 7353, 02CG 7354, 02CH 7355, ...
Because they are passed, and compared as strings, not vectors.
In #287 it was suggested passing the
tag_serial_number
fromget_animals()
toget_tags
instead of having comma separatedserial_tag_number
values when there are multiple sensors per tag.Example of comma seperated values:
However, you can't pass such a tag_serial_number to
get_tags()
directly at the moment:Because they are passed, and compared as strings, not vectors.