GithubHelp home page GithubHelp logo

data_governance's Introduction

Project Notes

This is a project aimed at improving data governance and ownership practices at EPIC Systems, Inc. At the time of this writing, EPIC employs me as a data analyst intern. Unfortunately, the data are proprietary, but the scripts for this analysis can be found here.

data_governance.sql

This SQL query returns a table of sales leads which have not been updated in at least a month.

emailer.py

This is a script that serves as a friendly reminder to project managers to update their sales leads. The script grabs leads from the back-end that haven't been updated in over a month via a SQL query and then emails the respective project managers to notify them to show these leads some ❤️.

Details

The script utilizes the O365 API (details here: https://pypi.org/project/O365/) which allows it to send emails via Outlook seamlessly. The pyodbc library is also used to connect to a SQL Server-based backend so that data can be retreived.

Example Output

This is an example of an email that is generated and sent out to a project manager: Email

Important note from the O365 API

If your application needs to work for more than 90 days without user interaction and without interacting with the API, then you must implement a periodic call to Connection.refresh_token before the 90 days have passed.

data_governance's People

Contributors

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