Exoplanet: Exoplanet: Access to NASA's Exoplanet Archive database

Description Usage Arguments Value Examples

View source: R/Exoplanet.R

Description

This function allows programatic access to NASA's Exoplanet Archive database. See detailed info at: https://exoplanetarchive.ipac.caltech.edu/docs/program_interfaces.html#data.

Usage

1
2
3
Exoplanet(table = "exoplanets", select = NULL, count = NULL,
  colset = NULL, where = NULL, order = NULL, ra = NULL,
  dec = NULL, radius = NULL, aliastable = NULL)

Arguments

table

String. Specifies which table to query. "exoplanets" as default. Check the website for a full list of tables.

select

String. Specifies which columns within the chosen table to return. Check the website for valid column names.

count

Integer. Can be used to return the number of rows which fulfill the given query, including queries using where clauses or cone searches.

colset

String. Returns a set of pre-defined columns that have been created by the archive. Currently, this keyword is only used by the Composite Planet Data (compositepars) table.

where

String/A vector of strings. Specifies which rows to return. Use this to search for a range of values, such as rows with a declination greater than 0. Parameters must use a valid column name.

order

String. Controls the order the rows are returned.

ra

Number. Specifies an area of the sky to search for all objects within that area. Right Ascension (ra), Declination (dec) and radius (radius or rad) must be listed with their respective coordinates or units.

dec

Number. Specifies an area of the sky to search for all objects within that area. Right Ascension (ra), Declination (dec) and radius (radius or rad) must be listed with their respective coordinates or units.

radius

String. Specifies an area of the sky to search for all objects within that area. Right Ascension (ra), Declination (dec) and radius (radius or rad) must be listed with their respective coordinates or units. The units must be included in the radius specification (degrees, minutes, arcsecs) with a space preceding the unit name.

aliastable

String. Requests a list of aliases for a particular confirmed planet.

Value

Data from NASA's Exoplanet Archive database.

Examples

1
2
3
4
5
Exoplanet()
Exoplanet(select = "pl_hostname", order = "dec")
Exoplanet(ra = 291, dec = 48, radius = "1 degree")
Exoplanet(table = "cumulative", where = c("koi_prad<2", "koi_teq>180", "koi_teq<303", "koi_disposition like 'CANDIDATE'"))
Exoplanet(aliastable = "bet Pic")

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