diff --git a/analytics/report/src/report_generation/report_generator.py b/analytics/report/src/report_generation/report_generator.py
index e69de29..dca4ee1 100644
--- a/analytics/report/src/report_generation/report_generator.py
+++ b/analytics/report/src/report_generation/report_generator.py
@@ -0,0 +1,84 @@
+print("Starting script...")
+# import pandas as pd
+import os
+from jinja2 import Environment, FileSystemLoader
+
+# Sample data
+data = {
+ "listing_id": [1, 2, 3, 4, 5, 6, 7],
+ "address": ["11 ABC street.", "22 ABC street.", "33 ABC street.", "44 ABC street.", "55 ABC street.", "66 ABC street.", "77 ABC street."],
+ "policy_A": [True, False, True, False, True, False, True]
+}
+
+
+########################################################################
+########################################################################
+# USING JINJA2 TO HTML
+########################################################################
+########################################################################
+
+
+# Get the absolute path to the directory containing report_generator.py
+dir_path = os.path.dirname(os.path.realpath(__file__))
+
+# Use this path to set the correct path to the template/ directory
+template_dir = os.path.join(dir_path, 'template')
+
+
+# Create a Jinja2 environment
+env = Environment(loader=FileSystemLoader(template_dir))
+template = env.get_template('reporttemplate.html')
+
+# get the date of report generation as the current date
+from datetime import datetime
+today = datetime.now()
+todayStr = today.strftime('%Y-%m-%d %H:%M')
+
+# render the template with the data
+html_out = template.render(
+ data=data,
+ date=todayStr
+)
+
+# Get the absolute path to the directory containing the script
+script_dir = os.path.dirname(os.path.abspath(__file__))
+
+# Construct the absolute path to the output file
+output_file = os.path.join(script_dir, '../report_store/output.html')
+
+# Write the HTML table to the output file
+print("Writing HTML table to output.html...")
+with open(output_file, 'w') as f:
+ f.write(html_out)
+
+print("Done!")
+
+
+########################################################################
+########################################################################
+# USING DATAFRAME TO HTML
+########################################################################
+########################################################################
+
+
+# # Convert the array to a DataFrame
+# df = pd.DataFrame(data)
+# print("Converted data to DataFrame")
+
+# # Convert the DataFrame to an HTML table
+# html_table = df.to_html(index=False)
+# print("Converted DataFrame to HTML table")
+
+# # Get the absolute path to the directory containing the script
+# script_dir = os.path.dirname(os.path.abspath(__file__))
+
+# # Construct the absolute path to the output file
+# output_file = os.path.join(script_dir, '../report_store/output.html')
+
+
+# # Write the HTML table to the output file
+# print("Writing HTML table to output.html...")
+# with open(output_file, 'w') as f:
+# f.write(html_table)
+
+# print("Done!")
\ No newline at end of file
diff --git a/analytics/report/src/report_generation/template/reporttemplate.html b/analytics/report/src/report_generation/template/reporttemplate.html
new file mode 100644
index 0000000..e8eb854
--- /dev/null
+++ b/analytics/report/src/report_generation/template/reporttemplate.html
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+ Open_BC Airbnb regulation report on {{date}}
+
+
+
+ Open_BC Airbnb regulation report on {{date}}
+
+
+
+ | listing_id |
+ address |
+ policy_A |
+
+
+
+ {% for i in range(data.listing_id|length) %}
+
+ | {{data.listing_id[i]}} |
+ {{data.address[i]}} |
+ {{data.policy_A[i]}} |
+
+ {% endfor %}
+
+
+
+
\ No newline at end of file
diff --git a/analytics/report/src/report_store/output.html b/analytics/report/src/report_store/output.html
new file mode 100644
index 0000000..23675ef
--- /dev/null
+++ b/analytics/report/src/report_store/output.html
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+ Open_BC Airbnb regulation report on 2024-02-12 23:12
+
+
+
+ Open_BC Airbnb regulation report on 2024-02-12 23:12
+
+
+
+ | listing_id |
+ address |
+ policy_A |
+
+
+
+
+
+ | 1 |
+ 11 ABC street. |
+ True |
+
+
+
+ | 2 |
+ 22 ABC street. |
+ False |
+
+
+
+ | 3 |
+ 33 ABC street. |
+ True |
+
+
+
+ | 4 |
+ 44 ABC street. |
+ False |
+
+
+
+ | 5 |
+ 55 ABC street. |
+ True |
+
+
+
+ | 6 |
+ 66 ABC street. |
+ False |
+
+
+
+ | 7 |
+ 77 ABC street. |
+ True |
+
+
+
+
+
+
\ No newline at end of file