...
Additional details on "Fetching in Python" are available in this C3.ai Developer Documentation: https://developer.c3.ai/docs/7.12.0/topic/ds-jupyter-notebooks
Additional examples of fetch calls can be found in our examples here:
- https://github.com/c3aidti/casesExample
- https://github.com/c3aidti/genomicsExample
- https://github.com/c3aidti/HouseCoverageExample
- https://github.com/c3aidti/VaccineListing
- https://github.com/c3aidti/EpidemiologyExample
The fetchCount Method
Another useful fetch command is fetchCount. This function is nearly identical to the fetch commands above, but it just returns a count of the number of objects records which match the fetch filter. This is useful when trying to determine whether a given search is refined enough.In the Javascript Console this is:
Code Block |
---|
BlockInfo.fetchCount({'filter': 'exists(prp_bf_lr)'}) |
...