| 36 | |
| 37 | == Questions == |
| 38 | |
| 39 | 1. How do we decide what to use in the viewer e.g. Webstore data versus DataProxy |
| 40 | * Check for existence of webstore_url on Resource (should really be webstore_enabled boolean or similar, however we stick with url for the time being because it exists and we avoid migration). If exists use Webstore o/w don't. |
| 41 | 2. How do we decide when webstore is activated |
| 42 | * Ans: see previous. |
| 43 | 3. Do we (and how do we) allow for resources which are just for webstores |
| 44 | * Ans: we have to set webstore_url = True ... on save. Or add a big button saying: "Create Blank Resource" ... |
| 45 | 4. How does webstorer work ... |
| 46 | * CSV import - NS: make sure we add e.g. rownum or __id__ = rownum ... |
| 47 | * Separate mini-service (webstorer.thedatahub.org ...) |
| 48 | 5. How do we selectively disable recline where not appropriate (e.g. query support makes no sense for DataProxy) |
| 49 | * Ans: do not bother at present. Focus on Webstore route. |
| 50 | 6. Where does geodata support come in (in Recline or separately) |
| 51 | * This is a separate issue |
| 52 | |
| 53 | == User Story 1 == |
| 54 | |
| 55 | User -> CKAN instance -> Add Dataset -> Adds a Resource via uploading a CSV file -> Save |
| 56 | |
| 57 | => Result = New Dataset + Resource + Data API to resource and nice Preview of the data |
| 58 | |
| 59 | Solution: |
| 60 | |
| 61 | 1. Allow normal upload process |
| 62 | 2. Webstorer queue task which should get triggered by new resource. Check the resource and if it can convert into the associated resource webstore database. |
| 63 | 3. Update the resource in some way (set webstore_url) |
| 64 | |
| 65 | = User Stories = |
| 66 | |
| 67 | == User Story 2 == |
| 68 | |
| 69 | User -> CKAN instance -> Add Dataset -> Adds a Resource via linking to some remote file (CSV or otherwise) or uploading some data (CSV or otherwise) |
| 70 | |
| 71 | => Result = New Dataset + Resource + nice Preview of the data (wherever possible) |
| 72 | |
| 73 | |
| 74 | == User Story 3 == |
| 75 | |
| 76 | User -> CKAN instance -> Add Dataset -> Adds a Resource which will be webstore database in CKAN -> User saves data to this data store. |
| 77 | |
| 78 | => Result = New Dataset + Resource (Webstore resource) which can now be written to or read from by the user |
| 79 | |
| 80 | Solution: just create a resource with blank url (or better, have a new option to create webstore resource ...) |