GeneralMills / pytrends

Pseudo API for Google Trends
Other
3.25k stars 815 forks source link

Historical hourly interest output is not re-indexed #491

Open hosein97 opened 3 years ago

hosein97 commented 3 years ago

Documentation for historical hourly interest says:

Historical Hourly Interest: returns historical, indexed, hourly data...

But i can't find the code for reindexing values for each week's data in the get_historical_interest() implementation. Also returned data does not contain overlap records (for manually indexing).

Mushoz commented 2 years ago

Was this ever fixed and/or clarified? Or should we manually retrieve the hourly data from Google trends while selecting partially overlapping weeks, as to do the re-indexing manually?

hosein97 commented 2 years ago

I did it manually.

Best, Hosein Panahi

On Fri, Feb 18, 2022 at 5:19 PM Jaap Buurman @.***> wrote:

Was this ever fixed and/or clarified? Or should we manually retrieve the hourly data from Google trends while selecting partially overlapping weeks, as to do the re-indexing manually?

— Reply to this email directly, view it on GitHub https://github.com/GeneralMills/pytrends/issues/491#issuecomment-1044554624, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFPEUOAIO5DPMNMJHZMM2R3U3ZE7HANCNFSM5D3HEUVQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

davins90 commented 1 year ago

Hi,

if i can ask, how did you do the rescaling? by finding a ration between last hour of a week vs first hour of following week?

Thanks