Others in the series:
Here is some code for trelliscopejs
combined with scatterD3
.
# /// script | |
# requires-python = ">=3.12" | |
# dependencies = [ | |
# "numpy", | |
# "polars", | |
# ] | |
# /// | |
import numpy as np | |
import polars as pl |
longitude (X) | latitude (Y) | |
---|---|---|
1.4181709 | 43.5986207 | |
-1.63327 | 48.1183 | |
2.13457 | 48.6965 | |
2.07208 | 49.0393 | |
2.20355 | 48.7138 | |
6.1553804 | 45.9194127 | |
3.87893 | 43.6463 | |
6.21681 | 49.1011 | |
2.35259 | 48.8379 |
library(quanteda) | |
library(rainette) | |
library(scatterD3) | |
library(ggplot2) | |
## Classification sur segments | |
corpus <- corpus_subset(data_corpus_inaugural, Year > 1970) | |
corpus <- split_segments(corpus) | |
dtm <- dfm(corpus, remove = stopwords("en"), tolower = TRUE, remove_punct = TRUE) |
## Generate unique id for this table | |
tab_id <- paste0("mytab_", session$token) | |
output$table <- DT::renderDT({ | |
## Enable stateSave and configure callbacks to save and restore state | |
## to/from sessionStorage | |
options <- list( | |
stateSave = TRUE, |
library(tidyverse) | |
library(questionr) | |
## On recrée le tableau d'exemple | |
df <- tibble( | |
producteur = c("Bénévole", | |
"Rémunérée", | |
"Rémunérée, Bénévole", | |
"Bénévole, Rémunérée", | |
"Rémunérée") |
#Sys.setenv(DEBUGME = "crrri") | |
#library(debugme) | |
library(promises) | |
library(crrri) | |
library(purrr) | |
library(dplyr) | |
library(progress) | |
--- | |
title: "test" | |
date: "19 septembre 2017" | |
--- | |
```{r setup, include=FALSE} | |
knitr::opts_chunk$set(echo = TRUE) | |
library(knitr) | |
library(questionr) |
Others in the series:
Here is some code for trelliscopejs
combined with scatterD3
.
I hereby claim:
To claim this, I am signing this object:
license: gpl-3.0 |