Now that we have acquired our stock data, let's use a couple of commands to find out what fields our data contains and get some useful information about the values contained in these fields.
The following steps will walk you through a quick summarization of the data:
Take a look at the fields you imported using the following command:
> head(finviz)
This command will show you the first six rows of your data, as shown in the following snippet, so that you can see what fields are in your data and also examples of possible values for the fields. In this example, we can also see that there is some missing data, identified by
NA
:No. Ticker Company Sector 1 1 A Agilent Technologies Inc. Healthcare 2 2 AA Alcoa, Inc. Basic Materials 3 3 AADR WCM/BNY Mellon Focused...