Skip to content

Instantly share code, notes, and snippets.

@Eduardodudu
Eduardodudu / reactable_css.r
Created May 30, 2022 18:55
[reactable bootstrap] #cssgrid #reactable
theme <- reactableTheme(
style = list(".dark-mode &" = list(color = "#fff", background = "#282a36")),
cellStyle = list(".dark-mode &" = list(borderColor = "rgba(255, 255, 255, 0.15)")),
headerStyle = list(".dark-mode &" = list(borderColor = "rgba(255, 255, 255, 0.15)")),
paginationStyle = list(".dark-mode &" = list(borderColor = "rgba(255, 255, 255, 0.15)")),
rowHighlightStyle = list(".dark-mode &" = list(background = "rgba(255, 255, 255, 0.04)")),
pageButtonHoverStyle = list(".dark-mode &" = list(background = "rgba(255, 255, 255, 0.08)")),
pageButtonActiveStyle = list(".dark-mode &" = list(background = "rgba(255, 255, 255, 0.1)"))
)
@Eduardodudu
Eduardodudu / Bibliometrix_bibtex.R
Last active May 25, 2022 16:04
[Bibliometrix Adjustment] allowing for bibtex files #bibtex #bibliometrix
# Running
library(bibliometrix)
source(file = "./Functions_Bibliometrix.R") #Bypass Bibliometrix
# reading bibtex file
data <- readFiles("data.bib")
# Converting the loaded files into a R bibliographic dataframe
M <- convert2df(data, dbsource = "isi", format = "bibtex")