Skip to content

This script converts ranking data from a tab-separated .txt file into CSV format. It processes the X1, X2, X3, then exports the results as a structured CSV file.

Notifications You must be signed in to change notification settings

Elmahfoud-Oul/Ranking_Data_JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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)

About

This script converts ranking data from a tab-separated .txt file into CSV format. It processes the X1, X2, X3, then exports the results as a structured CSV file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published