Description Usage Arguments Details Value Examples
This function imports an Excel file based on the McDonald Observatory data set.
1 | import_mcdonald_data(filename)
|
filename |
Filename in the Excel format to be read. The file must be located in the working directory. |
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
Returns a data frame from an Excel file into a dataframd called "mcdonaldstars".
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.