https://github.com/carlganz/shinybarcode

Wrapper for JsBarcode

https://github.com/carlganz/shinybarcode

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.8%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

Wrapper for JsBarcode

Basic Info
  • Host: GitHub
  • Owner: carlganz
  • License: mit
  • Language: R
  • Default Branch: master
  • Size: 256 KB
Statistics
  • Stars: 3
  • Watchers: 2
  • Forks: 3
  • Open Issues: 0
  • Releases: 0
Created about 9 years ago · Last pushed over 8 years ago
Metadata Files
Readme License

README.Rmd

---
output: github_document
---



[![Travis-CI Build Status](https://travis-ci.org/CannaData/shinyBarcode.svg?branch=master)](https://travis-ci.org/CannaData/shinyBarcode)[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/CannaData/shinyBarcode?branch=master&svg=true)](https://ci.appveyor.com/project/CannaData/shinyBarcode)

```{r, echo = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)
```

# shinyBarcode

The goal of `shinyBarcode` is to wrap the [JsBarcode](https://github.com/lindell/JsBarcode) library, written by Johan Lindell, for R. This enables rendering of barcodes in R Markdown and Shiny. This enables generating receipts in markdown, which can compiled to HTML with `rmarkdown`, and then printed using Google Cloud Print using [`googlePrintr`](https://github.com/CannaData/googlePrintr).

## Installation

You can install CannaBarcode from github with:

```{r gh-installation, eval = FALSE}
# install.packages("devtools")
devtools::install_github("CannaData/shinyBarcode")
```

## Example

### Shiny

```{R, eval = FALSE}
library(shiny)
library(CannaBarcode)

ui <- fluidPage(
  # must include javascript dependencies
  CannaBarcode::includeJsBarcode(cdn = TRUE),
  numericInput("value", "Input a positive integer", 8675309, 0, 1000000),
  CannaBarcode::barcodeOutput("barcode")
)

server <- function(input, output, session) {
  output$barcode <- CannaBarcode::renderBarcode(
    input$value
  )
}

shinyApp(ui = ui, server = server)
```

Owner

  • Name: Carl Ganz
  • Login: carlganz
  • Kind: user
  • Location: Los Angeles

Some kind of programer

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 3
  • Total pull requests: 0
  • Average time to close issues: 1 day
  • Average time to close pull requests: N/A
  • Total issue authors: 2
  • Total pull request authors: 0
  • Average comments per issue: 1.33
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • carlganz (2)
  • omarbenites (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels