Code Monkey home page Code Monkey logo

conspirator's Introduction

Conspirator

conspirator is a dumb little r package made up by Mathew during a conversation with Matt Williams, Stephen Hill, and Mat Marques about what is and is not a conspiracy.

It’s generally agreed that conspiracy theories must have 3 properties:

  1. Multiple actors plotting together (if it’s just one person, it’s not a conspiracy)

  2. Secrecy (if there’s open data, it’s not a conspiracy)

  3. Malevolence/harmful goals (if you’re plotting to buy mum a present, it’s not a conspiracy)

conspirator uses these parameters to generate a random conspiracy theory for you.

Installation

conspirator is not on CRAN, install from github via:

remotes::install_github("Lingtax/conspirator")

Use

Generate a conspiracy theory using the conspire function. By default, the function will return a conspiracy from its inbuilt dictionaries - at the time of writing, this should generate 9333 unique conspiracy theories.

library(conspirator)
conspire()
#> Big Oil is covertly building an earthquake machine.

You can now also provide the conspire function with lists or character vectors to control the outputs either partially or in full.

agents <- list("Bin chickens are", "Brush-tailed possums are")
adverbs <- c("loudly", "brazenly")
actions <- "tipping over my bird bath."

conspire(agent = agents)
#> Brush-tailed possums are deviously making flimsier shoelaces.
conspire(agent = agents, adverb = adverbs, action = actions)
#> Brush-tailed possums are loudly tipping over my bird bath.

Also, inspired by Tim Graham, the package now makes bios for twitter bot accounts, using the bot_maker() function

bot_maker()
#> [1] "live, life love and then play ... a good interesting individual which is constantly beaming and having fun. Explorer and energetic personality."

Code of Conduct

Please note that the conspirator project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms. In particular, constributors are encouraged to be mindful of perpetuating stigmatising beliefs in contributing to the conspiracy dictionaries.

conspirator's People

Contributors

lingtax avatar tuatarasrhill avatar

Stargazers

Jesus M. Castagnetto avatar

Watchers

James Cloos avatar  avatar

Forkers

tuatarasrhill

conspirator's Issues

Give output options

Current conventions output a printed outcome as to allow quotes to be formatted cleanly. Add an option to just return the pasted vector.

allow custom dictionaries

The limits of the applicability of the function is pretty meagre, but in principle this could be used to create de novo conspiracy theories assuming the dictionaries weren't deliberately dumb.

I'm reluctant to put "real-world" ideas into the core dictionaries so as to not have the function generate stigmatising / prejudiced conspiracy theories by default, but if we make the function take lists/vectors of ideas as arguments, then users could provide those as wanted.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.