nea_table_dl: nea_table_dl

Description Usage Arguments Details Examples

Description

A wrapper function for download any table in NASA Exoplanets Archive

Usage

1
2
nea_table_dl(table, columns = "default", format = "csv",
  data_folder = TRUE, force = FALSE)

Arguments

table

A string containing the table name. For the available tables check 'details' below.

columns

Specify the columns that you want to download in the table. Define the columns in a vector, for example, c("col1", "col2", "col3"). Use '"all" to download all available columns and "default" for the default columns, see more in 'details'.

format

The archive extension. "csv" (default), "json", "xml", "ascii", "ipac", "bar" and "pipe".

data_folder

Create a separate folder for you data. If FALSE, the data will be download in your root.

force

Check if the data already exists. If TRUE, the data will download and replace.

Details

You can check the available tables in https://exoplanetarchive.ipac.caltech.edu/docs/program_interfaces.html#data. In this link you can also check the table documentation and there will be specified all available columns and what are the 'default columns'.

Examples

1
2
3
4
5
# download default columns for the exoplanets table
nea_table_dl("exoplanets")

# download specific columns
nea_table_dl("q1_q17_dr24_tce", columns = c("kepid", "av_training_set"))

samuelmacedo83/exoplanets documentation built on May 29, 2019, 11:45 a.m.