Description Usage Arguments Value Examples
Moon phase, sunrise and sunset times for today.
1 |
location |
location set by set_location |
key |
weather underground API key |
raw |
if TRUE return raw httr object |
message |
if TRUE print out requested URL |
tbl_df with: location, moon phase, percent visible, moon rise and set times, sun rise and set times.
1 2 3 4 5 6 7 | ## Not run:
astronomy(set_location(territory = "Hawaii", city = "Honolulu"))
astronomy(set_location(airport_code = "SEA"))
astronomy(set_location(zip_code = "90210"))
astronomy(set_location(territory = "IR", city = "Tehran"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.