Skip to content

Commit

Permalink
Merge 98db064 into a66a09f
Browse files Browse the repository at this point in the history
  • Loading branch information
juanrmn committed Oct 23, 2019
2 parents a66a09f + 98db064 commit cff636b
Show file tree
Hide file tree
Showing 65 changed files with 16,217 additions and 187,910 deletions.

Large diffs are not rendered by default.

2,147 changes: 2,147 additions & 0 deletions examples/_debug/analysis_kmeans.ipynb

Large diffs are not rendered by default.

8,452 changes: 8,452 additions & 0 deletions examples/_debug/analysis_police_department_incident_reports.ipynb

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
700 changes: 700 additions & 0 deletions examples/_debug/do_boundaries.ipynb

Large diffs are not rendered by default.

Expand Up @@ -452,9 +452,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "cartoframes",
"display_name": "Python 3",
"language": "python",
"name": "cartoframes"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -466,7 +466,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.3"
"version": "3.6.8"
}
},
"nbformat": 4,
Expand Down
Expand Up @@ -24,8 +24,7 @@
"outputs": [],
"source": [
"from cartoframes.data.observatory.catalog import Catalog\n",
"dataset = Catalog().categories.get('financial').datasets.get('{dataset_id}')\n",
"dataset.to_series()"
"Catalog().categories.get('financial').datasets"
]
},
{
Expand All @@ -34,6 +33,21 @@
"metadata": {},
"outputs": [],
"source": [
"# Pick any DATASET_ID in the previous list (i.e: bbva_basicstats_8a30b278)\n",
"dataset = Catalog().categories.get('financial').datasets.get('DATA_SET_ID')\n",
"dataset.to_series()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"scrolled": false
},
"outputs": [],
"source": [
"# You may need access to DataObservatory for this\n",
"# For further information see: https://carto.com/developers/data-observatory/guides/overview/\n",
"dataset.download(credentials)"
]
},
Expand All @@ -58,9 +72,13 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"# You may need access to DataObservatory for this\n",
"# For further information see: https://carto.com/developers/data-observatory/guides/overview/\n",
"file_path = geography.download(credentials)\n",
"file_path"
]
Expand Down Expand Up @@ -129,7 +147,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.4"
"version": "3.6.8"
}
},
"nbformat": 4,
Expand Down
Expand Up @@ -100,7 +100,7 @@
"metadata": {},
"outputs": [],
"source": [
"set_default_credentials(username='apolvillo', api_key='API_KEY')"
"set_default_credentials(username='CARTO_USER', api_key='API_KEY')"
]
},
{
Expand Down Expand Up @@ -136,6 +136,7 @@
"metadata": {},
"outputs": [],
"source": [
"# You may need access to Data Observatory for this\n",
"data_augmentated = enrichment.enrich_points(data, variables_filtered, data_geom_column='geom', filters=filters)"
]
},
Expand Down Expand Up @@ -183,7 +184,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.4"
"version": "3.6.8"
}
},
"nbformat": 4,
Expand Down
Expand Up @@ -99,7 +99,7 @@
"metadata": {},
"outputs": [],
"source": [
"set_default_credentials(username='apolvillo', api_key='API_KEY')"
"set_default_credentials(username='CARTO_USER', api_key='API_KEY')"
]
},
{
Expand Down Expand Up @@ -164,7 +164,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.4"
"version": "3.6.8"
}
},
"nbformat": 4,
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit cff636b

Please sign in to comment.