🚀 Simple, powerful Node.js tool for data processing 🚀
Objectives • Installation • Usage • Website
The main objective of this project is to obtain food prices from PDF files and convert them to CSV format. These data will be used in prediction projects using artificial intelligence techniques.
The process is carried out as follows:
-
Data Extraction: We use a PDF processing tool to extract food prices from the PDF files.
-
Conversion to CSV: The extracted data is converted to CSV format for easier further processing.
-
Prediction: The data in CSV format is used to make predictions using artificial intelligence techniques.
This project is a crucial part of a larger system that aims to predict food prices and help businesses and consumers make more informed decisions.
To install and use the commands, follow these steps:
-
Make sure you have Node.js installed on your machine.
-
Clone the repository and navigate to the project directory.
-
Install the dependencies by running the following command:
npm install
Once the dependencies are installed, you can use the following commands:
-
To download something, run:
npm run download
-
To convert a PDF to CSV, run:
npm run csv
-
To build the project (which will run both the download and CSV commands), run:
npm run build
-
To run tests, execute:
npm test
Note: Make sure to replace ts-node src/download.ts and ts-node src/pdfToCsv.ts with the actual file paths in your package.json file.
Explore the website to track essential commodity prices and gain valuable insights into economic trends.
Disclaimer: The logos and data used in this project belong to and are the intellectual property of the respective government departments of Mexico City. This project is not officially affiliated with or endorsed by these government entities.