https://dev.socrata.com/foundry/data.oaklandca.gov/ym6k-rx7a
docker-compose up airflow-init
docker-compose up
docker ps
get the container_id
then do
docker exec -it [CONTAINER_ID] airflow variables set SOCRATA_APPTOKEN [TOKEN_ID]
docker exec -it [CONTAINER_ID] airflow variables get SOCRATA_APPTOKEN
CONTAINER_ID for psql
docker exec -it [CONTAINER_ID] bash psql -U airflow \dt to see list of relations airflow=# SELECT * FROM crime_data;
docker logs [CONTAINER_ID]
docker-compose down --volumes --rmi all
Data ingestion into psql then