csvdedupe icon indicating copy to clipboard operation
csvdedupe copied to clipboard

I would like to know how to launch csvlink.py

Open j4cobl opened this issue 5 years ago • 0 comments

Sorry for my newbee question;

I would like to understand how to launch the csvlink.py

When I launch it I got this error:

(threesixenv) C:\Users\Utilisateur\Documents_Inmedia_csvdedupe-master\csvdedupe-master\csvdedupe>python csvlink.py usage: csvlink.py [-h] [--config_file CONFIG_FILE] [--field_names FIELD_NAMES [FIELD_NAMES ...]] [--output_file OUTPUT_FILE] [--skip_training] [--training_file TRAINING_FILE] [--settings_file SETTINGS_FILE] [--sample_size SAMPLE_SIZE] [--recall_weight RECALL_WEIGHT] [-d DELIMITER] [-v] [--field_names_1 FIELD_NAMES_1 [FIELD_NAMES_1 ...]] [--field_names_2 FIELD_NAMES_2 [FIELD_NAMES_2 ...]] [--inner_join] input [input ...] csvlink.py: error: the following arguments are required: input

I understand that I need inputs, but where am I supposed to write the path to the restaurant-1 and 2?

I was looking at this part of the github explanation:

csvlink takes two CSV files and finds matches between them.

Provide an input file, field names, and output file:

csvlink examples/restaurant-1.csv examples/restaurant-2.csv
--field_names name address city cuisine
--output_file output.csv

But I dont understand what type of file it is and how to launch it.

thank you for your time. Jacob (new into dev world)

j4cobl avatar Dec 10 '20 22:12 j4cobl