Skip to content

Commit

Permalink
Notes on setting up database
Browse files Browse the repository at this point in the history
  • Loading branch information
triangle-man committed Jan 24, 2020
1 parent fb76a74 commit cc39ea6
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
30 changes: 30 additions & 0 deletions admin/iter1-2020-01-24.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Iteration One

Possible summary outputs.

Focussing on: OSM and REPD data (FiT, and machine vision to follow).

## Summaries



## Ideas for matching

NB: Presumably should filter the REPD table to include only those installations that we believe
actually exist?

| | Count |
|------------------------------+-------|
| OSM total | XXX |
| REPD total | YYY |
|------------------------------+-------|
| OSM without REPD id | |
| OSM with REPD id not in REPD | |
| OSM with REPD id in REPD | |
| _Total_ | XXX |
|------------------------------+-------|
| REPD with id in OSM | |
| REPD with id not in OSM | |
| _Total_ | YYY |
|------------------------------+-------|
| | |
11 changes: 11 additions & 0 deletions database/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,14 @@ To start now:
pg_ctl -D /usr/local/var/postgres start
```

To create the database for first use:
```bash
createdb hut23-425 "Solar PV database matching"
```

To create the database:
```bash
psql -f solar_db.sql hut23-425
```


0 comments on commit cc39ea6

Please sign in to comment.