Giter Site home page Giter Site logo

nicolasmelo1 / marketing-performance-report Goto Github PK

View Code? Open in Web Editor NEW
23.0 3.0 6.0 44 KB

This is one of the first and main programs i made for 99

License: MIT License

Python 100.00%
marketing data-mining database performance-metrics performance-analysis marketing-automation marketing-analytics marketing-statistics data-analysis

marketing-performance-report's Introduction

Performance Reports

This was one of the first programs i made for 99. It gets data from day 1 from the current month to d-1 from current month Python program to extract locally a .csv of all the data for marketing performance team from all the platforms Google, Facebook, Twitter, Appsflyer and Adjust (we are currently not collecting this data anymore).

Initialize

You can change the init of the APIs, set credentials and credential related stuff on init/init.py

pip install -r /path/to/performance_reports/requirements.txt

Utils

  • apicalls.py - classes to retrieve data from the services API.
  • drive.py - sends and recieves data from/to drive.
  • paths.py - gets the path for reports and tables.
  • queries.py - holds queries to get data from the database as a dataframe (if there's any change in a query, don't forget to change the dataframes column names).
  • time.py - gets the start_date(since when) and end_date(to when) parameters.

Run

Easy peasie

python main.py

As you might think, pax folder is for retrieving and ETL on passengers data, drivers is the same but for drivers data

StaticFiles

There are 2 folders: tables and reports.

Tables

This holds secondary data used by the program, it automatically downloads and update your local files from Google Drive once you start the program.

Reports

Holds the reports generated by the program, it automatically sends to Google Drive once the program finishes running

marketing-performance-report's People

Contributors

nicolasmelo1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.