Skip to contents

Financial Data Analysis

Run the app

financialDataAnalysis()
Run the 'financialDataAnalysis' app
ui()
Main UI
server()
Main server

Home

The home page, with basic information about the application.

Modules

home_ui()
Introduction to the application

Input Data

Allows the user to input files and converts them to data frames.

Modules

Functions

input_data()
Convert a set of files into a data frame

Create scores

Allows the user to create, edit and delete score specifications.

Modules

create_scores_ui() create_scores_server()
Create score specifications
score_type_ui() score_type_server()
Input the type of a score.
universal_score_ui() universal_score_server()
Input the score arguments that are universal.
linear_score_ui() linear_score_server()
Input the arguments specific to a linear score.
peak_score_ui() peak_score_server()
Input the arguments specific to a peak score
custom_score_ui() custom_score_server()
Input custom coordinates to create a custom score
custom_row_ui() custom_row_server()
Input a set of coordinates for a custom score
exponential_score_ui() exponential_score_server()
Input the exponential transformation arguments
col_summary_ui() col_summary_server()
View a text summary of a column
editing_ui() editing_server()
Display which score the user is editing
scores_table_ui() scores_table_server()
View the table of scores
score_summary_ui() score_summary_server()
View a graphical summary of a score

Functions

create_score()
Create or edit a score specification
delete_scores()
Remove one or more score specifications
apply_scores()
Create a set of scores
score_final()
Calculate a final score
col_summary()
Generate a summary of a column
score_summary()
Generate a summary of a score

View Data

Allows the user to view, filter and sort their scored data.

Modules

view_data_ui() view_data_server()
Filter, sort and view scored data
create_filter_ui() create_filter_server()
Create a filter
filters_ui() filters_server()
Edit a set of numeric filters
filter_ui() filter_server()
Edit a single numeric filter
data_ui() data_server()
View a data frame.

Functions

add_filter()
Add a filter to a table of filters
edit_filter()
Edit a filter in a table of filters
remove_filter()
Remove a filter from a table of filters
apply_filters()
Apply a table of filters to a data frame.
sort_df()
Sort a data frame by one of its columns

Forecast Prices

Allows the user to search for and predict the price of a set of stocks.

Modules

forecast_price_ui() forecast_price_server()
Select and forecast stocks
search_bar_ui() search_bar_server()
Search and select a stock.
stock_summary_ui() stock_summary_server()
View a summary of a selected stock
predict_price_ui() predict_price_server()
Generate stock price predictions

Functions

search_stocks()
Search through stocks
stock_summary()
Create a summary of a stock
predict_price()
Predict the price of a stock over time
plot_predictions()
Plot price predictions

Plot data

Allows the user to create a variety of plots

Modules

plot_data_ui() plot_data_server()
Create a variety of plots
score_performance_ui() score_performance_server()
Input a column to generate a score performance plot
correlation_plot_ui() correlation_plot_server()
Decide whether to show text in a correlation heatmap plot
custom_plot_ui() custom_plot_server()
Input the arguments for a custom plot
line_graph_ui() line_graph_server() scatter_graph_ui() scatter_graph_server() histogram_ui() histogram_server() smooth_graph_ui() smooth_graph_server() area_graph_ui() area_graph_server() histogram_ui() histogram_server()
Input arguments for different custom plots
plot_ui() plot_server()
Create and display a plot

Functions

score_distributions()
Plot the spread of a set of scores
score_performance()
Compare a set of scores to a column
correlation_plot()
See the measure of correlation between each column in a data frame
custom_plot()
Create a customisable plot
print_plot()
Safely print a plot

Settings

Allows the user to specify a set of settings

Modules

settings_ui() settings_server()
Specify various site settings

Other functions

fDA_dependencies()
Dependencies
download_df()
Write a data frame to a file
favourite_stock()
Mark a stock as a 'favourite'
get_scores()
Get the created scores from a scored data frame.

Datasets

default_stock_data
A large table of stock data
daily_training_data monthly_training_data
Stock price training data
scores_init
A table of score specifications
filters_init
A table of filters

Models

The predictive models used to predict stock prices.

daily_prophet_model monthly_prophet_model
Predict the price of a stock over time
get_lightgbm_model()
Model the residuals of stock price predictions.