This project uses a hybrid of python and R
The code in this repository is organized as follows:
├── analysis # Main repository of analytical work for the AA pilot
├── R # Scripts needed for analysis
├── src # Code to run any relevant data acquisition/processing pipelines
|
├── .gitignore
├── README.md
└── requirements.txt
To run python notebooks, install
pip install git+https://github.com/OCHA-DAP/pa-aa-toolbox.git@ndvi#egg=aa-toolbox
In a future release, the package can instead be installed with pip install aa-toolbox
Install python code in src
using the command:
pip install -e .
Analyses done in R utilize Rmds
which are also contained analysis
folder. Any custom R functions that are sourced in a script or notebook are contained in the R
directory. All required libraries are listed at the top of each R script/notebook. If you do not have the required packaged it can be installed with
install.packates("nameOfPackage")