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

indicators: add R018 Single bid received #90

Closed
yolile opened this issue May 17, 2024 · 4 comments · Fixed by #93
Closed

indicators: add R018 Single bid received #90

yolile opened this issue May 17, 2024 · 4 comments · Fixed by #93
Assignees
Milestone

Comments

@yolile
Copy link
Member

yolile commented May 17, 2024

Methodology:

Required OCDS fields: tender/procurementMethod, (tender/numberOfTenderers, OR tender/tenderers/id OR bids/details/tenderers/id)

Calculation method: For tenders i where tender/procurementMethod = 'open',

R018i=1 if tender/numberOfTenderersi=1

@yolile yolile self-assigned this May 17, 2024
@yolile
Copy link
Member Author

yolile commented May 17, 2024

@jpmckinney comment: Can alternatively count the length of the array instead of checking for id

@yolile
Copy link
Member Author

yolile commented May 17, 2024

I guess we could also use bids/statistics/value when bids/statistics/measure = 'bids'

@jpmckinney
Copy link
Member

jpmckinney commented May 17, 2024

Typically our approach is for the indicators command to only look in one place, and for the prepare command to fill in that place based on alternative fields. We do it this way, because having indicators try 5 different things is way too hard to reason about, when the indicator isn't as simple as R018. You can log alternatives in #86

For the first version, I would just use whatever seems like the best (most correct) option for Ecuador.

In the future, the best option really depends on how many datasets of interest use lots.

@jpmckinney jpmckinney added this to the Power BI milestone May 18, 2024
@yolile
Copy link
Member Author

yolile commented May 20, 2024

For the first version, I would just use whatever seems like the best (most correct) option for Ecuador.

Ok so, when tender/tenderers is present they always set tender/numberOfTenderes but they don't always set bids, so we can use tender/numberOfTenders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants