More than one study with name
Running these lines:
library(movebank)
# login <- movebankLogin(...)
getMovebankStudy('22', login)
I get the error:
Error in getMovebankID(study, login) :
There was more than one study with the name: 22
Calls: getMovebankStudy -> getMovebankStudy -> getMovebankID -> getMovebankID
Looking at all the studies, I see this occurs many times in movebank:
library(data.table)
# Get all the studies
studies <- getMovebankStudies(login)
data.table(study = studies)[, .N, by = study][N > 1]
study N
<char> <int>
1: 22 2
2: 24 3
3: ATLAS hula Passer domesticus 2
4: ATLAS hula Passer hispaniolensis 2
5: Beijing Cuckoo Project 2
6: Bottlenose dolphin CRC Kauai 2
7: California Condor 2
8: Golden Eagle 2
9: King cobra (Ophiophagus hannah), Elapidae, Thailand 2
10: MPIAB Great Egret 2
11: Oriental White Stork 2
12: Rough-toothed dolphin CRC Kauai 2
13: taxon com. name pi fam. name study loc. 49
14: test 6
15: Test 4
16: Test1 2
17: Varecia variegata Madagascar 2
Let me know if I should post this alternatively in a different repository, potentially https://github.com/movebank/data-repository
Thank you.