relaton / relaton-bipm

MIT License
2 stars 0 forks source link

Syntax for fetching "CIPM Meetings" should support "CIPM Meeting" #25

Closed ronaldtse closed 2 years ago

ronaldtse commented 2 years ago

Right now the way to fetch CIPM Meeting 50 is:

RelatonBipm::BipmBibliography.get "CIPM Meetings 50"

But the correct grammar is:

RelatonBipm::BipmBibliography.get "CIPM Meeting 50"
[relaton-bipm] ("CIPM Meeting 50") fetching...
=> nil

But it returns nil. We should support "CIPM Meeting 50" instead of "CIPM Meetings 50".

Original question from @manuel489:

And one last question, what would be the proper identifier to fetch from this file: https://github.com/metanorma/bipm-data-outcomes/blob/main/cipm/meetings-en/meeting-50.yml (Note that this is a Meeting, not a specific resolution.)

Originally posted by @andrew2net in https://github.com/relaton/relaton-bipm/issues/20#issuecomment-1145136048