Depending on the operating system you are using, you would need to do the following:
- OSX and Linux users do not need to install any additional software but only be familiar with the Terminal console shipped with all operating system versions. - Windows users will need to install terminal software such as https://putty.org/ in order to execute the script.
Within the data_workstream repository on the OpenDevelopmentMekong github organization, many different utility scripts and other pieces of code can be found and used for several purposes.
There are two ways to download them:
The following parameters can be configured:
In order to configure this parameters, the file datasets_by_taxonomy.sh needs to be opened with a text or code editor. The variables can be found on lines 5-8.
These parameters need to be adapted prior to the execution of the script to make sure that the results contained the wished data.
Once configured, the script can now executed. In order to do so:
where POSTGRESQL_PASS is the password copied on step 2.
The script will run for some time (depending on the power of the computer and the network connection) and generate a CSV file with the filename specified on the parameters.