Sicheng2000 / lab-06

Lab 06: Taming data
Creative Commons Attribution 4.0 International
0 stars 0 forks source link

Lab 06: Taming data

Preparation

Objectives

Instructions

Getting started

In this lab, you will be using Git and Github to fork, clone, commit, and push changes to a repository. The repository you will select to use as the repository to fork to your own Github account can be one of the following:

If you are starting with a new repository, fork and clone the repository you selected to your local machine. Then orient yourself to the repository by opening the README file and reviewing the template configuration.

If you are using an existing reproducible research project repository, open that project on your local machine, and pull the latest changes from the remote repository to ensure that your local and remote repositories are in sync.

Open a Quarto document in the process directory and name it accordingly (e.g., 2_curate.qmd, data_curation.qmd, etc.).

The data you select to curate should be of the unstructured or semi-structured variety and may be one of the following:

Organizing data

In your curation process file,

  1. add a section which provides a brief description of the data you are curating. Include:

    • the name and/ or source of the data
    • the nature of the data
    • the acquisition strategy that was used
    • the format of the data
  2. add a section which provides a description of the data structure of the resource, outines the relationships between the data elements, and proposes an idealized format for the curated dataset. Include:

    • the relevant directories and data files
    • the metadata and/ or variables to be organized
    • the relationships between the data elements
    • the idealized format for the curated dataset in a tabular format
  3. add a section which programmatically reads, organizes, and writes the curated dataset. This is where you will craft the code to curate the data.Include prose and code comments to describe the process of organizing the data.

  4. Make sure to organize your data curation process in a way that is reproducible. This means that you should be able to run the code in your data curation process file and reproduce the data curation process. Use the data/derived/directory to store the curated dataset and the data dictionary.

  5. Make sure that your code is well documented with code comments and that you have included prose to describe the process of curating the data.

  6. Include a section to describe the resulting data and to display the data dictionary you have created for this data as a table.

  7. Confirm that your code runs without errors and that the data is curated and displayed as expected.

  8. Finally, commit and push your changes to your Github repository. Make sure to include files or directories that you do not have permission to share in your .gitignore file.

Assessing your progress

  1. In your repository on Github, open an issue to provide feedback on your experience with this lab (Click on the 'Issues' tab and then click the 'New issue' button). Title the issue "Lab 06 feedback" and provide your feedback in the body of the issue.

Some questions to consider:

Submission for feedback

License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.