oguerrer / PPI4SD_URY

Repository for the poject of Policy Priority Inference for Uruguay
0 stars 0 forks source link

Writing code to classify the indicators in targets #4

Closed oguerrer closed 4 years ago

oguerrer commented 4 years ago

Note that you can find the full path to the folder where the script is being hosted by using the os library in the following way;

import os
home =  os.getcwd()

Hence, home can then be used in the following way to access the repository local folder in your machine:

home = os.getcwd()[:-4]

Then, you can write something like home+data to specify a path to the data folder. You should use these features to make the code the most general possible so both of us can directly run it locally.

daniguariso commented 4 years ago

I updated coding_targets.py. There are two lines commented out that should enable you running the code locally in your Mac.