Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://doi.org/10.5281/zenodo.594223
07 February 2025, 11:54:05 UTC
  • Code
  • Branches (0)
  • Releases (4)
  • Visits
    • Branches
    • Releases
      • 4
      • 4
      • 3
      • 2
      • 1
    • c501fcf
    • /
    • rubenarslan-formr.org-0797b20
    • /
    • README.md
    Raw File Download
    Permalinks

    To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
    Select below a type of object currently browsed in order to display its associated SWHID and permalink.

    • content
    • directory
    • snapshot
    • release
    origin badgecontent badge Iframe embedding
    swh:1:cnt:20b801943f34b1f1c62371aea1ffd06b19687c69
    origin badgedirectory badge Iframe embedding
    swh:1:dir:a4f1bf3ec890c395b3ff7526e731387c533a85bd
    origin badgesnapshot badge
    swh:1:snp:fc5be6ea36d914a465ae83272994afb6f8ba2d7d
    origin badgerelease badge
    swh:1:rel:bce81870630aa4105bba65651a8ea173973c44c0
    Citations

    This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
    Select below a type of object currently browsed in order to generate citations for them.

    • content
    • directory
    • snapshot
    • release
    Generate software citation in BibTex format (requires biblatex-software package)
    Generating citation ...
    Generate software citation in BibTex format (requires biblatex-software package)
    Generating citation ...
    Generate software citation in BibTex format (requires biblatex-software package)
    Generating citation ...
    Generate software citation in BibTex format (requires biblatex-software package)
    Generating citation ...
    README.md
    # formr survey framework
    ## Contributing
    See [Contributing](https://github.com/rubenarslan/formr.org/blob/master/CONTRIBUTING.md) if you want to help improve formr?
    
    ## Citation
    See [formr.org/public/about](https://formr.org/public/about) if you are publishing research conducted using formr.
    
    ## chain simple forms & surveys into long runs, use the power of R to generate pretty feedback and complex designs
    
    This is a framework that allows you to create simple and complex studies using items spreadsheets for the surveys and "runs" for chaining together various modules. 
    
    The creator and most users of this software work in personality and developmental psychology, but the framework can also be used for sociological panels, simple experiments or as part of an integrated toolkit.
    
    There are three main components: surveys, runs and the R package.
    
    ## Surveys
    #### ask questions, get data
    Surveys are simple or complicated forms and surveys used to gather information in a single session.
    
    There is a wide variety of items to choose from: text and number inputs, Likert scales, sliders, geolocation, date pickers, dropdowns and many more. They are geared towards power users, so instead of dragging and dropping elements till your fingers bleed, you upload item spreadsheets that can easily be re-used, combined and shared. The format is loosely based on the [XLSform standard](https://xlsform.org/).
    
    ## Runs
    #### control your study like a boombox
    Runs enable you to link surveys and chain them together. Using a number of boombox-themed control elements to control the participant's way through your study, you can design studies of limitless complexity. You can
    
    - manage access to and eligibility for a study:
    - use different pathways for different users:
    – send email invites and reminders:
    - implement delays/pauses:
    - add external modules:
    - loop surveys and thus enable diaries and experience-sampling studies:
    - give custom feedback, through OpenCPU's R API.
    - randomise participants into groups for e.g. A-B-testing or experiments
    
    The following designs and many more are possible:
    
    - simple one-shot surveys
    - complex one-shot surveys (using skipping logic, personalised text, complex feedback
    - surveys with eligibility limitations
    - diary studies including completely flexible automated email reminders
    - longitudinal studies (ie. wait 2 months after last participation or re-contact after they return from their exchange year). The items of later waves need not exist in final form at wave 1.
    - longitudinal social networks and other studies that require rating a variable number of things or persons
    
    
    ## R package
    #### accompanying R package
    
    Wherever you use R in formr you can also use the functions in its R package. If you want to use the package in a different environment, you'll need to install it using these two lines of code.
    
    	install.packages('formr', repos = c('https://rforms.r-universe.dev', 'https://cloud.r-project.org'))
    
    
    The package currently has the following feature sets
    
    - Connecting to formr, importing your data, correctly typing all variables, automatically aggregating scales.
    - Easily making feedback plots e.g. 
      `qplot_on_normal(0.8, "Extraversion")`
      The package also has a function to simulate possible data, so you can make feedback plots ahead of collecting data.
    - Some shorthand functions for frequently needed operations on the site:
      `first(cars); last(cars); current(cars); "formr." %contains% "mr."`
    	
    
    ## OpenCPU + R + Knitr + Markdown
    [OpenCPU](https://public.opencpu.org/pages/) is a way to safely use complex [R](http://www.r-project.org/) expressions on the web. We use it for all kinds of stuff.
    
    In surveys, pauses, emails and pages you can display text to the user. This text is easily formatted using [Markdown](http://daringfireball.net/projects/markdown/) a simple syntax that formats text nicely if you simply write like you would write a plain text email. Markdown can be freely mixed with HTML, so you can e.g. insert icons from the [Font Awesome](http://fontawesome.io/icons/) library using `<i class="fa fa-smile-o"></i>`.
    
    If you use knitr syntax, where Markdown can be used, the text will not just be parsed as Markdown (which is mostly static), but also be parsed (anew each time) by [knitr](http://yihui.name/knitr/). Knitr allows for mixing R syntax chunks and Markdown.  
    [R](http://www.r-project.org/) is a popular open-source statistical programming language, that you can use via [OpenCPU](https://www.opencpu.org/), a RESTful interface to the language that deals with the problem that R was not meant to be used as part of web apps and is insecure. R data frames with the same names as the surveys they derive from will be available in this knitr call, they contain all data that the current user has filled out so far.  
    Combined with norm data etc. you can tailor feedback to the user's input, e.g. show where the user lies on the bell curve etc.
    
    ## Installation
    
    If you want to test formr or contribute to its development, follow our [instructions](https://github.com/rubenarslan/formr.org/blob/master/INSTALLATION.md).
    
    The setup instructions are not suitable for production, i.e. running a secure formr installation on the public web.
    
    #### Credit
    See [formr.org/about](https://formr.org/about) for funding and contact info.
    
    See [composer.json](https://github.com/rubenarslan/formr.org/blob/master/composer.json) for the PHP components we use and
    [bower.json](https://github.com/rubenarslan/formr.org/blob/master/webroot/assets/bower.json) for the Javascript and CSS components we use.

    back to top

    Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
    The source code of Software Heritage itself is available on our development forge.
    The source code files archived by Software Heritage are available under their own copyright and licenses.
    Terms of use: Archive access, API— Contact— JavaScript license information— Web API