Description Usage Arguments Value Examples
eq_select_data
selects a subset of the variables in the earthquakes
dataset needed for analysis and visualization. It selects the ID, DATE,
COUNTRY, LOCATION_NAME, LONGITUDE, LATITUDE, EQ_PRIMARY and TOTAL_DEATHS
variables.
1 |
df |
A data frame containing the earthquake data. |
A data frame containing the selected subset of earthquake data. If an error or warning occurs, a message will be printed to the console and the function will return NULL.
1 2 3 4 | ## Not run:
df <- eq_select_data(df)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.