This project uses R and Python.
./data
: data files./R
: contains theR
scripts./python
: contains thepython
scripts
- Link a local repository with this remote repository
git init
git remote add origin https://github.com/hrvg/code-golfing
- Pull the whole directory
git pull origin master
- Create your own branch
git branch branch-name
- Switch to your branch
git checkout branch-name
- Work on your own branch locally to test your code, commit and push your changes, ask questions online through the github interface.
git add .
git commit -m "informative commit message"
git push origin branch-name
From your branch: (git status
or git checkout branch-name
to be sure):
git rebase master
git add .
git rebase --continue
git checkout master
git pull origin master
git checkout branch-name
git rebase master
The instructions are in the CG1_tinkering_with_data.*
files that you can found in their respective programming language folder.
The file ./data/sacramento-bendbridge-paleo.csv
contains yearly flow data from 900 to 2017 for the Sacramento River at Bend Bridge, in acre-feet.
This is a very important location for water supply in California!
A function to read the data file is already defined in each of the script.
Use this function template to perform all the tasks required in the TODO
section.
Searching the manual, googling and searching Stack Overflow is recommended.
Estimated work-load: 20 min.
The instructions are in the CG2_identifying_dry_years.*
files that you can found in their respective programming language folder.
The file ./data/sacramento-bendbridge-paleo.csv
contains yearly flow data from 900 to 2017 for the Sacramento River at Bend Bridge, in acre-feet.
This is a very important location for water supply in California!
A function to read the data file is already defined in each of the script.
Use this function template to perform all the tasks required in the TODO
section.
Searching the manual, googling and searching Stack Overflow is recommended.
Estimated work-load: 30 min.
Copyright (c) 2018
Licensed under the MIT license.