Isotope layout library straight from R to render Data Frames as interactive galleries. It handles sortings, filtering and custom item html templates. Uses basscss.
If you provide filterCols you can select which columns to use as filters.
If you provide sortCols you can select which columns to use to sort the items.
You can also provide custom html templates to render the items.
```{r, message=FALSE}
library(isotope) d <- read.csv(system.file("data/candidatos.csv",package="isotope"), stringsAsFactors = FALSE)
filterCols <- c("genero","profesiones", "niveldeestudios","talante", "pragmaticoideologico","visionpais") sortCols <- c("nombre","apoyosenadores","apoyorepresentantes")
tpl <- '
Profesión: {{profesiones}}, Género: {{genero}},Nivel de estudios: {{niveldeestudios}}
```
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.