Go back to the interactive dataset

Pages

Row numberNamePathVersionStatusContentDataLocaleTemplateMetadata
1health.data.ny.gov | New York State Department of Health/new-homepagepublished{"privateData"=>true, "bodyClass"=>"ds-homepage staging", "children"=>[{"id"=>"main-content", "children"=>[{"id"=>"story-banner", "contextId"=>"stories", "container"=>{"id"=>"story-pages", "animate"=>false, "switchInterval"=>20000, "type"=>"Carousel"}, "children"=>[{"htmlClass"=>"storyImage", "html"=>"<a href=\"{url.url}\"><img class='slide-image' src='/views/wwxh-6wew/files/{image}'; alt='background image'/></a>", "type"=>"Text"}, {"children"=>[{"htmlClass"=>"", "html"=>"<a href=\"{url.url}\" class=\"storyLink\"><span class=\"storyTitle\">{title}</span><br><br><span class=\"storyDescription\">{description}</span></a>", "type"=>"Text"}], "type"=>"Container"}], "type"=>"Repeater"}, {"buttonStyle"=>"sidebarTabs", "pagedContainerId"=>"story-pages", "hideButtonText"=>true, "customClass"=>"dotPager", "type"=>"Pager", "selectorStyle"=>"buttons"}, {"pagedContainerId"=>"featured-datasets", "customClass"=>"datasetPager", "type"=>"Pager", "selectorStyle"=>"buttons"}, {"id"=>"catalog-link", "html"=>"<a href=\"/browse\">View Full Data Catalog</a>", "type"=>"Text"}, {"id"=>"featured-datasets", "children"=>[{"id"=>"dataset-featured", "children"=>[{"htmlClass"=>"button prev", "html"=>"<a href='#Previous' class='prevLinkF disabled' onclick='moveRightFeatured()'>Previous</a>", "type"=>"Text"}, {"contextId"=>"featured-datasets", "htmlClass"=>"button next", "html"=>"<a href='#Next' class='nextLinkF {dataset.totalRows /4/disabled/g /3/disabled/g /2/disabled/g /1/disabled/g /0/disabled/g}' onclick='moveLeftFeatured()'>Next</a>", "type"=>"Text"}, {"id"=>"featuredRepeater", "contextId"=>"featured-datasets", "container"=>{"isAnimated"=>false, "htmlClass"=>"carouselFeatured", "type"=>"HorizontalContainer"}, "children"=>[{"children"=>[{"htmlClass"=>"datasetImage", "html"=>"<a href=\"{url.url}\"><img class='slide-image' src='/views/m7je-p2mc/files/{image}'; alt='background image'/></a>", "type"=>"Text"}, {"htmlClass"=>"datasetTitle", "html"=>"<a href=\"{url.url}\">{title}</a>", "type"=>"Text"}, {"htmlClass"=>"datasetDescription {type}", "html"=>"{description}", "type"=>"Text"}], "htmlClass"=>"datasetBox", "type"=>"Container"}], "type"=>"Repeater"}], "htmlClass"=>"carousel default", "iconClass"=>"featuredDatasets", "label"=>"Featured Datasets", "type"=>"Container"}, {"id"=>"dataset-recent", "children"=>[{"htmlClass"=>"button prev", "html"=>"<a href='#Previous' class='prevLinkR disabled' onclick='moveRightRecent()'>Previous</a>", "type"=>"Text"}, {"contextId"=>"recent-datasets", "htmlClass"=>"button next", "html"=>"<a href='#Next' class='nextLinkR {dataset.totalRows /4/disabled/g /3/disabled/g /2/disabled/g /1/disabled/g /0/disabled/g}' onclick='moveLeftRecent()'>Next</a>", "type"=>"Text"}, {"id"=>"recentRepeater", "contextId"=>"recent-datasets", "container"=>{"isAnimated"=>false, "htmlClass"=>"carouselRecent", "type"=>"HorizontalContainer"}, "children"=>[{"children"=>[{"htmlClass"=>"datasetImage", "html"=>"<a href=\"{url.url}\"><img class='slide-image' src='/views/m7je-p2mc/files/{image}'; alt='background image'/></a>", "type"=>"Text"}, {"htmlClass"=>"datasetTitle", "html"=>"<a href=\"{url.url}\">{title}</a>", "type"=>"Text"}, {"htmlClass"=>"datasetDescription {type}", "html"=>"{description}", "type"=>"Text"}], "htmlClass"=>"datasetBox", "type"=>"Container"}], "type"=>"Repeater"}], "iconClass"=>"recentDatasets", "label"=>"Recently Added", "type"=>"Container"}, {"id"=>"dataset-viewed", "children"=>[{"htmlClass"=>"button prev", "html"=>"<a href='#Previous' class='prevLinkV disabled' onclick='moveRightViewed()'>Previous</a>", "type"=>"Text"}, {"contextId"=>"viewed-datasets", "htmlClass"=>"button next", "html"=>"<a href='#Next' class='nextLinkV {dataset.totalRows /4/disabled/g /3/disabled/g /2/disabled/g /1/disabled/g /0/disabled/g}' onclick='moveLeftViewed()'>Next</a>", "type"=>"Text"}, {"id"=>"viewedRepeater", "contextId"=>"viewed-datasets", "container"=>{"isAnimated"=>false, "htmlClass"=>"carouselViewed", "type"=>"HorizontalContainer"}, "children"=>[{"children"=>[{"htmlClass"=>"datasetImage", "html"=>"<a href=\"{url.url}\"><img class='slide-image' src='/views/m7je-p2mc/files/{image}'; alt='background image'/></a>", "type"=>"Text"}, {"htmlClass"=>"datasetTitle", "html"=>"<a href=\"{url.url}\">{title}</a>", "type"=>"Text"}, {"htmlClass"=>"datasetDescription {type}", "html"=>"{description}", "type"=>"Text"}], "htmlClass"=>"datasetBox", "type"=>"Container"}], "type"=>"Repeater"}], "iconClass"=>"viewedDatasets", "label"=>"Most Viewed", "type"=>"Container"}], "type"=>"PagedContainer"}, {"id"=>"suggestDataset", "children"=>[{"id"=>"suggestText", "html"=>"<span class=\"suggestTitle\">Suggest a Health Topic</span><br>The New York State Department of Health wants to hear your ideas! Tell us what data is most valuable to you and what data you would like to see accessible on Health Data NY. Submit a suggestion now!", "type"=>"Text"}, {"id"=>"suggestButton", "htmlClass"=>"button suggestButton", "html"=>"<a href=\"/nominate\">Suggest a Health Topic</a>", "type"=>"Text"}], "type"=>"Container"}, {"htmlClass"=>"catalogTitle", "html"=>"Search & Browse Datasets and Views <a href=\"/catalog.rss\" class=\"subscribe\" title=\"Subscribe\"><span class=\"rssIcon\"></span></a>", "type"=>"Text"}, {"id"=>"main-catalog", "type"=>"Catalog"}, {"children"=>[{"html"=>"<h3>Didn't find what you're looking for? Suggest a health topic.</h3>", "type"=>"Text"}, {"children"=>[{"html"=>"<a class='button next' href='/nominate'>Suggest a Health Topic<span class='icon'></span></a>", "type"=>"Text"}], "htmlClass"=>"buttonContainer", "type"=>"Container"}], "htmlClass"=>"suggestBox infoBox", "type"=>"Container"}, {"contextId"=>"featured-datasets", "html"=>"<script type=\"text/javascript\"> function moveLeftFeatured() { if($('.nextLinkF').hasClass('disabled')) { return; } $('.carouselFeatured').attr('style', 'margin-left:' + (((parseInt($('.carouselFeatured').css('margin-left')) - 220) + 'px')) + ';'); $('.prevLinkF').removeClass('disabled'); if(parseInt($('.carouselFeatured').css('margin-left')) <= (({dataset.totalRows} - 4) * -220)) { $('.nextLinkF').addClass('disabled'); } }; function moveRightFeatured() { if($('.prevLinkF').hasClass('disabled')) { return; } $('.carouselFeatured').attr('style', 'margin-left:' + (((parseInt($('.carouselFeatured').css('margin-left')) + 220) + 'px')) + ';'); $('.nextLinkF').removeClass('disabled'); if(parseInt($('.carouselFeatured').css('margin-left')) >= 0) { $('.prevLinkF').addClass('disabled'); } }; $(function() { if({dataset.totalRows} == 4) { $('.nextLinkF').addClass('disabled'); } }); </script>", "type"=>"Text"}, {"contextId"=>"recent-datasets", "html"=>"<script type=\"text/javascript\"> function moveLeftRecent() { if($('.nextLinkR').hasClass('disabled')) { return; } $('.carouselRecent').attr('style', 'margin-left:' + (((parseInt($('.carouselRecent').css('margin-left')) - 220) + 'px')) + ';'); $('.prevLinkR').removeClass('disabled'); if(parseInt($('.carouselRecent').css('margin-left')) <= (({dataset.totalRows} - 4) * -220)) { $('.nextLinkR').addClass('disabled'); } }; function moveRightRecent() { if($('.prevLinkR').hasClass('disabled')) { return; } $('.carouselRecent').attr('style', 'margin-left:' + (((parseInt($('.carouselRecent').css('margin-left')) + 220) + 'px')) + ';'); $('.nextLinkR').removeClass('disabled'); if(parseInt($('.carouselRecent').css('margin-left')) >= 0) { $('.prevLinkR').addClass('disabled'); } }; $(function() { if({dataset.totalRows} == 4) { $('.nextLinkR').addClass('disabled'); } }); </script>", "type"=>"Text"}, {"contextId"=>"viewed-datasets", "html"=>"<script type=\"text/javascript\"> function moveLeftViewed() { if($('.nextLinkV').hasClass('disabled')) { return; } $('.carouselViewed').attr('style', 'margin-left:' + (((parseInt($('.carouselViewed').css('margin-left')) - 220) + 'px')) + ';'); $('.prevLinkV').removeClass('disabled'); if(parseInt($('.carouselViewed').css('margin-left')) <= (({dataset.totalRows} - 4) * -220)) { $('.nextLinkV').addClass('disabled'); } }; function moveRightViewed() { if($('.prevLinkV').hasClass('disabled')) { return; } $('.carouselViewed').attr('style', 'margin-left:' + (((parseInt($('.carouselViewed').css('margin-left')) + 220) + 'px')) + ';'); $('.nextLinkV').removeClass('disabled'); if(parseInt($('.carouselViewed').css('margin-left')) >= 0) { $('.prevLinkV').addClass('disabled'); } };</script>", "type"=>"Text"}], "type"=>"Container"}], "type"=>"Container"}{"featured-datasets"=>{"query"=>{"filterCondition"=>{"value"=>"AND", "children"=>[{"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"appear_on_homepage"}, {"value"=>"TRUE", "type"=>"literal"}], "type"=>"operator"}, {"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"category"}, {"value"=>"Featured", "type"=>"literal"}], "type"=>"operator"}], "type"=>"operator"}}, "getTotal"=>true, "datasetId"=>"m7je-p2mc", "type"=>"dataset"}, "viewed-datasets"=>{"query"=>{"filterCondition"=>{"value"=>"AND", "children"=>[{"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"appear_on_homepage"}, {"value"=>"TRUE", "type"=>"literal"}], "type"=>"operator"}, {"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"category"}, {"value"=>"Most Viewed", "type"=>"literal"}], "type"=>"operator"}], "type"=>"operator"}}, "getTotal"=>true, "datasetId"=>"m7je-p2mc", "type"=>"dataset"}, "stories"=>{"query"=>{"filterCondition"=>{"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"appear_on_homepage"}, {"value"=>"TRUE", "type"=>"literal"}], "type"=>"operator"}}, "datasetId"=>"wwxh-6wew", "type"=>"dataset"}, "recent-datasets"=>{"query"=>{"filterCondition"=>{"value"=>"AND", "children"=>[{"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"appear_on_homepage"}, {"value"=>"TRUE", "type"=>"literal"}], "type"=>"operator"}, {"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"category"}, {"value"=>"Recently Added", "type"=>"literal"}], "type"=>"operator"}], "type"=>"operator"}}, "getTotal"=>true, "datasetId"=>"m7je-p2mc", "type"=>"dataset"}}
2STAGING health.data.ny.gov | New York State Department of Health/homepage-stagingpublished{"privateData"=>true, "bodyClass"=>"ds-homepage staging", "children"=>[{"id"=>"main-content", "children"=>[{"id"=>"story-banner", "contextId"=>"stories", "container"=>{"id"=>"story-pages", "animate"=>false, "switchInterval"=>20000, "type"=>"Carousel"}, "children"=>[{"htmlClass"=>"storyImage", "html"=>"<a href=\"{url.url}\"><img class='slide-image' src='/views/wwxh-6wew/files/{image}'; alt='background image'/></a>", "type"=>"Text"}, {"children"=>[{"htmlClass"=>"", "html"=>"<a href=\"{url.url}\" class=\"storyLink\"><span class=\"storyTitle\">{title}</span><br><br><span class=\"storyDescription\">{description}</span></a>", "type"=>"Text"}], "type"=>"Container"}], "type"=>"Repeater"}, {"buttonStyle"=>"sidebarTabs", "pagedContainerId"=>"story-pages", "hideButtonText"=>true, "customClass"=>"dotPager", "type"=>"Pager", "selectorStyle"=>"buttons"}, {"pagedContainerId"=>"featured-datasets", "customClass"=>"datasetPager", "type"=>"Pager", "selectorStyle"=>"buttons"}, {"id"=>"catalog-link", "html"=>"<a href=\"/browse\">View Full Data Catalog</a>", "type"=>"Text"}, {"id"=>"featured-datasets", "children"=>[{"id"=>"dataset-featured", "children"=>[{"htmlClass"=>"button prev", "html"=>"<a href='#Previous' class='prevLinkF disabled' onclick='moveRightFeatured()'>Previous</a>", "type"=>"Text"}, {"contextId"=>"featured-datasets", "htmlClass"=>"button next", "html"=>"<a href='#Next' class='nextLinkF {dataset.totalRows /4/disabled/g /3/disabled/g /2/disabled/g /1/disabled/g /0/disabled/g}' onclick='moveLeftFeatured()'>Next</a>", "type"=>"Text"}, {"id"=>"featuredRepeater", "contextId"=>"featured-datasets", "container"=>{"isAnimated"=>false, "htmlClass"=>"carouselFeatured", "type"=>"HorizontalContainer"}, "children"=>[{"children"=>[{"htmlClass"=>"datasetImage", "html"=>"<a href=\"{url.url}\"><img class='slide-image' src='/views/m7je-p2mc/files/{image}'; alt='background image'/></a>", "type"=>"Text"}, {"htmlClass"=>"datasetTitle", "html"=>"<a href=\"{url.url}\">{title}</a>", "type"=>"Text"}, {"htmlClass"=>"datasetDescription {type}", "html"=>"{description}", "type"=>"Text"}], "htmlClass"=>"datasetBox", "type"=>"Container"}], "type"=>"Repeater"}], "htmlClass"=>"carousel default", "iconClass"=>"featuredDatasets", "label"=>"Featured Datasets", "type"=>"Container"}, {"id"=>"dataset-recent", "children"=>[{"htmlClass"=>"button prev", "html"=>"<a href='#Previous' class='prevLinkR disabled' onclick='moveRightRecent()'>Previous</a>", "type"=>"Text"}, {"contextId"=>"recent-datasets", "htmlClass"=>"button next", "html"=>"<a href='#Next' class='nextLinkR {dataset.totalRows /4/disabled/g /3/disabled/g /2/disabled/g /1/disabled/g /0/disabled/g}' onclick='moveLeftRecent()'>Next</a>", "type"=>"Text"}, {"id"=>"recentRepeater", "contextId"=>"recent-datasets", "container"=>{"isAnimated"=>false, "htmlClass"=>"carouselRecent", "type"=>"HorizontalContainer"}, "children"=>[{"children"=>[{"htmlClass"=>"datasetImage", "html"=>"<a href=\"{url.url}\"><img class='slide-image' src='/views/m7je-p2mc/files/{image}'; alt='background image'/></a>", "type"=>"Text"}, {"htmlClass"=>"datasetTitle", "html"=>"<a href=\"{url.url}\">{title}</a>", "type"=>"Text"}, {"htmlClass"=>"datasetDescription {type}", "html"=>"{description}", "type"=>"Text"}], "htmlClass"=>"datasetBox", "type"=>"Container"}], "type"=>"Repeater"}], "iconClass"=>"recentDatasets", "label"=>"Recently Added", "type"=>"Container"}, {"id"=>"dataset-viewed", "children"=>[{"htmlClass"=>"button prev", "html"=>"<a href='#Previous' class='prevLinkV disabled' onclick='moveRightViewed()'>Previous</a>", "type"=>"Text"}, {"contextId"=>"viewed-datasets", "htmlClass"=>"button next", "html"=>"<a href='#Next' class='nextLinkV {dataset.totalRows /4/disabled/g /3/disabled/g /2/disabled/g /1/disabled/g /0/disabled/g}' onclick='moveLeftViewed()'>Next</a>", "type"=>"Text"}, {"id"=>"viewedRepeater", "contextId"=>"viewed-datasets", "container"=>{"isAnimated"=>false, "htmlClass"=>"carouselViewed", "type"=>"HorizontalContainer"}, "children"=>[{"children"=>[{"htmlClass"=>"datasetImage", "html"=>"<a href=\"{url.url}\"><img class='slide-image' src='/views/m7je-p2mc/files/{image}'; alt='background image'/></a>", "type"=>"Text"}, {"htmlClass"=>"datasetTitle", "html"=>"<a href=\"{url.url}\">{title}</a>", "type"=>"Text"}, {"htmlClass"=>"datasetDescription {type}", "html"=>"{description}", "type"=>"Text"}], "htmlClass"=>"datasetBox", "type"=>"Container"}], "type"=>"Repeater"}], "iconClass"=>"viewedDatasets", "label"=>"Most Viewed", "type"=>"Container"}], "type"=>"PagedContainer"}, {"id"=>"suggestDataset", "children"=>[{"id"=>"suggestText", "html"=>"<span class=\"suggestTitle\">Suggest a Health Topic</span><br>The New York State Department of Health wants to hear your ideas! Tell us what data is most valuable to you and what data you would like to see accessible on Health Data NY. Submit a suggestion now!", "type"=>"Text"}, {"id"=>"suggestButton", "htmlClass"=>"button suggestButton", "html"=>"<a href=\"/nominate\">Suggest a Health Topic</a>", "type"=>"Text"}], "type"=>"Container"}, {"htmlClass"=>"catalogTitle", "html"=>"Search & Browse Datasets and Views <a href=\"/catalog.rss\" class=\"subscribe\" title=\"Subscribe\"><span class=\"rssIcon\"></span></a>", "type"=>"Text"}, {"id"=>"main-catalog", "type"=>"Catalog"}, {"children"=>[{"html"=>"<h3>Didn't find what you're looking for? Suggest a health topic.</h3>", "type"=>"Text"}, {"children"=>[{"html"=>"<a class='button next' href='/nominate'>Suggest a Health Topic<span class='icon'></span></a>", "type"=>"Text"}], "htmlClass"=>"buttonContainer", "type"=>"Container"}], "htmlClass"=>"suggestBox infoBox", "type"=>"Container"}, {"contextId"=>"featured-datasets", "html"=>"<script type=\"text/javascript\"> function moveLeftFeatured() { if($('.nextLinkF').hasClass('disabled')) { return; } $('.carouselFeatured').attr('style', 'margin-left:' + (((parseInt($('.carouselFeatured').css('margin-left')) - 220) + 'px')) + ';'); $('.prevLinkF').removeClass('disabled'); if(parseInt($('.carouselFeatured').css('margin-left')) <= (({dataset.totalRows} - 4) * -220)) { $('.nextLinkF').addClass('disabled'); } }; function moveRightFeatured() { if($('.prevLinkF').hasClass('disabled')) { return; } $('.carouselFeatured').attr('style', 'margin-left:' + (((parseInt($('.carouselFeatured').css('margin-left')) + 220) + 'px')) + ';'); $('.nextLinkF').removeClass('disabled'); if(parseInt($('.carouselFeatured').css('margin-left')) >= 0) { $('.prevLinkF').addClass('disabled'); } }; $(function() { if({dataset.totalRows} == 4) { $('.nextLinkF').addClass('disabled'); } }); </script>", "type"=>"Text"}, {"contextId"=>"recent-datasets", "html"=>"<script type=\"text/javascript\"> function moveLeftRecent() { if($('.nextLinkR').hasClass('disabled')) { return; } $('.carouselRecent').attr('style', 'margin-left:' + (((parseInt($('.carouselRecent').css('margin-left')) - 220) + 'px')) + ';'); $('.prevLinkR').removeClass('disabled'); if(parseInt($('.carouselRecent').css('margin-left')) <= (({dataset.totalRows} - 4) * -220)) { $('.nextLinkR').addClass('disabled'); } }; function moveRightRecent() { if($('.prevLinkR').hasClass('disabled')) { return; } $('.carouselRecent').attr('style', 'margin-left:' + (((parseInt($('.carouselRecent').css('margin-left')) + 220) + 'px')) + ';'); $('.nextLinkR').removeClass('disabled'); if(parseInt($('.carouselRecent').css('margin-left')) >= 0) { $('.prevLinkR').addClass('disabled'); } }; $(function() { if({dataset.totalRows} == 4) { $('.nextLinkR').addClass('disabled'); } }); </script>", "type"=>"Text"}, {"contextId"=>"viewed-datasets", "html"=>"<script type=\"text/javascript\"> function moveLeftViewed() { if($('.nextLinkV').hasClass('disabled')) { return; } $('.carouselViewed').attr('style', 'margin-left:' + (((parseInt($('.carouselViewed').css('margin-left')) - 220) + 'px')) + ';'); $('.prevLinkV').removeClass('disabled'); if(parseInt($('.carouselViewed').css('margin-left')) <= (({dataset.totalRows} - 4) * -220)) { $('.nextLinkV').addClass('disabled'); } }; function moveRightViewed() { if($('.prevLinkV').hasClass('disabled')) { return; } $('.carouselViewed').attr('style', 'margin-left:' + (((parseInt($('.carouselViewed').css('margin-left')) + 220) + 'px')) + ';'); $('.nextLinkV').removeClass('disabled'); if(parseInt($('.carouselViewed').css('margin-left')) >= 0) { $('.prevLinkV').addClass('disabled'); } };</script>", "type"=>"Text"}], "type"=>"Container"}], "type"=>"Container"}{"featured-datasets"=>{"query"=>{"orderBys"=>[{"expression"=>{"fieldName"=>"order_on_staging", "type"=>"column"}, "ascending"=>true}], "filterCondition"=>{"value"=>"AND", "children"=>[{"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"appear_on_staging"}, {"value"=>"TRUE", "type"=>"literal"}], "type"=>"operator"}, {"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"category"}, {"value"=>"Featured", "type"=>"literal"}], "type"=>"operator"}], "type"=>"operator"}}, "getTotal"=>true, "datasetId"=>"m7je-p2mc", "type"=>"dataset"}, "viewed-datasets"=>{"query"=>{"orderBys"=>[{"expression"=>{"fieldName"=>"order_on_staging", "type"=>"column"}, "ascending"=>true}], "filterCondition"=>{"value"=>"AND", "children"=>[{"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"appear_on_staging"}, {"value"=>"TRUE", "type"=>"literal"}], "type"=>"operator"}, {"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"category"}, {"value"=>"Most Viewed", "type"=>"literal"}], "type"=>"operator"}], "type"=>"operator"}}, "getTotal"=>true, "datasetId"=>"m7je-p2mc", "type"=>"dataset"}, "stories"=>{"query"=>{"orderBys"=>[{"expression"=>{"fieldName"=>"order_on_staging", "type"=>"column"}, "ascending"=>true}], "filterCondition"=>{"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"appear_on_staging"}, {"value"=>"TRUE", "type"=>"literal"}], "type"=>"operator"}}, "datasetId"=>"wwxh-6wew", "type"=>"dataset"}, "recent-datasets"=>{"query"=>{"orderBys"=>[{"expression"=>{"fieldName"=>"order_on_staging", "type"=>"column"}, "ascending"=>true}], "filterCondition"=>{"value"=>"AND", "children"=>[{"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"appear_on_staging"}, {"value"=>"TRUE", "type"=>"literal"}], "type"=>"operator"}, {"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"category"}, {"value"=>"Recently Added", "type"=>"literal"}], "type"=>"operator"}], "type"=>"operator"}}, "getTotal"=>true, "datasetId"=>"m7je-p2mc", "type"=>"dataset"}}
3health.data.ny.gov | New York State Department of Health/published{"privateData"=>true, "bodyClass"=>"ds-homepage staging", "children"=>[{"id"=>"main-content", "children"=>[{"id"=>"story-banner", "contextId"=>"stories", "container"=>{"id"=>"story-pages", "animate"=>false, "switchInterval"=>20000, "type"=>"Carousel"}, "children"=>[{"htmlClass"=>"storyImage", "html"=>"<a href=\"{url.url}\"><img class='slide-image' src='/views/wwxh-6wew/files/{image}'; alt='background image'/></a>", "type"=>"Text"}, {"children"=>[{"htmlClass"=>"", "html"=>"<a href=\"{url.url}\" class=\"storyLink\"><span class=\"storyTitle\">{title}</span><br><br><span class=\"storyDescription\">{description}</span></a>", "type"=>"Text"}], "type"=>"Container"}], "type"=>"Repeater"}, {"buttonStyle"=>"sidebarTabs", "pagedContainerId"=>"story-pages", "hideButtonText"=>true, "customClass"=>"dotPager", "type"=>"Pager", "selectorStyle"=>"buttons"}, {"pagedContainerId"=>"featured-datasets", "customClass"=>"datasetPager", "type"=>"Pager", "selectorStyle"=>"buttons"}, {"id"=>"catalog-link", "html"=>"<a href=\"/browse\">View Full Data Catalog</a>", "type"=>"Text"}, {"id"=>"featured-datasets", "children"=>[{"id"=>"dataset-featured", "children"=>[{"htmlClass"=>"button prev", "html"=>"<a href='#Previous' class='prevLinkF disabled' onclick='moveRightFeatured()'>Previous</a>", "type"=>"Text"}, {"contextId"=>"featured-datasets", "htmlClass"=>"button next", "html"=>"<a href='#Next' class='nextLinkF {dataset.totalRows /4/disabled/g /3/disabled/g /2/disabled/g /1/disabled/g /0/disabled/g}' onclick='moveLeftFeatured()'>Next</a>", "type"=>"Text"}, {"id"=>"featuredRepeater", "contextId"=>"featured-datasets", "container"=>{"isAnimated"=>false, "htmlClass"=>"carouselFeatured", "type"=>"HorizontalContainer"}, "children"=>[{"children"=>[{"htmlClass"=>"datasetImage", "html"=>"<a href=\"{url.url}\"><img class='slide-image' src='/views/m7je-p2mc/files/{image}'; alt='background image'/></a>", "type"=>"Text"}, {"htmlClass"=>"datasetTitle", "html"=>"<a href=\"{url.url}\">{title}</a>", "type"=>"Text"}, {"htmlClass"=>"datasetDescription {type}", "html"=>"{description}", "type"=>"Text"}], "htmlClass"=>"datasetBox", "type"=>"Container"}], "type"=>"Repeater"}], "htmlClass"=>"carousel default", "iconClass"=>"featuredDatasets", "label"=>"Featured Datasets", "type"=>"Container"}, {"id"=>"dataset-recent", "children"=>[{"htmlClass"=>"button prev", "html"=>"<a href='#Previous' class='prevLinkR disabled' onclick='moveRightRecent()'>Previous</a>", "type"=>"Text"}, {"contextId"=>"recent-datasets", "htmlClass"=>"button next", "html"=>"<a href='#Next' class='nextLinkR {dataset.totalRows /4/disabled/g /3/disabled/g /2/disabled/g /1/disabled/g /0/disabled/g}' onclick='moveLeftRecent()'>Next</a>", "type"=>"Text"}, {"id"=>"recentRepeater", "contextId"=>"recent-datasets", "container"=>{"isAnimated"=>false, "htmlClass"=>"carouselRecent", "type"=>"HorizontalContainer"}, "children"=>[{"children"=>[{"htmlClass"=>"datasetImage", "html"=>"<a href=\"{url.url}\"><img class='slide-image' src='/views/m7je-p2mc/files/{image}'; alt='background image'/></a>", "type"=>"Text"}, {"htmlClass"=>"datasetTitle", "html"=>"<a href=\"{url.url}\">{title}</a>", "type"=>"Text"}, {"htmlClass"=>"datasetDescription {type}", "html"=>"{description}", "type"=>"Text"}], "htmlClass"=>"datasetBox", "type"=>"Container"}], "type"=>"Repeater"}], "iconClass"=>"recentDatasets", "label"=>"Recently Added", "type"=>"Container"}, {"id"=>"dataset-viewed", "children"=>[{"htmlClass"=>"button prev", "html"=>"<a href='#Previous' class='prevLinkV disabled' onclick='moveRightViewed()'>Previous</a>", "type"=>"Text"}, {"contextId"=>"viewed-datasets", "htmlClass"=>"button next", "html"=>"<a href='#Next' class='nextLinkV {dataset.totalRows /4/disabled/g /3/disabled/g /2/disabled/g /1/disabled/g /0/disabled/g}' onclick='moveLeftViewed()'>Next</a>", "type"=>"Text"}, {"id"=>"viewedRepeater", "contextId"=>"viewed-datasets", "container"=>{"isAnimated"=>false, "htmlClass"=>"carouselViewed", "type"=>"HorizontalContainer"}, "children"=>[{"children"=>[{"htmlClass"=>"datasetImage", "html"=>"<a href=\"{url.url}\"><img class='slide-image' src='/views/m7je-p2mc/files/{image}'; alt='background image'/></a>", "type"=>"Text"}, {"htmlClass"=>"datasetTitle", "html"=>"<a href=\"{url.url}\">{title}</a>", "type"=>"Text"}, {"htmlClass"=>"datasetDescription {type}", "html"=>"{description}", "type"=>"Text"}], "htmlClass"=>"datasetBox", "type"=>"Container"}], "type"=>"Repeater"}], "iconClass"=>"viewedDatasets", "label"=>"Most Viewed", "type"=>"Container"}], "type"=>"PagedContainer"}, {"id"=>"suggestDataset", "children"=>[{"id"=>"suggestText", "html"=>"<span class=\"suggestTitle\">Suggest a Health Topic</span><br>The New York State Department of Health wants to hear your ideas! Tell us what data is most valuable to you and what data you would like to see accessible on Health Data NY. Submit a suggestion now!", "type"=>"Text"}, {"id"=>"suggestButton", "htmlClass"=>"button suggestButton", "html"=>"<a href=\"/nominate\">Suggest a Health Topic</a>", "type"=>"Text"}], "type"=>"Container"}, {"htmlClass"=>"catalogTitle", "html"=>"Search & Browse Datasets and Views <a href=\"/catalog.rss\" class=\"subscribe\" title=\"Subscribe\"><span class=\"rssIcon\"></span></a>", "type"=>"Text"}, {"id"=>"main-catalog", "type"=>"Catalog"}, {"children"=>[{"html"=>"<h3>Didn't find what you're looking for? Suggest a health topic.</h3>", "type"=>"Text"}, {"children"=>[{"html"=>"<a class='button next' href='/nominate'>Suggest a Health Topic<span class='icon'></span></a>", "type"=>"Text"}], "htmlClass"=>"buttonContainer", "type"=>"Container"}], "htmlClass"=>"suggestBox infoBox", "type"=>"Container"}, {"contextId"=>"featured-datasets", "html"=>"<script type=\"text/javascript\"> function moveLeftFeatured() { if($('.nextLinkF').hasClass('disabled')) { return; } $('.carouselFeatured').attr('style', 'margin-left:' + (((parseInt($('.carouselFeatured').css('margin-left')) - 220) + 'px')) + ';'); $('.prevLinkF').removeClass('disabled'); if(parseInt($('.carouselFeatured').css('margin-left')) <= (({dataset.totalRows} - 4) * -220)) { $('.nextLinkF').addClass('disabled'); } }; function moveRightFeatured() { if($('.prevLinkF').hasClass('disabled')) { return; } $('.carouselFeatured').attr('style', 'margin-left:' + (((parseInt($('.carouselFeatured').css('margin-left')) + 220) + 'px')) + ';'); $('.nextLinkF').removeClass('disabled'); if(parseInt($('.carouselFeatured').css('margin-left')) >= 0) { $('.prevLinkF').addClass('disabled'); } }; $(function() { if({dataset.totalRows} == 4) { $('.nextLinkF').addClass('disabled'); } }); </script>", "type"=>"Text"}, {"contextId"=>"recent-datasets", "html"=>"<script type=\"text/javascript\"> function moveLeftRecent() { if($('.nextLinkR').hasClass('disabled')) { return; } $('.carouselRecent').attr('style', 'margin-left:' + (((parseInt($('.carouselRecent').css('margin-left')) - 220) + 'px')) + ';'); $('.prevLinkR').removeClass('disabled'); if(parseInt($('.carouselRecent').css('margin-left')) <= (({dataset.totalRows} - 4) * -220)) { $('.nextLinkR').addClass('disabled'); } }; function moveRightRecent() { if($('.prevLinkR').hasClass('disabled')) { return; } $('.carouselRecent').attr('style', 'margin-left:' + (((parseInt($('.carouselRecent').css('margin-left')) + 220) + 'px')) + ';'); $('.nextLinkR').removeClass('disabled'); if(parseInt($('.carouselRecent').css('margin-left')) >= 0) { $('.prevLinkR').addClass('disabled'); } }; $(function() { if({dataset.totalRows} == 4) { $('.nextLinkR').addClass('disabled'); } }); </script>", "type"=>"Text"}, {"contextId"=>"viewed-datasets", "html"=>"<script type=\"text/javascript\"> function moveLeftViewed() { if($('.nextLinkV').hasClass('disabled')) { return; } $('.carouselViewed').attr('style', 'margin-left:' + (((parseInt($('.carouselViewed').css('margin-left')) - 220) + 'px')) + ';'); $('.prevLinkV').removeClass('disabled'); if(parseInt($('.carouselViewed').css('margin-left')) <= (({dataset.totalRows} - 4) * -220)) { $('.nextLinkV').addClass('disabled'); } }; function moveRightViewed() { if($('.prevLinkV').hasClass('disabled')) { return; } $('.carouselViewed').attr('style', 'margin-left:' + (((parseInt($('.carouselViewed').css('margin-left')) + 220) + 'px')) + ';'); $('.nextLinkV').removeClass('disabled'); if(parseInt($('.carouselViewed').css('margin-left')) >= 0) { $('.prevLinkV').addClass('disabled'); } };</script>", "type"=>"Text"}], "type"=>"Container"}], "type"=>"Container"}{"featured-datasets"=>{"query"=>{"orderBys"=>[{"expression"=>{"fieldName"=>"order", "type"=>"column"}, "ascending"=>true}], "filterCondition"=>{"value"=>"AND", "children"=>[{"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"appear_on_homepage"}, {"value"=>"TRUE", "type"=>"literal"}], "type"=>"operator"}, {"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"category"}, {"value"=>"Featured", "type"=>"literal"}], "type"=>"operator"}], "type"=>"operator"}}, "getTotal"=>true, "datasetId"=>"m7je-p2mc", "type"=>"dataset"}, "viewed-datasets"=>{"query"=>{"orderBys"=>[{"expression"=>{"fieldName"=>"order", "type"=>"column"}, "ascending"=>true}], "filterCondition"=>{"value"=>"AND", "children"=>[{"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"appear_on_homepage"}, {"value"=>"TRUE", "type"=>"literal"}], "type"=>"operator"}, {"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"category"}, {"value"=>"Most Viewed", "type"=>"literal"}], "type"=>"operator"}], "type"=>"operator"}}, "getTotal"=>true, "datasetId"=>"m7je-p2mc", "type"=>"dataset"}, "stories"=>{"query"=>{"orderBys"=>[{"expression"=>{"fieldName"=>"order", "type"=>"column"}, "ascending"=>true}], "filterCondition"=>{"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"appear_on_homepage"}, {"value"=>"TRUE", "type"=>"literal"}], "type"=>"operator"}}, "datasetId"=>"wwxh-6wew", "type"=>"dataset"}, "recent-datasets"=>{"query"=>{"orderBys"=>[{"expression"=>{"fieldName"=>"order", "type"=>"column"}, "ascending"=>true}], "filterCondition"=>{"value"=>"AND", "children"=>[{"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"appear_on_homepage"}, {"value"=>"TRUE", "type"=>"literal"}], "type"=>"operator"}, {"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"category"}, {"value"=>"Recently Added", "type"=>"literal"}], "type"=>"operator"}], "type"=>"operator"}}, "getTotal"=>true, "datasetId"=>"m7je-p2mc", "type"=>"dataset"}}
4Community App Catalog/apps/:idpublished{"id"=>"app-profile", "contextId"=>"app", "children"=>[{"children"=>[{"weight"=>80, "html"=>"<a href=\"/apps\">&laquo; Back to the app catalog</a>", "type"=>"Text"}, {"weight"=>20, "htmlClass"=>"shareBar", "html"=>"<div class=\"addthis_toolbox addthis_16x16_style addthis_default_style\"> <a class=\"addthis_button_facebook\"></a> <a class=\"addthis_button_twitter\"></a> <a class=\"addthis_button_email\"></a> <a class=\"addthis_button_google\"></a> <a class=\"addthis_button_compact\"></a> </div>", "type"=>"Text"}], "htmlClass"=>"toolbar", "type"=>"HorizontalContainer"}, {"children"=>[{"weight"=>30, "children"=>[{"html"=>"<img src=\"/api/views/ty5m-x2mm/files/{row.app_thumbnail}\" alt=\"{row.application_name}\" />", "type"=>"Text"}], "htmlClass"=>"app-image", "type"=>"Container"}, {"weight"=>70, "children"=>[{"text"=>"{row.application_name}", "htmlClass"=>"name", "type"=>"Title"}, {"htmlClass"=>"meta author", "html"=>"<em>Author:</em> <a href=\"{row.author_homepage}\" target=\"_blank\">{row.author_name} &raquo;</a>", "type"=>"Text"}, {"class"=>"meta platform", "html"=>"<em>Platform:</em> {row.platform}", "type"=>"Text"}, {"class"=>"meta", "html"=>"<em>License:</em> {row.license}", "type"=>"Text"}, {"class"=>"meta", "html"=>"<em>Date Submitted:</em> {row.date_submitted}", "type"=>"Text"}, {"htmlClass"=>"description", "html"=>"{row.description}", "type"=>"Text"}, {"text"=>"Datasets utilized by this app:", "type"=>"Title"}, {"contextId"=>"datasets", "children"=>[{"context"=>{"datasetId"=>"{dataset}", "type"=>"dataset"}, "children"=>[{"weight"=>8, "htmlClass"=>"dataset-icon", "html"=>"<img src=\"/api/assets/0F92CE9D-6E37-4D0B-B304-0F90CDDDB3CE\" alt=\"Dataset\" />", "type"=>"Text"}, {"weight"=>92, "children"=>[{"htmlClass"=>"dataset-title", "html"=>"<h2><a href=\"/d/{dataset.id}\" target=\"_blank\">{dataset.name} &raquo;</a></h2>", "type"=>"Text"}, {"htmlClass"=>"dataset-description", "html"=>"{dataset.description}", "type"=>"Text"}], "type"=>"Container"}], "htmlClass"=>"dataset", "type"=>"HorizontalContainer"}], "htmlClass"=>"datasets-used", "type"=>"Repeater"}], "htmlClass"=>"app-details", "type"=>"Container"}], "type"=>"HorizontalContainer"}], "type"=>"Container"}{"app"=>{"query"=>{"filterCondition"=>{"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"application_id"}, {"value"=>"{?id}", "type"=>"literal"}], "type"=>"operator"}}, "datasetId"=>"ty5m-x2mm", "type"=>"row"}, "datasets"=>{"query"=>{"filterCondition"=>{"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"app"}, {"value"=>"{?id}", "type"=>"literal"}], "type"=>"operator"}}, "datasetId"=>"8svg-8p92", "type"=>"dataset"}}
5Find Energy Star Rated Televisions | EPA Energy Star/appspublished{"id"=>"app-catalog", "contextId"=>"apps", "children"=>[{"id"=>"title", "text"=>"Community App Catalog", "type"=>"Title"}, {"children"=>[{"id"=>"matchCountLabel", "weight"=>55, "htmlClass"=>"matchCount", "html"=>"<span class=\"count\">{dataset.totalRows ||}</span><span class=\"apps\"> applications</span> match your search", "type"=>"Text"}, {"destComponentId"=>"matchCountLabel", "sourceContextId"=>"apps", "transformations"=>[{"destProperty"=>"totalRowCount"}], "type"=>"EventConnector", "sourceEvent"=>"row_count_change"}], "htmlClass"=>"toolbar", "type"=>"HorizontalContainer"}, {"id"=>"explorer", "children"=>[{"id"=>"filterSidebar", "weight"=>20, "children"=>[{"type"=>"Search"}, {"columnFilter"=>{"multiSelect"=>false, "restrictedValues"=>true, "includeAuto"=>10, "column"=>"platform", "forceValue"=>false, "selectAll"=>true, "sortAlphabetically"=>true}, "type"=>"InlineFilter"}, {"columnFilter"=>{"multiSelect"=>false, "restrictedValues"=>true, "includeAuto"=>10, "column"=>"license", "forceValue"=>false, "selectAll"=>true, "sortAlphabetically"=>true}, "type"=>"InlineFilter"}], "type"=>"Container"}, {"id"=>"app-listing", "weight"=>80, "children"=>[{"children"=>[{"container"=>{"id"=>"pagesContainer", "cellHeight"=>300, "type"=>"GridContainer", "cellWidth"=>500}, "children"=>[{"children"=>[{"htmlClass"=>"name", "html"=>"<h2><a href=\"/apps/{application_id}\">{application_name} &raquo;</a></h2>", "type"=>"Text"}, {"htmlClass"=>"thumbnail", "html"=>"<a href=\"/apps/{application_id}\"><img src=\"/api/views/ty5m-x2mm/files/{app_thumbnail}\" alt=\"{application_name}\" /></a>", "type"=>"Text"}, {"htmlClass"=>"author", "html"=>"<a href=\"{author_homepage}\" target=\"_blank\">{author_name} &raquo;</a>", "type"=>"Text"}, {"class"=>"meta", "html"=>"<em>Platform:</em> {platform}", "type"=>"Text"}, {"htmlClass"=>"description", "html"=>"{description}", "type"=>"Text"}], "htmlClass"=>"application clearfix", "type"=>"Container"}], "type"=>"Repeater"}], "type"=>"Container"}], "type"=>"Container"}], "type"=>"HorizontalContainer"}], "type"=>"Container"}{"apps"=>{"datasetId"=>"ty5m-x2mm", "type"=>"dataset"}}
6Blog | Developer Portal | Socrata API Foundry/developers/blogpublished{"id"=>"api-foundry", "contextId"=>"blog", "children"=>[{"id"=>"navbar", "html"=>"<a href=\"/developers\">API Catalog</a> | <span class=\"current\">Blog</span> | <a href=\"/developers/discuss\">Discuss</a> | <a href=\"/apps\">App Catalog</a>", "type"=>"Text"}, {"text"=>"Developer Blog", "htmlClass"=>"page-title", "type"=>"Title"}, {"id"=>"blog", "children"=>[{"id"=>"filterSidebar", "weight"=>20, "children"=>[{"type"=>"Search"}, {"columnFilter"=>{"multiSelect"=>false, "restrictedValues"=>true, "includeAuto"=>10, "column"=>"api_alias", "forceValue"=>false, "selectAll"=>true, "sortAlphabetically"=>true}, "type"=>"InlineFilter"}, {"columnFilter"=>{"multiSelect"=>false, "restrictedValues"=>true, "includeAuto"=>10, "column"=>"user_name", "forceValue"=>false, "selectAll"=>true, "sortAlphabetically"=>true}, "type"=>"InlineFilter"}, {"columnFilter"=>{"multiSelect"=>false, "restrictedValues"=>true, "includeAuto"=>10, "column"=>"sub_agency", "forceValue"=>false, "selectAll"=>true, "sortAlphabetically"=>true}, "type"=>"InlineFilter"}], "type"=>"Container"}, {"id"=>"datasetSection", "weight"=>80, "children"=>[{"container"=>{"htmlClass"=>"blog-listing", "type"=>"Container"}, "children"=>[{"children"=>[{"htmlClass"=>"title", "html"=>"<h2><a href=\"/developers/blog/{slug}\">{title} &raquo;</a></h2>", "type"=>"Text"}, {"htmlClass"=>"meta", "html"=>"<strong>Author:</strong> <a href=\"/profile/-/{user_id}\" target=\"_blank\">{user_name}</a>", "type"=>"Text"}, {"htmlClass"=>"body", "html"=>"{body}", "type"=>"Text"}], "htmlClass"=>"blog-post", "type"=>"Container"}], "type"=>"Repeater"}], "type"=>"Container"}], "type"=>"HorizontalContainer"}], "htmlClass"=>"blog", "label"=>"Developer Blog", "type"=>"Container"}{"blog"=>{"datasetId"=>"mx22-gvqu", "type"=>"dataset"}}
7Discuss | Developer Portal | Socrata API Foundry/developers/discusspublished{"id"=>"api-foundry", "contextId"=>"apis", "children"=>[{"id"=>"navbar", "html"=>"<a href=\"/developers\">API Catalog</a> | <a href=\"/developers/blog\">Blog</a> | <span class=\"current\">Discuss</span> | <a href=\"/apps\">App Catalog</a>", "type"=>"Text"}, {"text"=>"Discuss Foundry APIs", "class"=>"page-title", "type"=>"Title"}, {"id"=>"discuss", "children"=>[{"type"=>"Comments"}], "type"=>"Container"}], "htmlClass"=>"discuss", "type"=>"Container"}{"apis"=>{"datasetId"=>"85gk-79ux", "type"=>"dataset"}}
8Try the API | Developer Portal | Socrata API Foundry/developers/docs/:api_alias/trypublished{"id"=>"api-foundry", "contextId"=>"api", "children"=>[{"id"=>"navbar", "html"=>"<a href=\"/developers\">API Catalog</a> &raquo; <a href=\"/developers/docs/{row.api_alias}\">{row.name}</a> &raquo; <span class=\"current\">Try</span> | <a href=\"/developers/blog\">Blog</a> | <a href=\"/developers/discuss\">Discuss</a> | <a href=\"/apps\">App Catalog</a>", "type"=>"Text"}, {"text"=>"Try: {row.name}", "htmlClass"=>"page-title", "type"=>"Title"}, {"id"=>"api-details", "children"=>[{"htmlClass"=>"description", "html"=>"{row.description}", "type"=>"Text"}, {"htmlClass"=>"console", "html"=>"<iframe src=\"/console.html\" height=\"400\" width=\"800\" />", "type"=>"Text"}], "type"=>"Container"}], "htmlClass"=>"try-api", "type"=>"Container"}{"api"=>{"query"=>{"filterCondition"=>{"value"=>"EQUALS", "children"=>[{"type"=>"column", "columnFieldName"=>"api_alias"}, {"value"=>"{?api_alias}", "type"=>"literal"}], "type"=>"operator"}}, "datasetId"=>"85gk-79ux", "type"=>"row", "required"=>true}}
9View API Docs | Developer Portal | Socrata API Foundry/developers/docs/:api_aliaspublished{"id"=>"api-foundry", "contextId"=>"api", "htmlClass"=>"view-api", "children"=>[{"id"=>"navbar", "html"=>"<a href=\"/developers\">API Catalog</a> &raquo; <span class=\"current\">{dataset.name}</span> <!--| <a href=\"/developers/blog\">Blog</a> | <a href=\"/developers/discuss\">Discuss</a> | <a href=\"/apps\">App Catalog</a>-->", "type"=>"Text"}, {"text"=>"{dataset.name}", "htmlClass"=>"page-title", "type"=>"Title"}, {"id"=>"api-details", "children"=>[{"htmlClass"=>"description", "html"=>"<p>{dataset.description ||}</p>", "type"=>"Text"}, {"text"=>"Getting Started", "htmlClass"=>"big-title", "type"=>"Title"}, {"children"=>[{"weight"=>30, "htmlClass"=>"big-button try", "html"=>"<a href=\"https://live-docs.socrata.com/{env.domain}/{?api_alias}\" target=\"_blank\"><span>Try this API</span></a>", "type"=>"Text"}, {"weight"=>70, "html"=>"<p>All communication with the API is done through HTTPS, and errors are communicated through HTTP response codes. Available response types include <code>JSON</code>, <code>XML</code>, and <code>CSV</code>, which are selectable by the \"extension\" on API requests or by HTTP <code>Accepts</code> headers.</p><p>This documentation also includes inline, runable examples. Click on any link that contains a <code class=\"gear\">gear symbol</code> next to it to run that example live against the {dataset.name} API.</p>", "type"=>"Text"}], "type"=>"HorizontalContainer"}, {"text"=>"App Tokens", "htmlClass"=>"sub-title", "type"=>"Title"}, {"children"=>[{"weight"=>70, "html"=>"<p>All requests should include an app token that identifies your application, and each application should have its own unique app token. A limited number of requests can be made without an app token, but they are subject to much lower throttling limits than request that do include one. If you don't have an app token yet, click the button to the right to sign up for one.</p><p>Once you have an app token, you can include it with your request either by using the <code>X-App-Token</code> HTTP header, or by passing it via the <code>$app_token</code> parameter on your URL.</p>", "type"=>"Text"}, {"weight"=>30, "htmlClass"=>"big-button register", "html"=>"<a href=\"/profile/app_tokens\" target=\"_blank\"><span>Register for an App Token</span></a>", "type"=>"Text"}], "type"=>"HorizontalContainer"}, {"text"=>"Response Codes", "htmlClass"=>"sub-title", "type"=>"Title"}, {"htmlClass"=>"response-codes", "html"=>"<p>One of the following response codes will be returned with every request:</p><ol>\n <li><span class=\"code\">200</span>Successful request.</li>\n <li><span class=\"code\">202</span>Request processing. You can retry your request, and when it's complete, you'll get a 200 instead.</li>\n <li><span class=\"code\">400</span>Bad request</li>\n <li><span class=\"code\">401</span>Unauthorized. You're not authorized to access this resource.</li>\n <li><span class=\"code\">404</span>Not found. The resource requested doesn't exist.</li>\n<li><span class=\"code\">429</span>Too Many Requests. The client has made too many requests and is currently being rate limited.</li>\n <li><span class=\"code\">500</span>Server errors. Our bad!</li>\n</ol>", "type"=>"Text"}, {"htmlClass"=>"code-samples", "children"=>[{"text"=>"Code Samples", "htmlClass"=>"sub-title", "type"=>"Title"}, {"pagedContainerId"=>"code-sample-tabs", "hideButtonText"=>false, "htmlClass"=>"sample-pager", "type"=>"Pager", "selectorStyle"=>"buttons"}, {"id"=>"code-sample-tabs", "pageSize"=>1, "children"=>[{"label"=>"Ruby", "html"=>"<pre class=\"prettyprint\"><span class=\"com\">#!/usr/bin/env ruby</span><span class=\"pln\">\n\n</span><span class=\"kwd\">require</span><span class=\"pln\"> </span><span class=\"str\">'net/https'</span><span class=\"pln\">\nuri </span><span class=\"pun\">=</span><span class=\"pln\"> URI</span><span class=\"pun\">(</span><span class=\"str\">'https://{env.domain}/resource/{?api_alias}.json?recall_id=94'</span><span class=\"pun\">)</span><span class=\"pln\">\n\nhttp </span><span class=\"pun\">=</span><span class=\"pln\"> </span><span class=\"typ\">Net</span><span class=\"pun\">::</span><span class=\"pln\">HTTP</span><span class=\"pun\">.</span><span class=\"kwd\">new</span><span class=\"pun\">(</span><span class=\"pln\">uri</span><span class=\"pun\">.</span><span class=\"pln\">host</span><span class=\"pun\">,</span><span class=\"pln\"> uri</span><span class=\"pun\">.</span><span class=\"pln\">port</span><span class=\"pun\">)</span><span class=\"pln\">\nhttp</span><span class=\"pun\">.</span><span class=\"pln\">use_ssl </span><span class=\"pun\">=</span><span class=\"pln\"> </span><span class=\"kwd\">true</span><span class=\"pln\">\nhttp</span><span class=\"pun\">.</span><span class=\"pln\">verify_mode </span><span class=\"pun\">=</span><span class=\"pln\"> </span><span class=\"typ\">OpenSSL</span><span class=\"pun\">::</span><span class=\"pln\">SSL</span><span class=\"pun\">::</span><span class=\"pln\">VERIFY_PEER\n\nrequest </span><span class=\"pun\">=</span><span class=\"pln\"> </span><span class=\"typ\">Net</span><span class=\"pun\">::</span><span class=\"pln\">HTTP</span><span class=\"pun\">::</span><span class=\"typ\">Get</span><span class=\"pun\">.</span><span class=\"kwd\">new</span><span class=\"pun\">(</span><span class=\"pln\">uri</span><span class=\"pun\">.</span><span class=\"pln\">request_uri</span><span class=\"pun\">)</span><span class=\"pln\">\nrequest</span><span class=\"pun\">.</span><span class=\"pln\">add_field</span><span class=\"pun\">(</span><span class=\"str\">'X-App-Token'</span><span class=\"pun\">,</span><span class=\"pln\"> ARGV</span><span class=\"pun\">[</span><span class=\"lit\">0</span><span class=\"pun\">])</span><span class=\"pln\">\n\nresponse </span><span class=\"pun\">=</span><span class=\"pln\"> http</span><span class=\"pun\">.</span><span class=\"pln\">request</span><span class=\"pun\">(</span><span class=\"pln\">request</span><span class=\"pun\">)</span><span class=\"pln\">\nputs response</span><span class=\"pun\">.</span><span class=\"pln\">code\nputs response</span><span class=\"pun\">.</span><span class=\"pln\">body</span></pre>", "type"=>"Text"}, {"label"=>"Python", "html"=>"<pre class=\"prettyprint\"><span class=\"com\">#!/usr/bin/env python</span><span class=\"pln\">\n\n</span><span class=\"kwd\">import</span><span class=\"pln\"> sys\n</span><span class=\"kwd\">import</span><span class=\"pln\"> requests\n\nr </span><span class=\"pun\">=</span><span class=\"pln\"> requests</span><span class=\"pun\">.</span><span class=\"kwd\">get</span><span class=\"pun\">(</span><span class=\"str\">'https://{env.domain}/resource/{?api_alias}.json?recall_id=94'</span><span class=\"pun\">,</span><span class=\"pln\"> headers</span><span class=\"pun\">={</span><span class=\"str\">'X-App-Token'</span><span class=\"pun\">:</span><span class=\"pln\"> sys</span><span class=\"pun\">.</span><span class=\"pln\">argv</span><span class=\"pun\">[</span><span class=\"lit\">1</span><span class=\"pun\">]})</span><span class=\"pln\">\n</span><span class=\"kwd\">print</span><span class=\"pln\"> r</span><span class=\"pun\">.</span><span class=\"pln\">status_code\n</span><span class=\"kwd\">print</span><span class=\"pln\"> r</span><span class=\"pun\">.</span><span class=\"pln\">text</span></pre>", "type"=>"Text"}, {"label"=>"Coffeescript", "html"=>"<pre class=\"prettyprint\"><span class=\"pln\">request </span><span class=\"pun\">=</span><span class=\"pln\"> </span><span class=\"kwd\">require</span><span class=\"pln\"> </span><span class=\"str\">'request'</span><span class=\"pln\">\noptions </span><span class=\"pun\">=</span><span class=\"pln\"> uri</span><span class=\"pun\">:</span><span class=\"pln\"> </span><span class=\"str\">'https://{env.domain}/resource/{?api_alias}.json?$$app_token=APP_TOKEN&amp;recall_id=94'</span><span class=\"pln\">\nrequest options</span><span class=\"pun\">,</span><span class=\"pln\"> </span><span class=\"pun\">(</span><span class=\"pln\">err</span><span class=\"pun\">,</span><span class=\"pln\"> response</span><span class=\"pun\">,</span><span class=\"pln\"> body</span><span class=\"pun\">)</span><span class=\"pln\"> </span><span class=\"pun\">-&gt;</span><span class=\"pln\"> console</span><span class=\"pun\">.</span><span class=\"pln\">log body</span></pre>", "type"=>"Text"}, {"label"=>"cURL", "html"=>"<pre class=\"prettyprint\"><span class=\"com\">#!/bin/sh </span><span class=\"pln\">\n\ncurl </span><span class=\"pun\">--</span><span class=\"pln\">header </span><span class=\"str\">\"X-App-Token: $1\"</span><span class=\"pln\"> </span><span class=\"str\">\"https://{env.domain}/resource/{?api_alias}.json?recall_id=94\"</span></pre>", "type"=>"Text"}], "type"=>"PagedContainer"}], "type"=>"Container"}, {"text"=>"Fields", "htmlClass"=>"big-title", "type"=>"Title"}, {"html"=>"The following fields are available on the {dataset.name} API.", "type"=>"Text"}, {"container"=>{"htmlClass"=>"field", "type"=>"Container"}, "repeaterType"=>"column", "children"=>[{"htmlClass"=>"field", "children"=>[{"htmlClass"=>"field-name", "html"=>"<h3>{column.fieldName}</h3>", "type"=>"Text"}, {"htmlClass"=>"meta", "html"=>"<strong>Human Name:</strong> {column.name}", "type"=>"Text"}, {"htmlClass"=>"meta", "html"=>"<strong>Type:</strong> <a href=\"#\"><code>{column.dataTypeName}</code></a>", "type"=>"Text"}, {"htmlClass"=>"description", "html"=>"{column.description ||}", "type"=>"Text"}, {"htmlClass"=>"filtering-options", "children"=>[{"htmlClass"=>"title", "html"=>"<h4>Examples</h4>", "type"=>"Text"}, {"htmlClass"=>"example {column.dataTypeName}", "children"=>[{"children"=>[{"html"=>"Retrieve all records with <code>{column.fieldName}</code> equal to <code>{column.cachedContents.largest}</code>:", "type"=>"Text"}, {"html"=>"<pre>GET <a class=\"exec\" href=\"https://live-docs.socrata.com/{env.domain}/inline/{api.dataset.resourceName}?{column.fieldName}={column.cachedContents.largest}\">https://{env.domain}/resource/{api.dataset.resourceName}.json?{column.fieldName}={column.cachedContents.largest}</a></pre>", "type"=>"Text"}], "ifValue"=>[{"negate"=>true, "key"=>"column.dataTypeName /text//"}], "type"=>"Container"}, {"children"=>[{"html"=>"Retrieve all records with <code>{column.fieldName}</code> equal to <code>{column.cachedContents.largest}</code>:", "type"=>"Text"}, {"html"=>"<pre>GET <a class=\"exec\" href=\"https://live-docs.socrata.com/{env.domain}/inline/{api.dataset.resourceName}?{column.fieldName}={column.cachedContents.largest}\">https://{env.domain}/resource/{api.dataset.resourceName}.json?{column.fieldName}={column.cachedContents.largest}</a></pre>", "type"=>"Text"}, {"html"=>"<p>Retrieve all records that occurred after <code>2012-08-10</code>:</p>", "type"=>"Text"}, {"html"=>"<pre>GET <a class=\"exec\" href=\"https://live-docs.socrata.com/{env.domain}/inline/{api.dataset.resourceName}?&#36;where={column.fieldName} > '2012-08-10'\">https://{env.domain}/resource/{api.dataset.resourceName}.json?&#36;where={column.fieldName} > '2012-08-10'</a></pre>", "type"=>"Text"}], "ifValue"=>[{"negate"=>true, "key"=>"column.dataTypeName /calendar_date//"}], "type"=>"Container"}, {"children"=>[{"html"=>"Retrieve all records with <code>{column.fieldName}</code> equal to <code>{column.cachedContents.largest}</code>:", "type"=>"Text"}, {"html"=>"<pre>GET <a class=\"exec\" href=\"https://live-docs.socrata.com/{env.domain}/inline/{api.dataset.resourceName}?{column.fieldName}={column.cachedContents.largest}\">https://{env.domain}/resource/{api.dataset.resourceName}.json?{column.fieldName}={column.cachedContents.largest}</a></pre>", "type"=>"Text"}, {"html"=>"<p>Retrieve all records that are greater than <code>{column.cachedContents.smallest}</code>:</p>", "type"=>"Text"}, {"html"=>"<pre>GET <a class=\"exec\" href=\"https://live-docs.socrata.com/{env.domain}/inline/{api.dataset.resourceName}?$where={column.fieldName} > {column.cachedContents.smallest}\">https://{env.domain}/resource/{api.dataset.resourceName}.json?&#36;where={column.fieldName} > {column.cachedContents.smallest}</a></pre>", "type"=>"Text"}], "ifValue"=>[{"negate"=>true, "key"=>"column.dataTypeName /number//"}], "type"=>"Container"}, {"children"=>[{"html"=>"Retrieve all records with <code>{column.fieldName}</code> equal to <code>{column.cachedContents.largest}</code>:", "type"=>"Text"}, {"html"=>"<pre>GET <a class=\"exec\" href=\"https://live-docs.socrata.com/{env.domain}/inline/{api.dataset.resourceName}?&#36;where={column.fieldName} = to_location({column.cachedContents.largest.latitude}, {column.cachedContents.largest.longitude})\">https://{env.domain}/resource/{api.dataset.resourceName}.json?&#36;where={column.fieldName} = to_location({column.cachedContents.largest.latitude}, {column.cachedContents.largest.longitude})</a></pre>", "type"=>"Text"}, {"html"=>"<p>Retrieve all records where <code>{column.fieldName}</code> is within 1 kilometer of Seattle, WA <code>(47.598177,-122.33448)</code>:</p>", "type"=>"Text"}, {"html"=>"<pre>https://{env.domain}/resource/{api.dataset.resourceName}.json?&#36;where=within_circle({column.fieldName}, 47.598177,-122.33448, 1000)</pre>", "type"=>"Text"}], "ifValue"=>[{"negate"=>true, "key"=>"column.dataTypeName /location//"}], "type"=>"Container"}, {"htmlClass"=>"docs-link", "html"=>"<a href=\"http://dev.socrata.com/docs/datatypes\#{column.dataTypeName}\">View more detailed documentation for the <code>{column.dataTypeName}</code> datatype &raquo;</a></p>", "type"=>"Text"}], "type"=>"Container"}], "type"=>"Container"}], "type"=>"Container"}], "type"=>"Repeater"}], "type"=>"Container"}], "type"=>"Container"}{"api"=>{"datasetResourceName"=>"{?api_alias}", "required"=>true, "type"=>"dataset"}}
10Developer Portal | Socrata API Foundry/developerspublished{"id"=>"api-foundry", "children"=>[{"id"=>"navbar", "html"=>"<span class=\"current\">API Catalog</span> <!--| <a href=\"/developers/blog\">Blog</a> | <a href=\"/developers/discuss\">Discuss</a> | <a href=\"/apps\">App Catalog</a>-->", "type"=>"Text"}, {"text"=>"API Catalog", "htmlClass"=>"page-title", "type"=>"Title"}, {"id"=>"api-catalog", "contextId"=>"apis", "children"=>[{"children"=>[{"id"=>"filterSidebar", "weight"=>20, "children"=>[{"type"=>"Search"}, {"columnFilter"=>{"multiSelect"=>false, "restrictedValues"=>true, "includeAuto"=>10, "column"=>"category", "forceValue"=>false, "selectAll"=>true, "sortAlphabetically"=>true}, "type"=>"InlineFilter"}], "type"=>"Container"}, {"id"=>"datasetSection", "weight"=>80, "children"=>[{"container"=>{"htmlClass"=>"api-listing", "type"=>"GridContainer"}, "children"=>[{"children"=>[{"weight"=>85, "children"=>[{"htmlClass"=>"name", "html"=>"<h2><a href=\"/developers/docs/{id}\">{name.description} &raquo;</a></h2>", "type"=>"Text"}, {"htmlClass"=>"meta", "html"=>"<strong>Category:</strong> {category || n/a}", "type"=>"Text"}, {"htmlClass"=>"meta", "html"=>"<strong>Keywords:</strong> {keywords || n/a}", "type"=>"Text"}, {"htmlClass"=>"description", "html"=>"{description || }", "type"=>"Text"}], "htmlClass"=>"api-details", "type"=>"Container"}], "htmlClass"=>"api", "type"=>"Container"}], "type"=>"Repeater"}], "type"=>"Container"}], "type"=>"HorizontalContainer"}], "type"=>"Container"}], "htmlClass"=>"catalog", "type"=>"Container"}{"apis"=>{"datasetResourceName"=>"datasets", "query"=>{"filterCondition"=>{"value"=>"CONTAINS", "children"=>[{"type"=>"column", "columnFieldName"=>"type"}, {"value"=>"API", "type"=>"literal"}], "type"=>"operator"}}, "type"=>"dataset"}}

About

George Javitz George Javitz

created May 13, 2013

updated Dec 04, 2013

View Full Page
Activity
Community Rating
Current value: 0.0 out of 5
Your Rating
Current value: out of 5
Raters
0
Visits
17
Downloads
7
Comments
0
Contributors
0
Meta
Category
(none)
Permissions
Public
Tags
Row Count
10
Licensing and Attribution
Data Provided By
(none)
Source Link
(none)
Permanent Links
Resource Name
pages
Row Identifier
Path

Filter

  • ;
  • ;
  • ;
  • ;
  • ;

Sort

  • ;
  • ;
  • ;
  • ;
  • ;
  • ;
  • ;
  • ;
  • ;

Search

Saved Views

No other views on this dataset

Sharing

This dataset is public

Publishing

See Preview