Skip to content

chris-toph-t/rightwatching-shiny-app

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
 
 
 
 
dev
 
 
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

rightwatching

The goal of rightwatching is to help small watchdogs keeping track of developments in right-wing violence.

Using as Docker app

Rightwatching is a dockerized Shiny app. For a more complete documentation on how to deploy or how to re-create individual pieces of analysis, refer to our docs here.

The Shiny app depends on RData files containing the data of far-right incidents and other external data. To create these RData files:

  • Clone and change into the data-raw directory. Build the container with docker build . -t rightwatching-get-data.
  • This container would run on a docker host periodically and obtain incidents of far right violence. Currently it scrapes incidents from three different sources.
  • It runs through a sequence of steps according to the data-raw directory (prepare.R). All data files will be saved in the data directory.

The Shiny app expects the same variables as in the RData environment. Once you have these, launch the Shiny app:

  • Change into this directory and build the image with docker build . -t rightwatching-shiny-app. This will take a long time at first run.
  • This container does not need to be run manually, it should be called from shinyproxy (You must specify the container in application.yml of shinyproxy)
  • For testing, it an be run manually. It will expose the Shiny app on port 3838. Use docker logs name_of_container for debugging
    • run manually like this: docker run -p 3838:3838 -v /path/to/this/diectory/data/:/srv/data/ -v //path/to/this/diectory/data-raw/:/srv/prepare/ rightwatching-shiny-app

Funding

Sponsored through the Prototype Fund by the German Federal Ministry of Education and Research from September 2020 to February 2021.

About

A shiny app to visualize far right violence together with public statistical data

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published