UBC-MDS / inference_on_indigenous_vs_non_indigenous_sentence_length_differences

MIT License
3 stars 4 forks source link

Problem with the Usage commend. #12

Closed showcy closed 2 years ago

showcy commented 2 years ago

I am not sure if it is different to use this command on Mac or Windows, but the command you write there does now work for me. python src/download_data.py --url="http://www.csc-scc.gc.ca/005/opendata-donneesouvertes/Open%20Data%20File%2020170409%20v3%20(English).csv" --file_path="../data/raw/offender_profile.csv".csv" --file_path="./data/raw/offender_profile.csv" It seems you have two file_path argument?

I modified the command as the following and it works for me: python src/download_data.py --url="http://www.csc-scc.gc.ca/005/opendata-donneesouvertes/Open%20Data%20File%2020170409%20v3%20(English).csv" --file_path="data/raw/offender_profile.csv"

Any idea?

showcy commented 2 years ago

One more problem, we need to change the sample-docopt.r to clean_offender_profile_raw_data.r for this command: Rscript src/sample-docopt.r --raw_data_path="./data/raw/offender_profile.csv" --processed_dir_path="./data/processed"

miyer26 commented 2 years ago

Agreed, changes have been incorporated.

showcy commented 2 years ago

Solved.