createHWT: Create and download horizon data from _HeyWhatsThat_

Description Usage Arguments References See Also Examples

View source: R/horizon.R

Description

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.

Usage

1
2
createHWT(lat, lon, elevation = 1.6, name, src = "skyscapeR",
  verbose = T)

Arguments

lat

The latitude of the location.

lon

The longitude of the location.

elevation

(Optional) The elevation of the observer above ground level in metres. Default is 1.6 metres (eye level).

name

(Optional) Name for horizon.

src

(Optional) Request source ID for HeyWhatsThat. Default is 'skyscapeR'. Only change this if you have ben given a source ID by the creator of HeyWhatsThat.

verbose

(Optional) Boolean switch to control output. Default is TRUE.

References

HeyWhatsThat.com

See Also

downloadHWT

Examples

1
2
3
4
5
## Not run: 
# Create and retrive 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)

f-silva-archaeo/skyscapeR documentation built on Jan. 15, 2019, 3:22 a.m.