Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am trying to create an R application that searches the web for financial data of a company at a given year (income sheet, balance

I am trying to create an R application that searches the web for financial data of a company at a given year (income sheet, balance sheet, and cash flow statement)

I have found a library that primarily has this functionality. Methods include

getIncome < - (Symbol , Year)

getBalance < - (Symbol, Year)

This is my code for the UI:

library(shiny) library(finreportr)

shinyUI(fluidPage(titlePanel(h1( "Income/Balance sheets finder" )),

sidebarLayout( sidebarPanel( #This is the search area for inputting the name of the company textInput("searchInput", "Enter Name of company (StockSymbol)", symbol = ""), actionButton("searchBtn", "Search"), #options for chossing the type of the sheet radioButtons("sheetTypeBtn", "Choose the type of sheet:", list("Balance", "Income"),""), #slider to choose the date looking for sliderInput("datePicker","Select the date Desired: ",min = 2009,max = 2019,value = )), #this is the area where the outtput will be displayed mainPanel( ("Docs are viewed here!"), textOutput("searchOutput") ))))

This is my code for the server

library(shiny)

shinyServer( function(input,output){ #outputs output$searchOutput <- renderText(input$searchInput) output$sheetTypeOutput <- renderText(input$sheetTypeBtn) output$datePickedOutput <- renderText(input$datePicker) } )

I need help implementing the methods with the UI. Thank you

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And SQL For DB2

Authors: James Cooper

1st Edition

1583473572, 978-1583473573

More Books

Students also viewed these Databases questions

Question

Draw the shear and moment diagrams for the beam. 8 kip/ft B 8 ft -

Answered: 1 week ago