Git Product home page Git Product logo

nelnet-vis's Introduction

Nelnet Vis

Visualization of student loan payment data from Nelnet

Data

Used Puppeteer to log in to Nelnet.com and collect detailed payment data, broken down by date and group.

  1. Create a file called credentials.js with the following content and fill in the appropriate login (already included in gitignore):
module.exports = {
  USERNAME: '',
  PASSWORD: ''
};
  1. Execute node puppeteer.js to collect the payment data and save to src/data/data.json. Rename as necessary when adding more data sets.

Adding more data

  1. Add a JSON file of payment logs to the /data directory. Should be in the following format (already exported in this format if using Puppeteer script)
[
  "groups": {
    <group name>: original loan amount (Number),
    "A": 1234.56
    ...
  },
  "payments": [
    {
      "paymentDate": payment date (string),
      "groupName": <group name> (string),
      "appliedToPrincipal": (Number),
      "appliedToPrincipal": (Number),
      "appliedToFees": (Number)
    },
    ...
  ]
]
  1. Import the data into /data/Datasets.js
import * as newData from './newData.json';
  1. Add the imported data set into the aggregate set so that it will be included in the dropdown in the side menu
var allDatasets = {
  ...
  "newData": {
    data: newData,
    display: "My New Data Set"
  }
}
  1. Commit

Rebuilding GH Pages

Github Pages is set up for the master branch.

npm run build

Copy contents of /build into root and /static. Commit.

nelnet-vis's People

Contributors

tntran09 avatar

Stargazers

 avatar

Watchers

 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.