-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: improve the data file structure
- Loading branch information
1 parent
2d9e938
commit fb21452
Showing
27 changed files
with
62,279 additions
and
63,449 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Data files are grouped by their topic / dataset e.g. Affordable homes. | ||
Each topic contains two directories: `site` and `standard`. | ||
In `standard`, data are stored in a standardised format. These always include the `geography_code`, `geography_name`, `date`, `Measure` and `value` columns. These files are used to generate metadata and for manually checking what is in the file, if needed. | ||
In `site`, data are stored in `parquet` files in the correct shape they need to be in to power a visualisation. This is usally a wide (or pivoted) version of the `standard` files. | ||
In some cases, for example a `headlines.csv` file, these arae in a unique format to drive a particular visualisation type, e.g. an OI Lume `dashboard`. | ||
|
||
Any questions, suggestions, or improvements - let me know! |
This file was deleted.
Oops, something went wrong.
Binary file renamed
BIN
+71.8 KB
data/affordable-homes/by_tenure.parquet → data/affordable-homes/site/by_tenure.parquet
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.