open-data-channel-islands / data.gg-deprecated-

Providing all Bailiwick of Guernsey-related data to the public through an easily accessible API in many formats.
MIT License
2 stars 3 forks source link

Migrate to database for datasets and datasources #39

Closed jasemagee closed 8 years ago

jasemagee commented 8 years ago

Files will remain in storage dir.

Fluff necessary to generate front, developers and api pages will be put in the database. This will include name, type (tourism, crime, employment, etc.), desc, image, live, storage_location

jasemagee commented 8 years ago

Data Category: Name (string), Place Code (string; gg/je allowing different datasets), Image (string), Desc (string), Chart Stub (string), Developer Stub (string), Has Live Dataset (bool)

Dataset: Data Category (Ref), Name (string), Stub (string), Desc (string), Filename (string), Live (bool)

jasemagee commented 8 years ago

Done bulk of work.

Need to think about how we call API methods that are live (flights, harbour) in the new database design. Need to add GG/JE ownership to datasets.