library(jsonlite)
library(usethis)
tmp = tempdir()
url="https://raw.githubusercontent.com/explosion/spaCy/5ca7dd0f9471967a06b989ff8ee331e6954ad17e/spacy/lang/es/lemma_lookup.json"
file = paste0(tmp,"/lemma_lookup.json")
download.file(url, destfile = file)
spacy_lemma_dictionary_es <- stack(fromJSON(file,
simplifyVector = TRUE,))
spacy_lemma_dictionary_es$ind <- as.character(spacy_lemma_dictionary_es$ind)
use_data(spacy_lemma_dictionary_es, internal = FALSE, overwrite = TRUE, compress = "xz")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.