Closed peterdesmet closed 1 month ago
when taxonomic is NULL create one (just the scientificNames) Which format should this be?
A list of lists?
[[1]]
[[1]]$scientificName
[1] "Anas platyrhynchos"
[[2]]
[[2]]$scientificName
[1] "Anas strepera"
A character vector? Or something else?
[1] "Anas platyrhynchos" "Anas strepera"
A list of lists, so that the json looks like this:
"taxonomic": [
{
"scientificName": "Anas platyrhynchos"
},
{
"scientificName": "Anas strepera"
}
]
Create helper function
update_spatial()
update_metadata.R
filter_deployments()
filter_deployments()
(rather than testing the helper function directly)Create helper function
update_temporal()
update_metadata.R
filter_deployments()
filter_deployments()
(rather than testing the helper function directly)Create helper function
update_taxonomic()
update_metadata.R
taxonomic
isNULL
create one (just the scientificNames)filter_media()
andfilter_observations()
(rather than testing the helper function directly)Rename helper function
build_taxonomy()
It currently sounds like this function is creating the metadata, while it is deriving a df from `taxonomic.
build_taxa()
(or other suggestions)All this can be implemented in #100. I will merge #89 into #100 first.