Results Section One

This page includes a bunch of example code.
R geospatial app

{css, echo=FALSE} /* this chunnk of code centers all of the headings */ h1, h2, h3 { text-align: center; }

Examples Page

If you want to add in an image on an Rmd file, use this link here. It ends up being a little tricky, but as long as you have created a folder to insert your images, you can just use some markdown code or html to insert images in the format you want.

Centering images

Placing images side-by-side

Embedding Shiny Apps

Embedding R code

{r, warning=FALSE, message=FALSE, echo=FALSE} library(collapsibleTree) library(tidyverse) OSS <- data.frame( Sector = c( “Academic”, “Academic”,“Academic”, “Academic”, “Academic”, “Academic”,“Academic”,“Academic”,“Academic”,“Academic”,“Academic”,“Academic”, “Academic”,“Academic”,“Academic”,“Academic”,“Academic”,“Academic”,“Academic”,

    "Business","Business","Business","Business","Business", "Business", "Business", 
    "Business", "Business", "Business","Business","Business", "Business",
    
    "Government", "Government","Government", "Government","Government","Government",
    "Government", "Government", "Government","Government", "Government", "Government",
    
    "International","International","International"
),
DataSource = c(
  #academic
    "github","github", "github","github","github",
    "orcid", 
    "hipolabs", "hipolabs","hipolabs",
    "NCSES","NCSES", "NCSES", "NCSES","NCSES", "NCSES", "NCSES","NCSES", "NCSES","NCSES",
    
  #business
  "github","github", 
  "Enterprise-Driven OSS", "Enterprise-Driven OSS",  
  "forbes",  "forbes", "forbes", 
  "Global Legal Entity Identifier Foundation (GLEIF)", 
  "Data Hub", "Data Hub", "Data Hub", 
  "2020 US Business Database",
  
#gov  
    "github","github", "System for Award Management (SAM)", "System for Award Management (SAM)",
"System for Award Management (SAM)","us gov","us gov","us gov","us gov","us gov","us gov", "code gov", "crowdsourced",
 
 #international
   "github","github", "mindmap"
),
SubData = c(
  #academic
    "contributor","contributor","contributor","contributor","commits", 
    "orcid", 
    "hipolabs", "hipolabs","hipolabs",
    "Survey of Federal Science and Engineering Support 2018", 
    "Survey of Federal Science and Engineering Support 2018", "Survey of Federal Science and Engineering Support 2018", 
    "Survey of Federal Science and Engineering Support 2018", "Higher Education Research and Development Survey 2018", 
    "Higher Education Research and Development Survey 2018", "Higher Education Research and Development Survey 2018", 
    "Higher Education Research and Development Survey 2018", "Higher Education Research and Development Survey 2018", 
    "Higher Education Research and Development Survey 2018", 
    
  #business
    "contributor", "commits", 
  "cohort project details", "enterprise project",
  "Fortune's Annual Ranking of Companies 2018 (US 1000)", 
  "Fortune's Annual Ranking of Companies 2019 (US 1000)", 
  "Fortune's Annual Ranking of Companies 2020 (Global 2000)", 
  "GLEIF", 
  "email domains",  "email domains", "email domains", 
  "2020 US Business Database",
    
  #gov
    "contributor", "commits", 
    "System for Award Management (SAM)","System for Award Management (SAM)",
  "System for Award Management (SAM)","Federally Funded R&D Centers", "Federally Funded R&D Centers", 
    "A-Z Index","A-Z Index", "A-Z Index","A-Z Index",
    "code gov", "crowdsourced", 

  #international    
    "contributor", "commits", "mindmap"
),
Variables = c(
    "login", "email","organization","company","commits",
    "orcid", 
    "institution",
    "country",
    "domains",
    "institution", "rank","all federal obligations" , "R&D", "institution", "rank", 
    "R&D expenditure", "federal gov fund", "state local gov fund", "institution funds",
    
    "contributor", "commits", 
    "cohort project details", "enterprise project", 
    "Fortune's Annual Ranking of Companies 2018 (US 1000)", "Fortune's Annual Ranking of Companies 2019 (US 1000)", "Fortune's Annual Ranking of Companies 2020 (Global 2000)", 
    "country", 
    "domain", "type", "organization", "2020 US Business Database",
    
    "contributor", "commits",  "parent","fhorgtype", "fhorgname", "ffrdc name", "agency", "agency", "gov branch", "parent agency", "parent agency parent", "code gov", "crowdsourced", 
    
    "contributor", "commits", "mindmap"
)

)

Collapsible Tree

collapsibleTree(OSS, c(“Sector”, “DataSource”, “SubData”, “Variables”), collapsed = T, fill =“#E57200” )