Replies: 2 comments 6 replies
|
To get daily species of February 15th SELECT
common_name,
MAX(scientific_name) as scientific_name,
COUNT(*) as count
FROM
notes
WHERE
date = '2025-02-15' AND confidence >= 0.1
GROUP BY
common_name
ORDER BY
count DESC;And to get hourly values for common_name species kurki (common crane) SELECT
strftime('%H', time) as hour,
COUNT(*) as count
FROM
notes
WHERE
date = '2025-02-15' AND common_name = 'kurki' AND confidence >= 0.1
GROUP BY
strftime('%H', time); |
0 replies
|
@tphakala I now see the latest release and it mentions new summary API endpoints. Does this mean the new release has this out of the box? What my ultimate goal is, get something like this: https://dotnet.social/@Moaske@vivaldi.net/114093667726576386 |
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Is there a more detailed schema available of the db relationships?
And what is the query structure to get the same species count as what the dashboard shows per day?
I'm trying out things like
and
But not getting the same data as the web UI, so any insights would be great :)
All reactions