Description Usage Arguments Value Note Examples
This is a function which reads the NOAA earthquake data from a file into a dataframe and converts it into a tbl_df object
1 | eq_data_read(filename)
|
filename |
A character string which is the name of the file with the NOAA earthquake date |
This function returns the earthquake data in a tbl_df object
If the filename does not exist, the function stops with an error message.
1 2 3 4 5 | ## Not run:
filename<-system.file("extdata","earthquakes_data.txt.gz",package="earthquakesViz")
eq_data_read(filename)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.