frictionlessdata / data-quality-dashboard

Data Quality Dashboards display statistics on a collection of published data.
Other
33 stars 10 forks source link

Maintain lists of publishers and data sources #6

Closed pwalsh closed 9 years ago

pwalsh commented 9 years ago

User story 2A

pwalsh commented 9 years ago

ref. UI Mocks

Please comment there (or here) with feature ideas, or notes about user stories that are not served by the mocks.

pwalsh commented 9 years ago

@rgrp @tryggvib the problem with using GitHub here is CORS.

For the current sprint, I'll use http://rawgit.com which allows us to use GitHub and get around the CORS issue.

For future, we can assess if this is good enough, or if we need to do an additional step of pushing sources to object store to serve without Cross Origin restrictions.

rufuspollock commented 9 years ago

@pwalsh i'm not sure i understand the CORS issue here.

pwalsh commented 9 years ago

If we have a GitHub repo which contains the data, e.g.:

somerepo.github.io/publishers.csv

and another which hosts a dashboard app, .e.g:

spenddashboard.com

The Dashboard app can't make XHR requests for the CSV data, as GitHub CORS doesn't allow it.

Maybe I missed something? (haven't checked this, just based on what I think I know about CORS and GitHub).

pwalsh commented 9 years ago

Publisher List: http://data.gov.uk/api/3/action/organization_list

Publisher Detail: http://data.gov.uk/api/3/action/organization_show?id=department-for-business-innovation-and-skills

pwalsh commented 9 years ago

The example data repo has the data model for the dashboard, and describes the storage of this data as CSV in git.

https://github.com/pwalsh/spd-example