Sample Table of Resources

This post illustrates the use of a sample table of resources that are listed on the page.

how-to
Author

Nathan Craig

Published

February 19, 2022

Modified

March 21, 2024

data_in <- tibble::tribble(
  ~Project, ~url, ~Type, ~Description,
  "Canvas & R", "https://n8craig.github.io/nmsu-grades/index.html", "Web Site", "Thoughts  and notes on usnig R with Canvas",
  "ICE Inspection Review", "https://n8craig.github.io/inspections/index.html", "Web Site", "An exploration of ICE facility inspection information"
) 
data_in %>%
  reactable(
    searchable = TRUE,
    pagination = FALSE,
    columns = list(
      Project = colDef(
        minWidth = 150,
        cell = function(value, index) {
          url_in <- data_in$url[index]
          htmltools::a(href = url_in, value)
        }
      ),
      url = colDef(show = FALSE),
      Type = colDef(minWidth = 115),
      Description = colDef(minWidth = 250)
    ),
    theme = reactableTheme()
  )
Warning: `bindFillRole()` only works on htmltools::tag() objects (e.g., div(),
p(), etc.), not objects of type 'shiny.tag.list'.

Citation

BibTeX citation:
@online{craig2022,
  author = {Craig, Nathan},
  title = {Sample {Table} of {Resources}},
  date = {2022-02-19},
  url = {https://ncraig.netlify.app/posts/2022-03-01-table-of-resources/index.html},
  langid = {en}
}
For attribution, please cite this work as:
Craig, Nathan. 2022. “Sample Table of Resources.” February 19, 2022. https://ncraig.netlify.app/posts/2022-03-01-table-of-resources/index.html.