Police-Data-Accessibility-Project / pdap.io

Static HTML front page
https://pdap.io
MIT License
1 stars 3 forks source link

Add metrics to the site #177

Closed ecmcclain closed 3 weeks ago

ecmcclain commented 3 months ago

Fixes #176 Fixes #179

/ metrics Screenshot 2024-07-18 at 3 19 39 PM

/data metrics: Screenshot 2024-07-18 at 3 19 23 PM NOTE: These metrics are slow to load from the data sources API—any idea how I could make it faster?

/community metrics Screenshot 2024-07-18 at 3 21 05 PM

ecmcclain commented 1 month ago

TODO: -on /donate finish the DonorBox API connection

For the Airtable API: I am not sure if using the "status (depreciated)" to find completed data requests will cause issues down the line if we are no longer tracking the progress of data requests in this way?

josh-chamberlain commented 1 month ago

@ecmcclain ok, this is looking great! I know it must have been a fair amount of work to do the design system migration alone.

  1. for requests, and data sources, I wonder if you could switch to using the v2 API: https://data-sources-v2.pdap.io/api
    • we have added a requests endpoint to the dev branch, but not to main yet (we can do that soon)
  2. For the Airtable API: I am not sure if using the "status (depreciated)" to find completed data requests will cause issues down the line if we are no longer tracking the progress of data requests in this way?

  3. our donorbox email is operations@pdap.io

sorry about the change up in strategy for getting these! LMK if that makes sense.