Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

virtual track sum #118

Open
nettam opened this issue Mar 25, 2024 · 1 comment
Open

virtual track sum #118

nettam opened this issue Mar 25, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@nettam
Copy link
Contributor

nettam commented Mar 25, 2024

if vtrack is defined with func="sum" , I would expect that if there are no values in the source of the vtrack in the given time.shift then the value 0 will be returned (and not NA).
Using this for example to count how many children a mother has previously had (need to support twins) - will never return 0

@nettam nettam added the bug Something isn't working label Mar 25, 2024
@aviezerl
Copy link
Collaborator

aviezerl commented May 7, 2024

It is easy to implement, but don't we sometimes want to distinguish between no-data cases and actual 0? In the case of the children 'size' may be enough - and it does return 0 instead of NA. @nettam - what do you say?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants