Giter Site home page Giter Site logo

tidymetrics's Introduction

tidymetrics

Authors: Ramnath Vaidyanathan, David Robinson

Travis build status Codecov test coverage Lifecycle: experimental

Dimensional modeling done the tidy way!

What the package contains

The "cross by" family of functions, which prepare data to be aggregated in ways useful for dimensional modeling:

  • cross_by_periods, which prepares data with a date column to be aggregated by calendar periods (day/week/month), rolling windows, or "X weeks ago"
  • cross_by_dimensions, which adds an All level to each segment

Methods for annotating aggregated metrics with useful metadata:

  • create_metrics, which gathers a table of metrics into a list of tbl_metric objects and attaches metadata to it
  • create_metric_group, which annotates a group of metrics with the same dimensions as a tbl_metric_group

Verbs for working with dimensions in metric tables, including:

  • discard_dimensions (and its inverse keep_dimensions), which filters for only the All segment of dimensions and removes those columns
  • condense_metric, which retains only observations with one non-All dimension (in order to store a compact version that can still be explored one dimension at a time)

Code of Conduct

Please note that the 'tidymetrics' project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

tidymetrics's People

Contributors

ramnathv avatar dgrtwo avatar machow avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.