Skip to content

create get_table_schema() to return table schema #100

@PietrH

Description

@PietrH

It would be convenient to be able to return the full table schema by a single function call:

  • There is a vignette on the etn r package website that could use this information: https://inbo.github.io/etn/articles/etn_fields.html
  • the get_acoustic_detections() function in {etn} currently creates an empty tibble with hardcoded column names as an early return if a query results in no rows (COUNT), it would be more robust not to hard code the columns, and to return the correct types. But a LIMIT 0 query takes much longer. (Why?)
  • This function could be useful in creating new mappings, but does it need to be available over the API in that case?
  • Is there any information in the table schema that I shouldn't make widely available? I don't think so.. An overview of what data is in ETN might actually be quite useful for powerusers.

Metadata

Metadata

Assignees

Labels

devImprovements to development workflow

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions