okfn / measure

Measure is scripts and conventions to build KPI dashboards for projects.
MIT License
17 stars 5 forks source link

Facebook processor #20

Closed brew closed 7 years ago

brew commented 7 years ago

This pull request fixes #18. Connected to #3.

Probably best to review #19 first (the Twitter processor), as this processor has a similar structure, and builds on top of it.

Changes proposed in this pull request:

Processor retrieves two types of metrics, 'lifetime' metrics, such as followers, that are retrieved from the api, and used as-is without processing, and 'cumulative' metrics, such as impressions,mentions, andinteractions` that are retrieved for a specific time-frame, then added to the latest stored result.