Skip to content

Commit

Permalink
Merge 1bdf95c into 4806f04
Browse files Browse the repository at this point in the history
  • Loading branch information
elenatorro committed Oct 10, 2019
2 parents 4806f04 + 1bdf95c commit 31bc0c8
Show file tree
Hide file tree
Showing 130 changed files with 100,171 additions and 20,481 deletions.
3 changes: 1 addition & 2 deletions docs/conf.py
Expand Up @@ -37,13 +37,12 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.

extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.napoleon'
]

modindex_common_prefix = ['cartoframes']

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down
373 changes: 367 additions & 6 deletions docs/developer-center/examples/examples.json
Expand Up @@ -4,12 +4,373 @@
},
"categories": [
{
"title": "Examples",
"samples": [{
"title": "Jupyter Notebooks",
"desc": "Run all the CARTOframes examples in your notebooks",
"file": "notebooks.md"
}]
"title": "Map Configuration",
"samples": [
{
"title": "Change default CARTO basemap",
"desc": "Change default CARTO basemap",
"file": "change_default_carto_basemap",
"path": "map_configuration"
}, {
"title": "Custom Viewport",
"desc": "Custom Viewport",
"file": "custom_viewport",
"path": "map_configuration"
}, {
"title": "Solid background color",
"desc": "Solid background color",
"file": "solid_color_background",
"path": "map_configuration"
}, {
"title": "Dark theme",
"desc": "Use the dark theme",
"file": "dark_theme",
"path": "map_configuration"
}
]
}, {
"title": "Data Workflows",
"samples": [{
"title": "Create a Dataset from a .csv file",
"desc": "Create a Dataset from a .csv file",
"file": "create_dataset_from_csv",
"path": "downloading_and_uploading_data"
}, {
"title": "Create a Dataset from a .json file",
"desc": "Create a Dataset from a .json file",
"file": "create_dataset_from_json",
"path": "downloading_and_uploading_data"
}, {
"title": "Create a Dataset from a .geojson file",
"desc": "Create a Dataset from a .geojson file",
"file": "create_dataset_from_geojson",
"path": "downloading_and_uploading_data"
}, {
"title": "Create a Dataset from a Query",
"desc": "Create a Dataset from a Query",
"file": "create_dataset_from_query",
"path": "downloading_and_uploading_data"
}, {
"title": "Download a Dataset from CARTO",
"desc": "Download a Dataset from CARTO",
"file": "download_dataset_from_carto",
"path": "downloading_and_uploading_data"
}, {
"title": "Upload a Dataset to CARTO",
"desc": "Upload a Dataset to CARTO",
"file": "upload_dataset_to_carto",
"path": "downloading_and_uploading_data"
}, {
"title": "Change a Dataset Privacy",
"desc": "Change Dataset Privacy",
"file": "change_dataset_privacy",
"path": "downloading_and_uploading_data"
}
]
}, {
"title": "Layers",
"samples": [
{
"title": "Add a Layer",
"desc": "Add a Layer",
"file": "add_layer",
"path": "layers"
}, {
"title": "Add a default Widget",
"desc": "Add a default Widget",
"file": "add_default_widget_layer",
"path": "layers"
}, {
"title": "Add a default Legend",
"desc": "Add a default Legend",
"file": "add_default_legend_legend",
"path": "layers"
}, {
"title": "Add popup on click to Layer",
"desc": "Add popup on click to Layer",
"file": "add_popup_click_layer",
"path": "layers"
}, {
"title": "Add hover on click to Layer",
"desc": "Add hover on click to Layer",
"file": "add_popup_hover_layer",
"path": "layers"
}, {
"title": "Add basic style to a layer",
"desc": "Add basic style to a layer",
"file": "add_style_layer",
"path": "layers"
}
]
}, {
"title": "Visualization Layer Helpers",
"samples": [
{
"title": "Color Category Layer",
"desc": "Color Category Layer",
"file": "color_category_layer",
"path": "visualization_layers"
}, {
"title": "Color Continuous Layer",
"desc": "Color Continuous Layer",
"file": "color_continuous_layer",
"path": "visualization_layers"
}, {
"title": "Color Bins Layer",
"desc": "Color Bins Layer",
"file": "color_bins_layer",
"path": "visualization_layers"
}, {
"title": "Size Category Layer",
"desc": "Size Category Layer",
"file": "size_category_layer",
"path": "visualization_layers"
}, {
"title": "Size Continuous Layer",
"desc": "Size Continuous Layer",
"file": "size_continuous_layer",
"path": "visualization_layers"
}, {
"title": "Cluster Size Layer",
"desc": "Cluster Size Layer",
"file": "cluster_size_layer",
"path": "visualization_layers"
}
]
}, {
"title": "Legends",
"samples": [
{
"title": "Default Legend",
"desc": "Default Legend",
"file": "default_legend",
"path": "legends"
}, {
"title": "Color bins legend",
"desc": "Color bins legend",
"file": "color_bins_legend",
"path": "legends"
}, {
"title": "Color continuous legend",
"desc": "Color continuous legend",
"file": "color_continuous_legend",
"path": "legends"
}, {
"title": "Size category legend",
"desc": "Size category legend",
"file": "size_category_legend",
"path": "legends"
}, {
"title": "Size bins legend",
"desc": "Size bins legend",
"file": "size_bins_legend",
"path": "legends"
}, {
"title": "Size continuous legend",
"desc": "Size continuous legend",
"file": "size_continuous_legend",
"path": "legends"
}, {
"title": "Multiple Legends",
"desc": "Multiple Legends",
"file": "multiple_legends",
"path": "legends"
}, {
"title": "Legend Subtype",
"desc": "Legend Subtype",
"file": "legend_subtype",
"path": "legends"
}, {
"title": "Use stroke color for Legend",
"desc": "Use stroke color for Legend",
"file": "stroke_color_legend",
"path": "legends"
}, {
"title": "Use opacity for Legend",
"desc": "Use opacity for Legend",
"file": "opacity_in_legend",
"path": "legends"
}
]
}, {
"title": "Widgets",
"samples": [
{
"title": "Default Widget",
"desc": "Default Widget",
"file": "default_widget",
"path": "widgets"
}, {
"title": "Category Widget",
"desc": "Category Widget",
"file": "category_widget",
"path": "widgets"
}, {
"title": "Histogram Widget",
"desc": "Histogram Widget",
"file": "histogram_widget",
"path": "widgets"
}, {
"title": "Formula Widget",
"desc": "Formula Widget",
"file": "formula_widget",
"path": "widgets"
}, {
"title": "Animation Widget",
"desc": "Animation Widget",
"file": "animation_widget",
"path": "widgets"
}, {
"title": "Time Series Widget",
"desc": "Time Series Widget",
"file": "time_series_widget",
"path": "widgets"
}, {
"title": "Animation Widget to style property",
"desc": "Animation Widget to style property",
"file": "animation_widget_style_property",
"path": "widgets"
}, {
"title": "Multiple Widgets",
"desc": "Multiple Widgets",
"file": "multiple_widgets",
"path": "widgets"
}
]
}, {
"title": "Popups",
"samples": [
{
"title": "Popup on Click",
"desc": "Popup on Click",
"file": "popup_on_click",
"path": "popups"
}, {
"title": "Popup on Hover",
"desc": "Popup on Hover",
"file": "popup_on_hover",
"path": "popups"
}, {
"title": "Popup titles",
"desc": "Popup titles",
"file": "popup_titles",
"path": "popups"
}, {
"title": "Multiple Popup Events",
"desc": "Multiple Popup Events",
"file": "multiple_popup_events",
"path": "popups"
}, {
"title": "Popups With Expressions",
"desc": "Popups With Expressions",
"file": "popup_expressions",
"path": "popups"
}
]
}, {
"title": "Map Layout",
"samples": [
{
"title": "Default Layout",
"desc": "Default Layout",
"file": "default_layout",
"path": "map_layout"
}, {
"title": "Custom Layout",
"desc": "Custom Layout",
"file": "custom_layout",
"path": "map_layout"
}, {
"title": "Layout Titles",
"desc": "Layout Titles",
"file": "layout_titles",
"path": "map_layout"
}, {
"title": "Layout Viewport",
"desc": "Layout Viewport",
"file": "layout_viewport",
"path": "map_layout"
}, {
"title": "Interactive Layout",
"desc": "Interactive Layout",
"file": "interactive_layout",
"path": "map_layout"
}
]
}, {
"title": "Geocoding and Isolines Services",
"samples": [
{
"title": "Geocoding a Dataframe",
"desc": "Using the Geocoding Services to geocode a Dataframe",
"file": "geocoding_dataframe",
"path": "data_services"
}, {
"title": "Calculating Isochrones",
"desc": "Using the Isolines Services to calculate isochrones",
"file": "isochrones",
"path": "data_services"
}, {
"title": "Calculating Isodistances",
"desc": "Using the Isolines Services to calculate isodistances",
"file": "isodistances",
"path": "data_services"
},{
"title": "Using both Geocoding and Isolines Services",
"desc": "Using both Geocoding and Isolines Services",
"file": "geocoding_and_isolines",
"path": "data_services"
}
]
}, {
"title": "Publish and Share",
"samples": [{
"title": "Publish a public visualization",
"desc": "Publish a public visualization",
"file": "publish_a_public_visualization",
"path": "publish_and_share"
},{
"title": "Publish a private visualization",
"desc": "Publish a private visualization",
"file": "publish_a_private_visualization",
"path": "publish_and_share"
}
]
}, {
"title": "Data Enrichment",
"samples": []
}, {
"title": "Data Discovery",
"samples": []
}, {
"title": "Real Use Cases",
"samples": [{
"title": "Temperatures Visualization",
"desc": "Visualize warm temperatures",
"file": "visualize_temperatures",
"path": "real_use_cases"
}, {
"title": "Paris WiFi Services",
"desc": "Download data in json format",
"file": "paris_wifi_services",
"path": "real_use_cases"
}, {
"title": "Paris Remarkable Trees",
"desc": "Transform and visualize data from a json file",
"file": "paris_remarkable_trees",
"path": "real_use_cases"
}, {
"title": "Police Department Incident Reports in San Francisco",
"desc": "Use and analyze datasets from different sources",
"file": "police_department_incident_reports",
"path": "real_use_cases"
}, {
"title": "Geocode London Stations",
"desc": "Geocode a dataset in xls format",
"file": "geocoding_london_stations",
"path": "real_use_cases"
}
]
}
]
}

0 comments on commit 31bc0c8

Please sign in to comment.