geonature.core.gn_synthese.blueprints.statistics¶
Attributes¶
Functions¶
Get taxa count in synthese filtering with generic parameters |
|
Get observations found in a given dataset |
|
|
Get bbox of observations |
|
Get observations count group by a given column |
|
Return stats about synthese. |
Module Contents¶
- geonature.core.gn_synthese.blueprints.statistics.get_taxa_count()[source]¶
Get taxa count in synthese filtering with generic parameters
Parameters¶
id_dataset: int (query parameter)
Returns¶
- count: int:
the number of taxon
- geonature.core.gn_synthese.blueprints.statistics.get_observation_count()[source]¶
Get observations found in a given dataset
Parameters¶
id_dataset: int (query parameter)
Returns¶
- count: int:
the number of observation
- geonature.core.gn_synthese.blueprints.statistics.get_bbox()[source]¶
Get bbox of observations
Parameters¶
id_dataset: int: (query parameter)
Returns¶
- bbox: geojson:
the bounding box in geojson
- geonature.core.gn_synthese.blueprints.statistics.observation_count_per_column(column)[source]¶
Get observations count group by a given column
This function was used to count observations per dataset, but this usage have been replaced by TDatasets.synthese_records_count. Remove this function as it is very inefficient?