Skip to content

bham-carpentries/astronaut-data-analysis-for-r

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Not so reproducible astronaut data analysis code

This repository contains a helper software project with some code to be used for the Advanced R - Reproducibility with R course.

This repository is an example of "not so reproducible" code project that is meant to be improved over the course to show examples of reproducible coding practices.

Various branches of this repository represent the state of the code as it should be at the start of each of the course episodes:

What the code does

The code uses the NASA data on human space walks (Extravehicular activities - EVAs), exported/downloaded in JSON format, does some analysis over this data, plots a few graphs and saves the data in CSV format.

Better code

An example of better and more reproducible code that participants should strive to achieve when writing their reseach software can be found on the final branch branch 08-wrap-up.

Acknowledgements

Data

The data used on in this project was obtained from NASA as follows.

Data source: https://data.nasa.gov/Raw-Data/Extra-vehicular-Activity-EVA-US-and-Russia/9kcy-zwvn/about_data.

Either export data from the above page using the Export button or download in JSON format from command line as:

curl https://data.nasa.gov/resource/eva.json --output eva-data.json

Note: the original data has been modified for the purposes of this tutorial by inserting a semicolon separator after each name in the crew field.

Attribution

This repository is an R-port (with modifications to match the flow of our course) of the helper software code from the FAIR research software course. reused and modified under MIT license.

LICENSE

The original licence text from the helper software code is provided here:

MIT License

Copyright (c) 2024 carpentries-incubator

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

See DOI

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages