okcupiddata | R Package of Cleaned OkCupid Data | Data Visualization library

 by   rudeboybert R Version: Current License: No License

kandi X-RAY | okcupiddata Summary

kandi X-RAY | okcupiddata Summary

okcupiddata is a R library typically used in Analytics, Data Visualization applications. okcupiddata has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

R package of cleaned profile data from the 2021 revision of OkCupid Profile Data for Introductory Statistics and Data Science Courses (Journal of Statistics Education 2015): 59,946 OkCupid users who were living within 25 miles of San Francisco, had active profiles during a period in the 2010s, and had at least one picture in their profile.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              okcupiddata has a low active ecosystem.
              It has 6 star(s) with 1 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 1 open issues and 0 have been closed. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of okcupiddata is current.

            kandi-Quality Quality

              okcupiddata has no bugs reported.

            kandi-Security Security

              okcupiddata has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              okcupiddata does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              okcupiddata releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of okcupiddata
            Get all kandi verified functions for this library.

            okcupiddata Key Features

            No Key Features are available at this moment for okcupiddata.

            okcupiddata Examples and Code Snippets

            No Code Snippets are available at this moment for okcupiddata.

            Community Discussions

            QUESTION

            Are there any specific resources to use for creating a shiny app that uploads a file and plots a selected column?
            Asked 2021-Jul-25 at 03:51
            library(shiny)
            library(plotly)
            library(ggplot2)
            library(tidyverse)
            library(DT)
            
            if (!require("okcupiddata")) install.packages("okcupiddata")
            library(okcupiddata)
            D=sample_n(profiles, 5000)
            write.csv(D, file="~/Downloads/OKCupid.csv", row.names = FALSE)
            
            ui <- fluidPage(
                
                # Application title
                titlePanel(title = "Uploading Your File"),
                
                sidebarLayout(
                    sidebarPanel(
                        width = 2,
                        ## Create a file upload control
                        fileInput(inputId = "file",
                                  label = "Choose Your File:",
                                  accept = c(".txt", ".csv")),
                        ## Use html tag hr (horizontal rule) to make a horizontal separator
                        hr(),
                        ## Make a h5 heading
                        h5("Max file size is 2M"),
                        ## Create a checkbox that can be used to specify logical values.
                        checkboxInput(inputId = "header",
                                      label = "Header",
                                      value = TRUE),
                        ## Create a set of radio buttons used to select an item from a list.
                        radioButtons(inputId = "sep",
                                     label = "Separator",
                                     choices = c(Comma = ",", Space = " ", Tab = "\t")),
                        
                        uiOutput("variable")
                    ),
                    mainPanel(
                        tabsetPanel(
                            tabPanel("Table", tableOutput("table")),
                            tabPanel("Summary", verbatimTextOutput("summary")),
                            tabPanel("Plot", plotlyOutput("plot", height = "700px"))
                        )
                        
                    )
                )
            )
            server <- function(input, output, session) {
                
                myData <- reactive({ 
                    f = input$file
                    if (is.null(f)){
                        return(NULL)
                        
                    } else {
                        read.table(f$datapath, header = input$header, sep = input$sep)
                        
                    }
                })
            
                #A. Create a drop-down menu to choose a variable
                output$variable <- renderUI({
                    
                    })
                #B. Display the whole table
                output$table <- renderTable({
            
                })
                
                #C. Summarize the whole table
                output$summary <- renderPrint({
                })
                
                #D. Plot only the selected variable.
                # The code needs to handle both a categorical and numeric variables
                output$plot <- renderPlotly({
                  
            })
            }
            shinyApp(ui = ui, server = server) 
            
            ...

            ANSWER

            Answered 2021-Jul-25 at 03:51

            The answer completes A, B, C and D. You haven't really shared what kind of plot you need but based on class of the column selected this displays the plot.

            Source https://stackoverflow.com/questions/68513992

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install okcupiddata

            Get the released version from CRAN:.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/rudeboybert/okcupiddata.git

          • CLI

            gh repo clone rudeboybert/okcupiddata

          • sshUrl

            git@github.com:rudeboybert/okcupiddata.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link