Code Monkey home page Code Monkey logo

cc_nifi_zoomdata's Introduction

Introduction

Visualizing Realtime data can be a challenge. However the combination of NiFi to route data and publish data to Zoomdata's Upload API make it extremely easy to interact with real time data and get a sense of what is being generated immediately. Click here to see what can be done - This demonstration repo will provide users the ability to recreate this demo using NiFi and Zoomdata.'

The Python Script

The python script picks a random point in the name_cc.csv file in order to generate a random name and fictitious CC number. The python script also pulls in a random point from CountyStateZip.csv file to place that person in a specific geolocation where the CC tansaction occurred.

One can execute this script from python by executing this command.

python CustomDemo.py {"type": "Feature", "properties": {"fraud": true, "date": 1524497642, "fname": "Edward", "lname": "Reed", "cc": "5305 3522 8463 5345", "zip": "54772", "latitude": "45.094148", "longitude": "-91.879257", "city": "Wheeler", "state": "Wisconsin", "county": "Dunn", "cost": 2638}}

The resulting output is a JSON payload.

cc_nifi_zoomdata's People

Contributors

drnice avatar

Stargazers

 avatar

Watchers

 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.