https://github.com/annakrystalli/aocoder

https://github.com/annakrystalli/aocoder

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.1%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: annakrystalli
  • License: other
  • Language: R
  • Default Branch: master
  • Size: 12.7 KB
Statistics
  • Stars: 5
  • Watchers: 3
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 8 years ago · Last pushed over 8 years ago
Metadata Files
Readme License

README.md

aocodeR

The goal of aocodeR is to help me solve and share my advent of code puzzles.

aoc_get_input() function

With the help of my colleague Phil Tooley, I wrote a function to get the input for a given day directly from the Advent of Code server. It defaults to inputs for 2017 puzzles but you can override that by supplying a different year to year. The server also needs to know who the user is so the path to a .txt file containing a users session cookie needs to be supplied to argument cookie_path.

Install

r library(devtools) install_github("annakrystalli/aocodeR")

Example

``` r

aocgetinput(day = 1, cookiepath = "~/Documents/workflows/hackathon-output-repos/adventofcode/secrets/sessioncookie.txt")

```

Getting your session cookie

In chrome, get your cookie details by clicking on the triple dot menu

' (top right) > More tools > Developer tools > Application > Cookies. You need to copy the long

' string in the value column for row session. Save that as a text file.

Advent of Code vignette template

I like solving my puzzles in vignettes and am compiling and sharing them in a github repo. Because many parts of documenting my puzzle solutions are repetitive across days, I made a .Rmd template I can reuse which is also available through this package! There are a few paths and links that default to settings I want but you can either overwrite them or delete them all together.

Owner

  • Name: Anna Krystalli
  • Login: annakrystalli
  • Kind: user
  • Location: Syros, Greece
  • Company: @r-rse

Research Software Engineering Service in #rstats at @r-rse. Ex @RSE-Sheffield. Editor @ropensci. Core team member @reprohack. Available for hire! 🚀😎

GitHub Events

Total
Last Year

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 13
  • Total Committers: 1
  • Avg Commits per committer: 13.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
annakrystalli a****i@g****m 13

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels