healthyregions / chicago-environment-explorer

ChiVes harmonizes & standardizes environmental data across dozens of sources to make it accessible for full exploration, alongside a growing list of resources on the Chicago Environment, cultivated by a community of curators.
8 stars 1 forks source link

158 fix data download package #162

Closed mradamcox closed 3 months ago

mradamcox commented 3 months ago

Per #158 there was a mismatch in the data column names on the /data page and what was actually in the downloaded files. Investigating this I found the downloadable files were not generated using the latest data, but had been altered manually to remove certain data variables that we are not allow to distribute publicly.

To make this side of the app more automated and flexible, I added a new field to the Columns spreadsheet, called Downloadable, which we can set to Yes or No. If No, the variable that uses this column will be omitted from the downloadable public files, which are now generated automatically during the existing yarn build:data step.

The data page now looks like this: image

However, leaving this as a draft for now, as I've finding also that there are a number of Variables whose Columns are not present in the Columns sheet. Need to look further into why this is and what it means...

Other tickets

This PR also includes some other docs-related work.

closes #163 closes #125

netlify[bot] commented 3 months ago

Deploy Preview for chicago-env-explorer ready!

Name Link
Latest commit 2c1dd468d5f3de1c4b1d8405b81e5fb2b78d3419
Latest deploy log https://app.netlify.com/sites/chicago-env-explorer/deploys/6672039fe7e23a000804fe11
Deploy Preview https://deploy-preview-162--chicago-env-explorer.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Makosak commented 3 months ago

Data dictionary (Column tab) is missing new health datasets -- need to add this. (It's connected in Variables tab, just needs to be added to Column tab)

UPDATE -- completed