Learn R Programming

RStars (version 1.0)

starname: Search for star infomation

Description

Star Name

Usage

starname(star)

Arguments

star
a string of an existing star

Value

JSON object with infomation about the queried star

Details

This will return infomation about the requested star,

Examples

Run this code
## Not run: 
# library(RCurl)
# library(RJSONIO)
# ###Return Infomation about the Sun
# starname("Sun")
# ###Return Infomation about the star HIP1 HD224700 Gli
# starname("HIP1 HD224700 Gli")
# ###Return Infomation about all of the stars in the system
# starname("")
# ## End(Not run)

Run the code above in your browser using DataLab