Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Latest commit

 

History

History
43 lines (34 loc) · 840 Bytes

run-drem.md

File metadata and controls

43 lines (34 loc) · 840 Bytes
jupyter
jupytext kernelspec
text_representation
extension format_name format_version jupytext_version
.md
markdown
1.2
1.6.0
display_name language name
Python 3
python
python3

To run the drem etl flow

  1. Register your email address with SEAI at https://ndber.seai.ie/BERResearchTool/Register/Register.aspx

  2. Select Cell > Run All from the dropdown menu

email_address = input("Enter your email address: ")
import toml

toml_string = f"""
[context.secrets]
email_address = '{email_address}'

[flow]
checkpointing = true
"""
parsed_toml = toml.loads(toml_string)
with open("prefect-config.toml", "w") as toml_file:
    toml.dump(parsed_toml, toml_file)
!python src/drem/etl/residential.py