===============================================================================================================
*****************************************SAP HANA Data Warehouse System****************************************
===============================================================================================================
						 
[1] CONTENT OVERVIEW

*output					- target folder for the web scraping scripts


*CreateTable-SQLStatement.sql 		- SQL statement to create the IMMODB schema and tables


*CreateUser-SQLStatement.sql 		- SQL statement to create a database user with privileges for the 
					  IMMODB schema

*HANA-SetupGuide.pdf			- instructions for setting up the hana cloud instance


*insertDataIntoDB.rexx 			- ooRexx script that creates a connection to the HANA Cloud database 
					  and inserts the data from the JSON Files with INSERT statements

*startWebScraper_FMH.rexx		- ooRexx script that uses web scraping to collect data from
					  www.findmyhome.at and exports it as JSON file 

*startWebScraper_Statistic.rexx 	- ooRexx script that uses web scraping to collect data from
					  statistik.at and exports it as JSON file

JAR Files and their download links:

json-20200518.jar - Java library for JSON processing, reading and writing JSON data
https://jar-download.com/artifacts/org.json

jsoup-1.13.1.jar - Java library for extracting and manipulating data from HTML data
https://jsoup.org/download

ngdbc-2.7.13.jar - SAP HANA JDBC Driver
https://tools.hana.ondemand.com/#hanatools

===============================================================================================================

Prequisites:

[1] Install Java (32bit or 64bit)   
https://www.java.com/en/download/

[2] Install Open Object Rexx Version 5.0 (32bit or 64bit) 
https://sourceforge.net/projects/oorexx/files/oorexx/

[3] Install BSF4ooRex (Bean Scripting Framework for ooRexx)
https://sourceforge.net/projects/bsf4oorexx/files/

[4] Download all JAR files and add their path to the CLASSPATH environment variable

[5] Create the HANA Cloud instance by following the instructions of the HANA-SetupGuide.pdf

[6] Change the connection information for the SAP HANA JDBC Client in insertDataIntoDB.rexx
<SQL-Endpoint> 	-> Login to your trial account and open the Space dev
		   Click on Action and Copy SQL Endpoint
<DB-User>	-> Use database user DBADMIN 
<DB-PW>		-> DBADMIN password you set during the creation of the HANA CLOUD instance


--------------------------------------------------------------------------------------------------------------

				      mfg Burgstaller Andreas (29.04.2021)			

--------------------------------------------------------------------------------------------------------------