createHWT | R Documentation |
This function send a data request to HeyWhatsThat, for the creation of a horizon profile for a give Lat/Lon and elevation. It then downloads the data and saves it as a skyscapeR.horizon object.
createHWT(lat, lon, elevation = 1.6, name, src = "skyscapeR", verbose = T)
lat |
The latitude of the location. |
lon |
The longitude of the location. |
elevation |
(Optional) The elevation of the observer above ground level in meters. Default is 1.6 meters (eye level). |
name |
(Optional) Name for horizon. |
src |
(Optional) Request source ID for HeyWhatsThat. Default is 'skyscapeR'. Only change this if you have been given a source ID by the creator of HeyWhatsThat. |
verbose |
(Optional) Boolean switch to control output. Default is TRUE. |
downloadHWT
## Not run:
# Create and retrieve horizon data for the London Mithraeum:
hor <- createHWT(lat=ten(51,30,45), lon=ten(0,5,26.1), name='London Mithraeum')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.