Closed lottepohl closed 11 months ago
I could download the animal data on the ETN data portal and I see that the column names are very outdated, might be the reason why etn::get_animals()
does not find anything.... Take a look: Squalus_acanthias_animals.csv.
I now load the .csv that I downloaded from the data portal but maybe outdated column names are also present for other species/individuals that were tagged a couple of years ago? If so, this might be a topic worth investigating, would be a shame if all these animals and detections could not be accessed via the etn R package.
Cheers! Lotte
When downloading data from the ETN platform tables the column names match those of the ETN database table, not the ones of the dataframes fromo the ETN R package. They are not outdated, they sjut are named differently. But is it true that they should maybe be the same.
For the etn::get_animals()
giving you an empty dataframe, I believe this is because the animals are not linked to an animal project. I'll have to check with the tag owner.
@CLAUMEMO Did you have a chance to look into this?
Yes. You can close the issue :)
Great! Just open a new issue if you want to start any discussion on renaming column names or any other issue.
Hi all!
I would like to retrieve information on tagged spiny dogfish (Squalus acanthias). For some reason I get an empty dataframe when wanting to retrieve information on the animals with
etn::get_animals()
, but I can retrieve all detections for Squalus acanthias individuals withetn::get_acoustic_detections()
.Any idea what I might be doing wrong?
etn::get_animals()
works perfectly fine with other strings forscientific_name
such as "Gadus morhua" or "Mustelus asterias"...Thanks a lot in advance!! Cheers, Lotte
here is a MWE: