{"id":35273925,"url":"https://github.com/friendly/my6136","last_synced_at":"2026-04-07T17:31:36.642Z","repository":{"id":322727467,"uuid":"1090666483","full_name":"friendly/my6136","owner":"friendly","description":"A template for students to organize their work for Psy6136","archived":false,"fork":false,"pushed_at":"2026-01-12T03:36:13.000Z","size":595,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-12T10:32:58.536Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/friendly.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-06T01:18:17.000Z","updated_at":"2026-01-12T03:36:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/friendly/my6136","commit_stats":null,"previous_names":["friendly/my6136"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/friendly/my6136","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friendly%2Fmy6136","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friendly%2Fmy6136/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friendly%2Fmy6136/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friendly%2Fmy6136/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/friendly","download_url":"https://codeload.github.com/friendly/my6136/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friendly%2Fmy6136/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31522233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-30T13:24:31.083Z","updated_at":"2026-04-07T17:31:36.635Z","avatar_url":"https://github.com/friendly.png","language":"HTML","readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\"\n)\n```\n\n# my6136 \u003cimg src=\"images/my6136.jpg\" height=\"80px\" align=\"right\"\u003e\n\n\u003c!-- badges: start --\u003e\n\u003c!-- badges: end --\u003e\n\nThis GitHub repo provides a template you can use to organize your work for\n[Psy6136: Categorical Data Analysis](https://friendly.github.io/psy6136/) (or any course). It provides:\n\n* A reasonable organization of folders for your work. Feel free to add any others\n\n```{r eval=FALSE, echo=FALSE}\nfs::dir_tree(recurse = FALSE)\n```\n\n```\nmy6136\n  ├── assign\n  ├── data\n  ├── images\n  ├── notes\n  ├── R\n  └── tutorials\n```\n\n* Some templates for using Rmarkdown in assignments or projects and also for setting up R scripts so you \"compile\" them with [knitr](https://yihui.org/knitr/) to produce\noutput in HTML, DOCX, PDF, ... The following are provided, just to get you started:\n\n  * [Assignment template](assign/assign-template.R): Simple template for using an R script for an assignment. This appears like this in [HTML](assign/assign-template.html) when you `knitr` it.\n  * [Rmarkdown template](R/RMarkdown-template.Rmd): For a report, with more text than code. Code is in R \"chunks\"\n  * [R script template](R/RScript-template.R): For an R script, with output rendered to HTML, DOCX, or PDF\n\n```{r echo=FALSE, eval=FALSE}\nfs::dir_ls(regexp = \".*template.*\", recurse = TRUE) |\u003e \n  paste(collapse = \"\\n\") |\u003e \n  cat()\n```\n\n\n\n## Getting started\n\nI recommend that you set up an [RStudio project](https://support.posit.co/hc/en-us/articles/200526207-Using-RStudio-Projects) for your work in the course, where you can organize your notes and work on assignments, projects, etc.\n\nThis repository on GitHub: [my6136](https://github.com/friendly/my6136) provides a template for this.\nYou can simply [download the ZIP file](https://github.com/friendly/my6136/archive/refs/heads/master.zip) to your computer, unzip it, and then open it in RStudio (double-click on the file `my6136.Rproj`). \n\n\u003cimg src=\"images/download-my6136.jpg\" height=300\u003e\n\n### Using GitHub\nIf you are comfortable using GitHub, you can simply fork \u0026 clone this repo to your own account.\nDetails on this are given in [fork and clone this repo](https://github.com/rstats-tln/fork-and-clone-repo). The images below show\nwhat's involved for `my6136`. \n\n\u003cimg src=\"images/fork-my6136.jpg\" height=60\u003e\n\u0026nbsp; \u0026nbsp;\n\u003cimg src=\"images/clone-my6136.jpg\" height=150\u003e\n\nIf you don't yet use GitHub, you can easily [create a GitHub account](https://docs.github.com/en/get-started/start-your-journey/creating-an-account-on-github) (**highly recommended**: Your future self will thank me!)\n\n\n## Installing packages\n\nYou will need a bunch of R packages for this course. The file [`R/install-vcd-packages.R`](R/install-vcd-packages.R) contains the ones I recommend. Simply run this in RStudio.\n\n### PDF output\n\nIn RStudio, rendering scripts and `.Rmd` files to PDF uses [`pandoc`](https://pandoc.org/) to convert to LaTeX `.tex` files and then working `LaTeX`\ninstallation to convert to PDF. The R package [tinytex](https://yihui.org/tinytex/) makes this relatively easy.\n\n\u003c!--\n### Citations\n\nIn your\n--\u003e\n\n## Learning to use Git and GitHub\n\nFor more details on using Git and Github for working with R, \nsee: \n\n* Jenny Bryan's [Getting Started with GitHub](https://jennybc.github.io/2014-05-12-ubc/ubc-r/session2.4_github.html)\n* [How to use Git and GitHub with R](https://rfortherestofus.com/2021/02/how-to-use-git-github-with-r)\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriendly%2Fmy6136","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffriendly%2Fmy6136","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriendly%2Fmy6136/lists"}