Coder Social home page Coder Social logo

geodacenter / covid-v3 Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 1.0 132.1 MB

License: GNU General Public License v3.0

Python 10.75% JavaScript 47.26% R 0.78% Jupyter Notebook 13.14% Dockerfile 0.05% Shell 0.11% HTML 22.04% CSS 2.22% TypeScript 1.88% MDX 1.78%

covid-v3's People

Contributors

actions-user avatar makosak avatar mradamcox avatar mukeshchugani10 avatar nofurtherinformation avatar spaykin avatar svijay77 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

mradamcox

covid-v3's Issues

Geocoder broken

Updates to the material UI kit broke the styling and functionality of the geocoder.

Setup URL redirects

Currently, both uscovidatlas.org and theuscovidatlas.org point to the production deployment of this site. It would be best to redirect one of them such that the url bar will always read the same once a user visits the site from either address.

There also exists stories.uscovidatlas.org and not stories.theuscovidatlas.org, so I think the best way to go is set

theuscovidatlas.org --> uscovidatlas.org
www.theuscovidatlas.org --> uscovidatlas.org

This can be handled via netlify config as in the OEPS explorer: https://github.com/healthyregions/oeps-explorer/blob/9670bcc653b769bbeef64833a257fc4b83a8741b/netlify.toml

Update Homepage for archive

Update content (ie. usage scenarios) on the bottom of homepage to reflect long-term archive and final impact of the Atlas project.

Consider including:

  • Atlas stories
  • Atlas research articles
  • Atlas final evaluation report
  • Atlas community workshops
  • Atlas learn toolkit.

Mapbox unlinked

Mapbox stylings are not loading -- check for errors and fix.
Screen Shot 2023-07-27 at 3 46 14 PM

Use new Mapbox account

A number of Mapbox resources are hard-coded into the map styles:

in style.json:

"sources": {
    "composite": {
      "url": "mapbox://lixun910.5k6jyt33,lixun910.7s0ljdc6,mapbox.mapbox-streets-v8,lixun910.405bjdze,lixun910.5bmq1hai,lixun910.3iql0bc1,lixun910.c1k7tmzy,lixun910.62ab73ca,mapbox.mapbox-terrain-v2",
      "type": "vector"
    }
  },
  "sprite": "mapbox://sprites/lixun910/ckhxm4ot50yk919pj8witkk2d/ei6q81b5ywryaykkp3eopmi80",

in style_light.json:

"sources": {
        "composite": {
            "url": "mapbox://lixun910.5k6jyt33,lixun910.7s0ljdc6,mapbox.mapbox-streets-v8,lixun910.405bjdze,lixun910.5bmq1hai,lixun910.3iql0bc1,lixun910.c1k7tmzy,lixun910.62ab73ca,mapbox.mapbox-terrain-v2",
            "type": "vector"
        }
    },
    "sprite": "mapbox://sprites/lixun910/ckytclh9g000a14qf1y5k9292/ei6q81b5ywryaykkp3eopmi80",

These need to be replicated in our new Mapbox account, and thier ids properly updated in the styles.

Replace Google Analytics with Plausible

We need to remove all GA tags and add the plausible script:

<script defer data-domain="uscovidatlas.org" src="https://plausible.io/js/script.js"></script>

Fix style of stories markers on map

The markers are too big when there are multiple items in a cluster:

image

This layer is created via a JSON file that is acquired via CDN. There should be a line or two of MapboxGL-JS code that defines its style within this code-base.

[BUG] Share button incomplete URL

On the Stories Archive page, for individual stories, when you click the Share link it only copies the second half of the URL--
for example, /story/SL1ZNjKfxHbqSzrJKVNpg
instead of https://uscovidatlas.org/story/SL1ZNjKfxHbqSzrJKVNpg

Update site content for archive

Review and update all content across site; convert to historic (rather than real-time) updates as part of the archival process.

Remove obsolete /docs and /docs/vintage directories

As far as @mukeshchugani10 and I can tell, these directories hold early static versions of the site that are now no longer used in any way. We think they can probably be completely removed.

Things to check before doing so:

  • no assets within are used elsewhere in the app
  • there are no hard-coded links that somehow point to these pages
  • anything else?

Find/add Segregated Cities Labels

Need to find a source dataset for the segregated cities layer and generate label centroids for it. Then upload to new Mapbox account.

Testing Data not loading correctly

7-day testing rates (both options) or only loading for some, not all counties. It's consistent across all time points and testing variable options.
Screen Shot 2023-09-12 at 1 35 20 PM

Outdated vax sites

Vaccination sites on the map only represented a point in time -- indicated time period, or remove.
Screen Shot 2023-09-12 at 1 38 36 PM

Switch back to national summary from county summary

Once you've clicked on a county, unable to go back to a national view/summary of data -- is it possible to implement a way to click outside of the states (in black areas) or deselect the county to go back to national data summaries (i.e. line chart)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.