- Python 3.8 (at the moment
snowflake-snowpark-pythonworks only with Python 3.8) - A Snowflake instance (free tier is enough)
- to create the venv execute
python3.8 -m venv snowenv - to activate the venv execute
source snowenv/bin/activate
- on terminal execute
pip install --upgrade pip pip install -requirements.txtpip listpip install "snowflake-connector-python[pandas]"
Open your favorite text editor and make a YAML file named credentials.yml like the following:
snowflake:
account: xxxxxxxxx
user: xxxxxxxxx
password: xxxxxxxxx
database: TEST
schema: PUBLIC
warehouse: Flakes
The account name should be something like test12345.eu-west-1.
Go to Snowflake (you can use a free tier) and create a warehouse named "Flakes".
then open a workbook and execute Open a workbook and execute the queries inside Script database.sql.
Run Jupyter notebook Workbook 01.ipynb and have fun!
You can download others GeoJson files from this page or use the OSM APIs to create yours or make it by yourself.