
Retrieve Astronomy Picture of the Day (APOD) images and metadata
Source:R/get_apod_metadata.R
get_apod_metadata.Rd
Queries NASA's Astronomy Picture of the Day (APOD) API to retrieve images and metadata between a specified start and end date. Only image media types are included.
Arguments
- start_date
Character. Start date for the query in "YYYY-MM-DD" format.
- end_date
Character. End date for the query in "YYYY-MM-DD" format.
- api_key
Character. NASA API key. Defaults to "DEMO_KEY", but a personal API key is recommended.
- folder_name
Character or NULL. Folder name to save images on Desktop if provided. If NULL, images are only printed and not saved.
Value
A data frame containing metadata about the APOD images (date, title, explanation, URL, and media type).