nhsengland / phmi

0 stars 2 forks source link

Import and View Data Map Data #88

Closed ghickman closed 5 years ago

ghickman commented 5 years ago

⚠️ Depends on #87 ⚠️

This adds importers for the missing CSV data and a view to replicate the C. Data Map sheet in the original Spreadsheet.

Some existing importers have been updated to take advantage of abstracted functionality (strip_prefix) and to account for small model variations.

A few common actions have been scripted to allow for easier dev testing.

The Data Map form looks like this by default:

and produces this output:

The number of rows in the table is static and only the tick/cross section is updated depending on the outcome of the filter. The filter form uses method="GET" so all options are serialised to the URL for bookmarkability.

ghickman commented 5 years ago

Deployed to the QA server here: http://ec2-34-250-133-157.eu-west-1.compute.amazonaws.com/sudgt/data-map

fredkingham commented 5 years ago

http://ec2-34-250-133-157.eu-west-1.compute.amazonaws.com/sudgt/activities seems broken.

NON-NHS PROVIDER (inc. charities) == Independent Sector

I think I may have manually updated/renamed to the csvs to make this mapping...

ghickman commented 5 years ago

Latest changes deployed to http://ec2-34-250-133-157.eu-west-1.compute.amazonaws.com/sudgt/data-map

fredkingham commented 5 years ago

something is really not looking right

screen shot 2019-02-14 at 10 45 27

also

screen shot 2019-02-14 at 10 47 05

soz, looks like a stale cache thing...