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
cli
is 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.hdbtabledata
has 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-db
database, select the ACLED_NOTES_ALL table, right-click and selectimport data
-
Locally unzip
zip/acled_notes_all.zip
to a csv -
Upload
acled_notes_all.csv
- Uncheck
has header
- Select the
ACLED_NOTES_ALL
table - Map
COLUMN_1
todata_id
andCOLUMN_2
totidy_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
cli
with the following command
cf service-key gca-db gca-db-key