Menu

Developers Italia We develop public services, together

Follow us

RShortener stable

vai_a

An easy R + Shiny tool to make shorteners for your organization

Vitality:

61%

i

The vitality index, as explicited in the guidelines for the acquisition and reuse of software for Italian PA, is calculated according to the following four main categories:

  • Code activity: the daily number of commits and merges;
  • Release history: the daily number of releases;
  • User community: the number of unique authors;
  • Longevity: the age of the project.

The ranges of every measure can be found in the vitality-ranges.yml file.

Development status: stable


Software functionality

Building shorteners with Google sheets

CATEGORIES
  • content management
  • detailed information

    RShortener stable

    vai_a

    Last release 2021-07-21 (stable)

    Type of maintenance community

    Technical contact

    Paolo Veronesi

    Extended description

    A simple solution written in R and deployed as a Shiny application to make url shorteners for your organization. The only thing you need to do is to create a Google Sheet and edit it as in the provided example, then deploy the app and run it with your Shiny server. A simple solution written in R and deployed as a Shiny application to make url shorteners for your organizations. The only thing to do is to create a Google Sheet and edit it as the provided example at: https://docs.google.com/spreadsheets/d/1DFNJmrY92HQb7hFM-7ONC0tVvu0nRIfP-jPodO_hxpc Edit app.R in order to point to the new Google Sheet by replacing this line: getURL( “https://docs.google.com/spreadsheets/d/1DFNJmrY92HQb7hFM-7ONC0tVvu0nRIfP-jPodO_hxpc/gviz/tq?tqx=out:csv&sheet=Shortener”, ssl.verifypeer = FALSE ) with the address of your Google Sheet (you should remove ssl.verifypeer=FALSE if your Shiny server allows secure connections). Then load your app by adding a question mark (‘?’) and a short name at the end of the url like in this example. https://arpae.shinyapps.io/vai_a/?Arpa Obviously, the shortener works better if you deploy the app at an easy (and short) subdomain in your organizations.

    back to contents