Gail Clement
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
--- title: Class Notes for FSCI 2018, July 30 - August 4, 2018 --- ## Reproducible Research Reporting and Dynamic Documents with Open Authoring Tools: Toward the Paper of the Future ### About this Document This is our collaborative course document to which you all are invited to contribute by adding questions, notes, and comments in markdown! (_Practice makes perfect, right?_). [The Carpentries](https://carpentries.org) have been using Etherpad for this purpose, but [AuthorCarpentry](https://authorcarpentry.github.io/) prefers HackMD because it reinforces core skills we teach. 😄 Please refer to the headings delineated in this document to add contributions to the most seemingly relevant section. If not sure, punt to __Miscellanea__ at the bottom of the document! ***** ## Course Information 1. Course syllabus on FSCI2018 Google Docs platform: not entirely up to date, so best to use (2) below 1. Course website on AuthorCarpentry GitHub platform with daily objectives, lesson plan, exercises. This is the most up-to-date! https://authorcarpentry.github.io/FSCI-2018/ 1. Course exercise files: `FSCI-2018-files.zip` __NOTE__: These files will be finalized over the weekend preceding FSCI2018 so please don't download them until Day 1 of the class. We'll do it together to make sure we all have the exact same versions and that everything installs properly. 3. Course folders The Instructors have prepared folders with printed materials most useful and relevant to the course discussions and exercises. We felt the paper was worth it to provide additional reading real-estate in a busy, technology-dominant class environment. There are additional supplemental materials you may find helpful but those are provided as online urls in the next section. 4. Online resources to supplement the printed folder - General for the Course - Getting used to R, RStudio, and R Markdown (Chester Ismay), https://ismayc.github.io/rbasics-book/ - RMarkdown Reference Guide, https://www.rstudio.com/wp-content/uploads/2015/03/rmarkdown-reference.pdf - RMarkdown, the Definitive Guide <https://bookdown.org/yihui/rmarkdown/> - Knitr (Xie), https://yihui.name/knitr/ - Pandoc - a universal document converter, https://pandoc.org/ - Day 1, Introduction to the Course (Monday, July 30) - Journal pretty much the same since 1600's - http://rstl.royalsocietypublishing.org/ - https://onlinelibrary.wiley.com/doi/abs/10.1111/ele.13085 - _OR is it?_ - https://github.com/cboettig/noise-phenomena ***** ## Whos Who? ### Course Instructors 1. __Tom Morrell__ | Research Data Specialist, Caltech Library. | Email: tmorrell at caltech dot edu. | Twitter and GitHub username: @temorrell | hates to reformat for different publisher requirements 3. __Gail Clement__ | Head of Research Services, Caltech Library. Email: gperetsm at caltech dot edu. Twitter and GitHub username: @Repositorian. _Relinquished pet peeves on joining [Carpentries community](https://carpentries.org/)_ 4. __Other contributors to the course content__: Author Carpentry supporters Sebastian Karcher, Donna Wrublewski, Robert Doiel, and Patrick from our Mozilla Sprint whose guidance on lesson planning have made a YUGE difference in how we teach this material. ### Participants - Katie, Harvard-Smithsonian CFA, software citation and archiving - Gana, MongoliaJOL manager, Mongolia, software citation and publication - Amy, BMJ Editor, Oxford, software not reproducible; how to manage clinical documents for citation - Kimberly, U Az Libraries, software citation and integration with repositories, long-term access and preservation; publication formats dictate the form of the communication eg pdf - Jackie, Postdoc CS UMD, Improve authoring for reproducibility - Taylor, UH Libraries, Publisher of Hums journal, lack of transparency in review - Pei-Ying, Phd student at IU-schol comm, open authoring practices - Annelise, UCSD Lib, Pol Sci, cost of journals and cost of APCS, poorly described methodologies - Corinne, Research Associate at SIO, improving authoring and reproducibility - Nina like China, Lib at VCU, Phd Student at UNC SILS, limit in practical tips - Dan, Data science Gatorland, Code aesthetics; GitHub repo practices - Steve, LIS Prof at Bama, next gen publishing for next gen librarians. Changing meaning of 'paper' - Frank, Health Sci Librarian at UMn/Reprod/Software Carpentry, library lit is terrible on methodology, poor reporting practices in clinical med. Pet peeve: citation styles: lets get rid of them completely. Most things most times can be easily found with just some basic information. Too much time and intellectual effort is wasted on citation styles. fight me. - Zoe, Science Librarian, peeveless ***** ## Day 1 Questions, Comments, or Corrections ## Day 2 Questions, Comments, or Corrections ### What journal styles are available and do they have two column layouts? This (probably) requires a LaTex install and the R package `rticles`. https://cran.r-project.org/web/packages/rticles/readme/README.html An example two column style is an IEEE conference paper. After installing rticle, you can load the template with: ``` library(rmarkdown) draft("~/Desktop/MyArticle.Rmd", template = "ieee_article", package = "rticles") ``` ## Day 3 Questions, Comments, or Corrections Research Compendium: https://research-compendium.science/ #### Supported html themes at the time of this writing - "cerulean" - "journal" - "flatly" - "readable" - "spacelab" - "united" - "cosmo" - "lumen" - "paper" - "sandstone" - "simplex" - "yeti" Good reading with tips on knitting to Word: "Happy collaboration with Rmd to docx" <https://rmarkdown.rstudio.com/articles_docx.html> #### Extra reference chunk for YAML: ``` references: - id: Xie_2018 title: R Markdown - The Definitive Guide author: - family: Xie given: Yihui - family: Allaire given: J. J. - family: Grolemund given: Garrett URL: 'http://dx.doi.org/10.1038/nmat3283' ISBN: 9781138359338 publisher: Chapman & Hall/CRC type: book issued: year: 2018 month: 6 ``` Are the files created in RMarkdown directly useable in GitHub? - HTML output: Yes! - You can rename the final output html as index.html, move it to a /docs folder, and then create a website from the GitHub repo, specifying that the files will be found in the /docs subfolder on GitHub. - Markdown output: No. - You need to specify in the YAML that you want to keep the .md file created during the knit process and it needs to be github flavored markdown as shown below: - --- ``` output: md_document: variant: markdown_github keep_md: true ``` #### How to call references from Zotero database using RefManageR package <https://tclavelle.github.io/blog/reference_tips/> ## Day 4 Questions, Comments, or Corrections To add a citation style (CSL) to your report, follow these steps: 1. Visit the [Zotero Style Repository](https://www.zotero.org/styles) and select a citation style of interest 2. From that site, download the desired style file to your working folder (where your exercise files live) 3. In the yaml for your exercise file, add a new line `csl: name-of-file.csl` 4. Knit and review the references in your document: did the new style get applied? The R package ProjectTemplate is just one tool to help keep all of your data and analysis organized. --- ## Day 5 Questions, Comments, or Corrections ***** ## Parking Lot to capture questions and comments needing follow-up Pulling citations from one's Mendeley/Refworks/Endnote/Zotero (Amy) - See Day 3 Notes ## Resources for Learning More - CODATA-RDA Legal Interoperability of Research Data Group <https://rd-alliance.org/groups/rdacodata-legal-interoperability-ig.html> - Principles and Guidelines for Legal Interoperability <https://www.rd-alliance.org/rda-codata-legal-interoperability-research-data-principles-and-implementation-guidelines-now> - RMarkdown hub at RStudio <https://rmarkdown.rstudio.com/> - Software Carpentry's Lesson on Repro Reporting <https://swcarpentry.github.io/swc-releases/2016.06/r-novice-gapminder/15-knitr-markdown/> - DataCamp's Reporting with RMarkdown <https://www.datacamp.com/courses/reporting-with-r-markdown> - Yihui's Blog <https://yihui.name/en/> - Karl Broman's Tutorials <https://kbroman.org/pages/tutorials.html> - Chris Hartergink's site <https://www.tilburguniversity.edu/webwijs/show/c.h.j.hartgerink.htm> - AuthorCarpentry <https://authorcarpentry.github.io/> - All course content from this week <https://github.com/AuthorCarpentry/FSCI-2018> ## Next Steps - Author day to day docs in Rmarkdown - Connect with colleagues teaching data science - Introduce this authoring workflow into discussions about new forms of the thesis - Parlay understanding of what is possible to Jupyter Notebooks - Introduce the markdown workflow to early career researchers and to those preparing manuscripts for publication - Share with affinity groups on campus, RLadies, Carpentry Club - Think through application of this workflow versus RNotebooks, which are easier to start with.

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully