Summarise a stock by showing the data corresponding to the stock.
Arguments
- df
The stock data. See default_stock_data.
- x
The row number of the stock.
Examples
stock_summary(default_stock_data, 1)
#> # A tibble: 1 × 100
#> symbol company_…¹ excha…² indus…³ website descr…⁴ ceo secur…⁵ sector prima…⁶
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <dbl>
#> 1 MMM 3M Co. NEW YO… "Offic… www.3m… "3M Co… Mich… 3M Co. Manag… 3841
#> # … with 90 more variables: employees <dbl>, address <chr>, state <chr>,
#> # city <chr>, ZIP <chr>, country <chr>, phone <dbl>,
#> # capital_expenditures <dbl>, cash_change <dbl>, cash_flow <dbl>,
#> # cash_flow_financing <dbl>, changes_in_inventories <dbl>,
#> # changes_in_receivables <dbl>, currency <chr>, depreciation <dbl>,
#> # filing_type <chr>, fiscal_date <dbl>, net_borrowings <dbl>,
#> # net_income <dbl>, report_date <dbl>, total_investing_cash_flows <dbl>, …