Description Usage See Also Examples
Download the daily number of sunspots since 1818 from http://www.sidc.be/silso/datafiles. The data is subsequently imported into R and returned as a uts_vector
object.
1 |
Users without internet connection can access the already imported data via sunspots_daily
. However, to get the most recent data it is recommended to use this function.
1 2 3 4 5 6 | ## Not run:
# Download and save the data
sunspots_daily <- download_sunspots_daily()
save(sunspots_daily, file=file.path("data", "sunspots_daily.rda"), compress="xz")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.