Repository navigation
keentycs
Welcome to the keenio-cpp-sdk : keentycs wiki!
The objective of this community project is to build a complete analytics query language tailored to BigData processing and manipulation.
Using the KeenIO C++ SDK
sum, count, average, extraction .
Queries are currently case-sensitive.
<analysis_type> <collection_name>(<project_id>) <parameters, ...> <statement> <conditions>
- count
- count_unique
- sum
- average
count pageview(<project_id>) event_collection=pageview timezone=UTC timeframe=this_100_days if keen.id>0 | path<>'//'
Setting a parameter is as simple as property=value ie: timezone=UTC would append &timezone=UTC to final querying URL.
Exporting json results is achieved using the .export directive.
Example usage .export=filename.json >> ...
.export=results.json >> count pageview(<project_id>) event_collection=pageview timezone=UTC timeframe=this_100_days if keen.id>0 | path<>'//'
Whatever is returned will be written to "results.json".
Read about filters. Read about Global Variables