Techport: Techport: API to make NASA technology project data available...

Description Usage Arguments Value Examples

View source: R/Techport.R

Description

Techport allows the public to discover the technologies NASA is working on every day to explore space, understand the universe, and improve aeronautics.

Usage

1
2
Techport(key = Sys.getenv("NASA_TOKEN"), id_parameter = NULL,
  all_valid_id = FALSE, update_since = NULL)

Arguments

key

String. Your NASA API key, you can enter your key in the function parameter, but it's not recommended. Instead, you'd better save your key in R environment and call it "NASA_TOKEN". Then the function would automatically acquire your key info.

id_parameter

Integer. The id value of the TechPort record.

all_valid_id

Boolean. Print out all valid id of TechPort record if TRUE. FALSE as default.

update_since

Date. The start date of returned TechPort record you want.

Value

Info of technology which NASA is working on.

Examples

1
2
3
Techport(id_parameter = 17792)
Techport(all_valid_id = TRUE)
Techport(update_since = as.Date("2016-01-01"))

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