Description Usage Arguments Value Examples
View source: R/ingest_el_nino.R
ingest_ENSO
ingests data from the NOAA Earth System Research
Laboratory Physical Sciences Division Mulivariate El Nino Southern
Oscillation Index. https://www.esrl.noaa.gov/psd/enso/mei/index.html
All ingest functions use the source file name as an identifying
column to track provenance and relate data and metadata read from files.
1 2 3 4 5 | ingest_ENSO(
input.source = "http://www.esrl.noaa.gov/psd/enso/mei/table.html",
end.year = NULL,
export.header = TRUE
)
|
input.source |
Character indicating the URI to the HTML representation of the data. |
end.year |
Four digit integer indicating the last year of data wanted. |
export.header |
A logical indicating if header information is written to a separate data frame. |
A data frame. If export.header = TRUE a temporary file is created for
the header data. See ingest_header
for more information.
1 2 3 4 5 | ## Not run:
df_enso <- ingest_ENSO() # reads in all the data from start date to present
df_enso1 <- ingest_ENSO(end.year=2000) # reads in the data from start date to the year 2000
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.