import_mcdonald_data: McDonald Observatory Dataset Import

Description Usage Arguments Details Value Examples

Description

This function imports an Excel file based on the McDonald Observatory data set.

Usage

1

Arguments

filename

Filename in the Excel format to be read. The file must be located in the working directory.

Details

Note that the McDonald Observatory data set is an updated data set that includes right ascension, declination, spectral types and general notes. Follow the instructions on the NOAA site for downloading the entire dataset to a tab delimited file. Star data from tables B and C in the McDonald Observatory data set were used as the basis of this data set. https://mcdonaldobservatory.org/sites/default/files/pdfs/teachers/hrd.pdf

Value

Returns a data frame from an Excel file into a dataframd called "mcdonaldstars".

Examples

1
2
3
4
5
6
7
8
9
# Downloaded mcdonaldstars.xlsx file to your working directory.
# Returns a dataframe with the default name "mcdonaldstar"
## Not run: 

library(readxl)
df<-import_mcdonald_data("mcdonaldstars.xlsx")


## End(Not run)

cowboy2718/Hertzsprung-Russell documentation built on May 23, 2019, 1:46 p.m.