Giter Site home page Giter Site logo

bd's Introduction

BigData HF

Install

https://bkk.hu/apps/gtfs/
Az itt letöltehtő zip-ben lévő .csv-ket kell a data mappába kicsomagolni.

Adatok betöltése, értelmezése

  1. Első lépésként kigyűjtöttük a BKK weboldalának felhasználásával (https://bkk.hu/menetrendek/#ejszakai), hogy mely járatok éjszakaiak.
  2. Ezt követően betöltöttük a megfelelő csv fájlokat.
  3. Mintavételeztük az egyes fájlok tartalmát (head segítségével)
  4. Értelmeztük a táblák tartalmát, mit szeretne reprezentálni, felhasználva a https://developers.google.com/transit/gtfs/reference/ leírást. Érdekesség: az adatok szerint 1 nap 30 órából áll. Erre magyarázatot az említett honlapon találtunk.
  5. Megkerestük a kapcsolatokat az egyes fájlok között az idegen kulcsokat felhasználva: pl: routes - trips (route_id), stops - stop_times (stop_id) stb...
  6. Definiáltuk az éjszakai járatok fogalmát, amit későbbiekben használni fogunk: éjszakai járatnak számít a BKK szerint ÉS az érkezési ideje stop_times['arrival_time'] 24-nél nagyobb
  7. Diagramon ábrázoltuk az érkezési időket, melyről leolvasható, az éjszakai járatok mennyivel ritkábbak.

bd's People

Contributors

gotbingo avatar nadamdb avatar bmaidics avatar

Watchers

James Cloos avatar  avatar

Forkers

bmaidics

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.