Closed
Description
While writing a vignette about the usage of project code (instead of project name) (see #44) I found a kind of inconsistency about the name of the columns related to project codes and project names.
Here below the thing I am speaking about.
In functions like get_detections()
we get columns named like this:
"animal_project_name", "animal_project_code", "network_project_name", "network_project_code"
which is fine.
While running functions get_projects()
we get:
get_projects(my_con) %>% colnames()
[1] "id" "name" "projectcode" "type"
[5] "startdate" "enddate" "moratorium" "imis_dataset_id"
[9] "latitude" "longitude"
As you see, columns projectcode
and name
are returned. I would expect project_code
and project_name
. The same holds true for get_receivers()
which returns a data.frame with a column named projectcode
while all other columns containing the word code
contain an underscore: *_code
like ar_release_code
and ar_disable_code
.