Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add query relevance timeline to event search (and general search when available) #202

Open
evamaxfield opened this issue Feb 17, 2022 · 5 comments
Labels
enhancement New feature or request

Comments

@evamaxfield
Copy link
Member

Feature Description

A clear and concise description of the feature you're requesting.

The "classic" keyword relevance over time plot:
image

x is time / dates
y is relevance of search query

on hover of the points it shows the meeting that happened to make that query relevant
in the hover details you can click a link to the event

probably want some method for changing the x axis timeline, zoom or or scroll to change dates shown

Use Case

Please provide a use case to help us understand your request in context.

  1. it seems fun
  2. it provides another method for seeing the contextual history of a query over a council
  3. it can help show people that we can do interesting things with our data model -- get them interested in the "analysis" side of CDP

CC @tohuynh

@evamaxfield evamaxfield added the enhancement New feature or request label Feb 17, 2022
@tohuynh
Copy link
Collaborator

tohuynh commented Feb 18, 2022

  • Where does the chart live in the app?
    Another page that is linked in the app bar -- "Trends" or "Data visualization" or whatever title is appropriate. The page consists of a search bar and when there is a query it will consist of the search bar and the chart.

  • Another feature to explore: allow users to compare up to 5 queries -- one line in the chart for each query.


UI considerations

@evamaxfield
Copy link
Member Author

  • Where does the chart live in the app?
    Another page that is linked in the app bar -- "Trends" or "Data visualization" or whatever title is appropriate. The page consists of a search bar and when there is a query it will consist of the search bar and the chart.

Great question and ideas.

I personally would love to have a chart on rendered on the search page so like right after a user searches it shows. BUT, there could be a button that links to the "trends" page or w.e. we want to call it that allows for adding more queries and such

Another feature to explore: allow users to compare up to 5 queries -- one line in the chart for each query.

Agree. I think in my head the first render shows the various n-grams spawned from the search but they should totally be able to add and remove terms.


Page title -- Explore topics discussed in ?

I wouldn't use the word topics, I would use like "Keywords over time" -- when we actually make a topic model we want to keep them separate / not confuse the two terms.

Here is the official google ngram viewer which i think is a bit closer to what we are aiming for: https://books.google.com/ngrams

@BrianL3
Copy link
Collaborator

BrianL3 commented Feb 20, 2022

Just for clarification, this is like... what n-grams are showing up in all council meetings, over time? Like, if bike lanes are a popular topic over the summer, and then get overshadowed by rent control in the fall, something like that?

@evamaxfield
Copy link
Member Author

Yes exactly that!

@evamaxfield
Copy link
Member Author

Update on this. We would need an analytics database to really do this properly. The TF-IDF scores over time aren't the most valuable thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants