Description Usage Arguments Value Examples
View source: R/earthquake_proj.R
Reads, tidies and returns earthquake data downloadedfrom the US National Centers for Environmental Information: https://www.ngdc.noaa.gov/hazel/view/hazards/earthquake/search. Longitude and latitude fields are read in automatically as numeric data types using the readr::read_delim function and do not need to be specified.
1 | eq_clean_data(filename)
|
filename |
A character string giving the path and name of the delimited file to be read in e.g."data/earthquakes.tsv" |
Output will be a data.frame object.
1 2 3 4 | ## Not run:
eq_clean_data("data/earthquakes.tsv")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.