'+ ''+store[ref].title+''+ '
'+ ' '+ ''+store[ref].excerpt+'
'+ 'var idx = lunr(function () { this.field('title', {boost: 10}) this.field('excerpt') this.field('categories') this.field('tags') this.ref('id') }); idx.add({ title: "Data cleaning", excerpt: "Common Tasks Data class Creating dataframes Updating column names Combining columns Transposing, merging, long/wide Rownames/column names Concatenating Creating lists Subsetting...", categories: [], tags: [], id: 0 }); idx.add({ title: "RShiny", excerpt: "\n", categories: [], tags: [], id: 1 }); idx.add({ title: "Sentence embeddings", excerpt: "Introduction Sentence similarity and embeddings are an extension of character-level and word-level embeddings that are common building blocks of downstream...", categories: [], tags: [], id: 2 }); idx.add({ title: "Interactive dashboard with d3.js", excerpt: "\n", categories: [], tags: [], id: 3 }); idx.add({ title: "Static Data Visualization", excerpt: "Code Show All Code Hide All Code science_giving <- read.csv("science_federal_giving.csv") attach(science_giving) library(dplyr) library(magrittr) library(tidyr) x <- science_giving %>% group_by(cleanedoccupation, cycle,...", categories: [], tags: [], id: 4 }); idx.add({ title: "Demographic identifier", excerpt: "Overview Ever wondered how to engage more diversity in communications? This toolkit identifies gender, age and ethnic communities on Twitter...", categories: [], tags: [], id: 5 }); idx.add({ title: "Network analysis in ArcPython", excerpt: "Abstract Transportation distance is a primary indicator of the population served by a given location. For instance, most people would...", categories: [], tags: [], id: 6 }); idx.add({ title: "Predictive machine learning", excerpt: "Overview The dataset comprises 30,000 power plants by country, capacity, latitude and longitude, fuel source, and year constructed. About 10,000...", categories: [], tags: [], id: 7 }); idx.add({ title: "Interactive directions", excerpt: "\n", categories: [], tags: [], id: 8 }); idx.add({ title: "Time series kernal smoothing", excerpt: "Multismooth is an R package for easily calculating time series multivariate kernal smoothing. It contains functionality for automatically selecting bandwidth...", categories: [], tags: [], id: 9 }); idx.add({ title: "Economic Impacts of Air Pollution", excerpt: "A team of Data-Driven Yale researchers received an award in the inaugural UN Data for Climate Action Challenge, for the...", categories: [], tags: [], id: 10 }); idx.add({ title: "Advanced regression modeling", excerpt: "Modeling of bear weight based upon bodily measurements using mixed effects and generalized least squares modeling accounting for covariance-variance structures...", categories: [], tags: [], id: 11 }); idx.add({ title: "Automating policy analysis", excerpt: "Overview retrieveR is a system for automating information retrieval from a corpus of documents. Installation instructions RetrieveR can be installed...", categories: [], tags: [], id: 12 }); idx.add({ title: "Multi-task text classification", excerpt: "Overview This architecture predicts the multilabel classification of sentences by leveraging context-specific information construed from their source documents. By employing...", categories: [], tags: [], id: 13 }); idx.add({ title: "Interactive web mapping", excerpt: "\n", categories: [], tags: [], id: 14 }); idx.add({ title: "Layout: Author Override", excerpt: "Sites that may have content authored from various individuals can be accommodated by using data files. To attribute an author...", categories: ["Uncategorized"], tags: [], id: 15 }); console.log( jQuery.type(idx) ); var store = [ { "title": "Data cleaning", "url": "https://johnbrandt.org/blog/data-cleaning/", "excerpt": "Common Tasks Data class Creating dataframes Updating column names Combining columns Transposing, merging, long/wide Rownames/column names Concatenating Creating lists Subsetting...", "teaser": "https://johnbrandt.org/assets/images/data-cleaning.png" }, { "title": "RShiny", "url": "https://johnbrandt.org/blog/rshiny/", "excerpt": "\n", "teaser": "https://johnbrandt.org/assets/images/rshiny-th.png" }, { "title": "Sentence embeddings", "url": "https://johnbrandt.org/blog/sentence-similarity/", "excerpt": "Introduction Sentence similarity and embeddings are an extension of character-level and word-level embeddings that are common building blocks of downstream...", "teaser": "https://johnbrandt.org/assets/images/blog-emb/quickthoughts-1.png" }, { "title": "Interactive dashboard with d3.js", "url": "https://johnbrandt.org/portfolio/d3/", "excerpt": "\n", "teaser": "https://johnbrandt.org/assets/images/d3-dashboard.png" }, { "title": "Static Data Visualization", "url": "https://johnbrandt.org/portfolio/data-visualization/", "excerpt": "Code Show All Code Hide All Code science_giving <- read.csv("science_federal_giving.csv") attach(science_giving) library(dplyr) library(magrittr) library(tidyr) x <- science_giving %>% group_by(cleanedoccupation, cycle,...", "teaser": "https://johnbrandt.org/assets/images/visualization-th.png" }, { "title": "Demographic identifier", "url": "https://johnbrandt.org/portfolio/demographic-identifier/", "excerpt": "Overview Ever wondered how to engage more diversity in communications? This toolkit identifies gender, age and ethnic communities on Twitter...", "teaser": "https://johnbrandt.org/assets/images/model-structure.png" }, { "title": "Network analysis in ArcPython", "url": "https://johnbrandt.org/portfolio/demography-based-service-area/", "excerpt": "Abstract Transportation distance is a primary indicator of the population served by a given location. For instance, most people would...", "teaser": "https://johnbrandt.org/assets/images/network-2.png" }, { "title": "Predictive machine learning", "url": "https://johnbrandt.org/portfolio/ensemble/", "excerpt": "Overview The dataset comprises 30,000 power plants by country, capacity, latitude and longitude, fuel source, and year constructed. About 10,000...", "teaser": "https://johnbrandt.org/assets/images/ml-th.png" }, { "title": "Interactive directions", "url": "https://johnbrandt.org/portfolio/interactive-web-mapping/", "excerpt": "\n", "teaser": "https://johnbrandt.org/assets/images/uesi-th.png" }, { "title": "Time series kernal smoothing", "url": "https://johnbrandt.org/portfolio/multismooth/", "excerpt": "Multismooth is an R package for easily calculating time series multivariate kernal smoothing. It contains functionality for automatically selecting bandwidth...", "teaser": "https://johnbrandt.org/assets/images/multismooth-th.png" }, { "title": "Economic Impacts of Air Pollution", "url": "https://johnbrandt.org/portfolio/r-big-data-modeling/", "excerpt": "A team of Data-Driven Yale researchers received an award in the inaugural UN Data for Climate Action Challenge, for the...", "teaser": "https://johnbrandt.org/assets/images/d4ca-th.png" }, { "title": "Advanced regression modeling", "url": "https://johnbrandt.org/portfolio/r-modeling/", "excerpt": "Modeling of bear weight based upon bodily measurements using mixed effects and generalized least squares modeling accounting for covariance-variance structures...", "teaser": "https://johnbrandt.org/assets/images/r-modeling-1-th.png" }, { "title": "Automating policy analysis", "url": "https://johnbrandt.org/portfolio/retrieveR/", "excerpt": "Overview retrieveR is a system for automating information retrieval from a corpus of documents. Installation instructions RetrieveR can be installed...", "teaser": "https://johnbrandt.org/assets/images/retriever-th.png" }, { "title": "Multi-task text classification", "url": "https://johnbrandt.org/portfolio/text-classification/", "excerpt": "Overview This architecture predicts the multilabel classification of sentences by leveraging context-specific information construed from their source documents. By employing...", "teaser": "https://johnbrandt.org/assets/images/model-formula.png" }, { "title": "Interactive web mapping", "url": "https://johnbrandt.org/portfolio/uesi/", "excerpt": "\n", "teaser": "https://johnbrandt.org/assets/images/interactive-mapping-th.png" }, { "title": "Layout: Author Override", "url": "https://johnbrandt.org/uncategorized/about-me/", "excerpt": "Sites that may have content authored from various individuals can be accommodated by using data files. To attribute an author...", "teaser": null } ] $(document).ready(function() { $('input#search').on('keyup', function () { var resultdiv = $('#results'); var query = $(this).val(); var result = idx.search(query); resultdiv.empty(); resultdiv.prepend('
'+result.length+' Result(s) found
'); for (var item in result) { var ref = result[item].ref; if(store[ref].teaser){ var searchitem = ''+store[ref].excerpt+'
'+ ''+store[ref].excerpt+'
'+ '