library(rvest)
library(dplyr)
library(readr)
periodic_table <- read_html("https://en.wikipedia.org/wiki/List_of_chemical_elements") %>%
html_nodes("table") %>%
.[[1]] %>%
html_table(fill = TRUE) %>%
slice(-1)
write_csv(periodic_table, "periodic_table.csv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.