This application will deploy a SAP HANA database on SAP Cloud Platform with Predictive Analytics capability with data from the Armed Conflict Location and Event Data project (ACLED) as well as the Fragile States Index
- A currently deployed enterprise instance of SAP HANA
- Make sure the
cliis connected to your space with this script
./cf-login.sh- Run the deployment script
./cf-db.sh-
Currently there is a memory allocation error when attempting to load all the data at once
-
The fix is to not load the ACLED_NOTES_ALL table by default.
db/src/data/acled_notes_all.hdbtabledatahas this option set
"no_data_import": true-
After running
cf-db.sh, login into SAP Web IDE Full-Stack and navigate to database explorer. -
Connect to the
gca-dbdatabase, select the ACLED_NOTES_ALL table, right-click and selectimport data -
Locally unzip
zip/acled_notes_all.zipto a csv -
Upload
acled_notes_all.csv- Uncheck
has header - Select the
ACLED_NOTES_ALLtable - Map
COLUMN_1todata_idandCOLUMN_2totidy_notes
- Uncheck
-
Confirm and run the import
- Get the access configuration from the service keys section of the instance in the cockpit or with the
cliwith the following command
cf service-key gca-db gca-db-key
