Skip to content

Commit

Permalink
Merge pull request #13 from datapartnership/toc
Browse files Browse the repository at this point in the history
google trends remove cells
  • Loading branch information
SahitiSarva committed Oct 12, 2023
2 parents 7a6fd3e + ebaddc6 commit b22685e
Showing 1 changed file with 25 additions and 5 deletions.
30 changes: 25 additions & 5 deletions notebooks/google_trends/Morocco_GoogleTrends.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"metadata": {
"tags": [
"remove-cell"
]
},
"outputs": [],
"source": [
"import os\n",
Expand Down Expand Up @@ -50,7 +54,11 @@
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"metadata": {
"tags": [
"remove-cell"
]
},
"outputs": [],
"source": [
"class Google():\n",
Expand Down Expand Up @@ -99,7 +107,11 @@
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"metadata": {
"tags": [
"remove-cell"
]
},
"outputs": [],
"source": [
"# Use your Google Trends API key here instead\n",
Expand Down Expand Up @@ -166,7 +178,11 @@
{
"cell_type": "code",
"execution_count": 11,
"metadata": {},
"metadata": {
"tags": [
"remove-cell"
]
},
"outputs": [],
"source": [
"def get_df(terms, country, start_date = None, end_date = None):\n",
Expand Down Expand Up @@ -197,7 +213,11 @@
{
"cell_type": "code",
"execution_count": 12,
"metadata": {},
"metadata": {
"tags": [
"remove-cell"
]
},
"outputs": [],
"source": [
"def trenddetector(list_of_index, array_of_data, order=1):\n",
Expand Down

0 comments on commit b22685e

Please sign in to comment.