Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

support geo codes like 'US-<state>-<geo-code>'#386

Open
Orpaz Goldstein (orpgol) wants to merge 2 commits intoGeneralMills:masterfrom
orpgol:master
Open

support geo codes like 'US-<state>-<geo-code>'#386
Orpaz Goldstein (orpgol) wants to merge 2 commits intoGeneralMills:masterfrom
orpgol:master

Conversation

@orpgol
Copy link
Copy Markdown

@orpgol Orpaz Goldstein (orpgol) commented Apr 25, 2020

This will allow queries using "country-state-geo-code".
For example: geo = 'US-CA-803' will give neighborhoods in Los Angeles, which was a resolution not possible before.

@emlazzarin
Copy link
Copy Markdown
Contributor

Can someone else validate this before I merge it in?

@MaxGhenis
Copy link
Copy Markdown
Contributor

LGTM (adding a test would be nice too though).

From this notebook:
Screenshot 2020-06-08 at 21 57 54

Which matches https://trends.google.com/trends/explore?date=today%205-y&geo=US-CA-803&q=pizza,bagel
Screenshot 2020-06-08 at 21 56 29

@emlazzarin
Copy link
Copy Markdown
Contributor

I'll update the docs before merging this in.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants