Description Usage Arguments Details Value Examples
Correct the cases with LATITUDE is NA and LONGITUDE is not NA.
1 | fix_na_latitude(dff)
|
dff |
A dataframe containing NOAA Earthquake data |
Information about those earthquakes was found in the next documents (sites):
A date frame (with those cases corrected)
1 2 3 4 5 6 | dfnew <- load_data()
dfnew <- dplyr::mutate(dfnew, LATITUDE=as.numeric(LATITUDE))
dfnew <- dplyr::mutate(dfnew, LONGITUDE=as.numeric(LONGITUDE))
dfnew <- dplyr::mutate(dfnew, EQ_PRIMARY=as.numeric(EQ_PRIMARY))
dfnew <- dplyr::mutate(dfnew, DEATHS=as.numeric(DEATHS))
dfnew <- fix_na_latitude(dfnew)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.