GithubHelp home page GithubHelp logo

data-cleaning's Introduction

Cleaning Data Source ๐Ÿš€

Motivation

This project has been built during NASA Space Apps Challenge 2021 ๐ŸŒ. We Debris_Mappers, are working on a web app for 'Mapping Space Trash in Real Time' ๐Ÿ—‘. Indeed Space Trash is a matter of grave concern for potential space explorations.

Data Cleaning is a highly underrated part of any project.

We generally get the data for our project in the TLE form. It can be a tedious task to handle such a .txt file ๐Ÿ˜ž. But don't worry we have got you covered. These are some scripts that can prove helpful. ๐Ÿ˜€

Approach ๐Ÿš€

We see that there are two JS files. The update_scripts.js file on running will produce the JSON file, tle.json as output. This file shall have key value pair mapping. The key will be the unique ID and the the value will be an object with line1, line2 and commonName as attributes. This file is used on our server as well as frontend but as a JavaScript object exported from a file. This makes handling data simpler.
Next comes the id_final.js file. This file when run after the update_script.json, shall produce an output with each common name mapped to the list of ID names that have the same common name. This file, again, is present on our server and frontend as a JS object.

Some Issues:

At times the .txt file may not be very clean. We may get a \r at the end of each line. However, these issues can be taken care of without writing code. The modern IDE has features like change all occurrences. This can prove handy.

data-cleaning's People

Contributors

hrishikesh-bhagwat 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.