NHATS: NHATS: Solar System Dynamics and Center for Near-Earth Object...

Description Usage Arguments Details Value Examples

View source: R/NHATS.R

Description

The NHATS API provides a method of requesting data from the NHATS-related tables in the SBDB. These data will primarily support the CNEOS “Accessible NEAs” web-page. See detailed info at: https://ssd-api.jpl.nasa.gov/doc/nhats.html.

Usage

1
2
3
NHATS(mode = "S", dv = 12, dur = 450, stay = 8,
  launch = "2020-2045", h = NULL, occ = NULL, spk = NULL,
  des = NULL, plot = FALSE)

Arguments

mode

String. Mode to select, "S" or "O". "S" as default.

dv

Integer. Mode: S, O. Minimum total delta-V (km/s). Allowable values: 4,5,6,7,8,9,10,11,12. 12 as default.

dur

Integer. Mode: S, O. Minimum total duration (days). Allowable values: 60,90,120,150,180,210,240,270,300,330,360,390,420,450. 450 as default.

stay

Integer. Mode: S, O. Minimum stay (days). Allowable values: 8,16,24,32. 8 as default.

launch

String. Mode: S, O. Launch window (year range). Allowable values: "2020-2025", "2025-2030", "2030-2035", "2035-2040", "2040-2045", "2020-2045". "2020-2045" as default.

h

Integer. Mode: S. Object’s maximum absolute magnitude, H (mag). Allowable values: 16,17,18,19,20,21,22,23,24,25,26,27,28,29,30.

occ

Integer. Mode: S. Object’s maximum orbit codition code (OCC). Allowable values: 0,1,2,3,4,5,6,7,8.

spk

Integer. Mode: O. Select data for the object matching this SPK-ID (e.g., 2000433).

des

String. Mode: O. Select data for the object matching this designation (e.g., "2015 AB" or "141P" or "433").

plot

Boolean. Mode: O. Include base-64 encoded plot image file content via output field plot_base64. FALSE as default.

Details

This API supports two query modes:

S - obtain summary data spanning all available NHATS object

O - obtain details related to a specified NHATS object

Value

Data of NHATS objects.

Examples

1
2
3
4
5
##### Mode: S
NHATS(dv = 6, dur = 360, stay = 8, launch = "2020-2045", h = 26, occ = 7)
##### Mode: O
NHATS(mode = "O", des = "99942")
NHATS(mode = "O", des = "2000%20SG344", dv = 6, dur = 360, stay = 8, launch = "2020-2045")

Liu-Zhichao/nasaR documentation built on Dec. 16, 2019, 10:48 p.m.