Data validation module accompanying the MMM open source package Robyn (https://github.com/facebookexperimental/Robyn)
Project description
robyn-data-validation
Data validation module accompanying the MMM open source package Robyn (https://github.com/facebookexperimental/Robyn)
install
pip install robyn-data-validation
use the package
Example of running the package from project root with the sample data file
from pathlib import Path
from robyn_data_validation import DataReviewer
PROJECT_ROOT = Path(__file__).resolve().parent
SAMPLE_WEEKLY_DATA_PATH = str(PROJECT_ROOT / "sample_data" / "simulated_data_weekly.csv")
SAMPLE_DAILY_DATA_PATH = str(PROJECT_ROOT / "sample_data" / "simulated_data_daily.csv")
media_vars = ['tv_S', 'radio_S', 'paid_search_S']
extra_vars = ['competitor_sales']
dependent_var = 'revenue'
dr_weekly = DataReviewer(paid_media_vars=media_vars, paid_media_spends=media_vars, extra_vars=extra_vars, dep_var=dependent_var, file_path=SAMPLE_WEEKLY_DATA_PATH, date_frequency="weekly")
dr_weekly.run_review()
dr_daily = DataReviewer(paid_media_vars=media_vars, paid_media_spends=media_vars, extra_vars=extra_vars, dep_var=dependent_var, file_path=SAMPLE_DAILY_DATA_PATH, date_frequency="daily")
dr_daily.run_review()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file robyn_data_validation-0.0.5.tar.gz.
File metadata
- Download URL: robyn_data_validation-0.0.5.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de2f2c2cdbe858cd2ca9325c69ef22304093b596ad7466c5268308aafdd494c3
|
|
| MD5 |
68d08d7f220d3654d2c661cafef98319
|
|
| BLAKE2b-256 |
bdb3846ff3bcad20265ba4e811020e225a7b6951920547c1300d375bba638de3
|
File details
Details for the file robyn_data_validation-0.0.5-py3-none-any.whl.
File metadata
- Download URL: robyn_data_validation-0.0.5-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c81082eeab35f06d7b6d8228759ed1857bfeaea5d2187c208dbdbf0dcc3ed067
|
|
| MD5 |
ec761dde65a4e22260091063176b0f4f
|
|
| BLAKE2b-256 |
ca6114a9f28ad8eaa9d90cbce45f92ca913fd82df22f0a1e4b5364fe17dbfafe
|