Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.1 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.1 KB

Data ranking

This project provides a script that converts a .txt file containing university information into CSV format. The script processes a text file where each line contains rank, name, and town, separated by tab spaces. The output is a well-structured CSV file.

Attension

  • Data name .txt should change by your variables name.

Features

  • Reads data from a .txt file.
  • Processes details: rank, name, and town.
  • Converts the data into CSV format.
  • Outputs the result into a new .csv file.

Prerequisites

Make sure you have Node.js installed on your system.

Getting Started

  1. Clone the Repository:
    git clone https://github.com/Elmahfoud-Oul/Ranking_Data_JS.git
    
  2. Install in path of script:
    npm install
    
  3. Setup Txt file:
  • Create .txt file.
  • Name .txt with name you put in script exp here universities.txt
  • Put your data in .txt file.
  • Change Names to your own names.
  1. Run script:
    npm <ScriptName>.js
    
  2. Get results:
  • check folder will find .csv .txt file.

THis script created by (Elmahfoud)