Description Usage Arguments Details Examples
A wrapper function for download any table in NASA Exoplanets Archive
1 2 |
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. |
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'.
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"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.