Giter Site home page Giter Site logo

pp4rs / 2022-uzh-course-material Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 7.0 17.22 MB

Course Material for the 2022 Edition of the course Programming Practices for Research in Economics

Jupyter Notebook 68.07% Python 0.01% Stata 0.10% R 0.03% HTML 30.51% JavaScript 1.00% CSS 0.14% TeX 0.13%

2022-uzh-course-material's Introduction

Programming Practices for Research in Economics

Meta-Information

  • Course Instructors:

    • Martin Stancsics (@stanmart)
  • Teaching Assistants:

    • Agustina Colonna (@agcolo95)
    • Julius Schäper (@jfschaeper)
  • Course Syllabus: click here

Important Links:

Accessing the Course Materials for the First Time

This repository will be updated frequently. Here are the necessary instructions so that you have your own copy, and it directly plugs in to ours, so you can get updates as needed:

  1. Fork this repository by clicking Fork on the Github page
    • This gives you your own copy of the repository on GitHub
  2. Clone your copy of the repository, by entering the following commands into a terminal after navigating to a folder that you want the materials to live inside:
        $ git clone https://github.com/YOURUSERNAME/2022-uzh-material.git
    • This gives you your own copy of the repository on your computer
  3. Connect an upstream branch to the pp4rs master repository:
        $ git remote add upstream https://github.com/pp4rs/2022-uzh-material.git
    • This gives you the ability to connect to the repository where new materials will be added throughout the course

A guided example of forking the repository and downloading its contents:

Suppose Lachlan wants to clone the file repository to his own machine.

  • First he forks a copy on GitHub.
  • He wants to download the repository to a folder he has called phd-courses/first-year/ which lives inside his home folder. After opening a terminal on his computer he enters the following commands (after the `$`` sign):
    $ cd phd-courses/first-year
    ~/phd-courses/first-year/$ git clone https://github.com/lachlandeer/2020-uzh-material.git

Note: Notice how there was no whitespace in the filepath phd-courses/first-year. We recommend you also do not have whitespace in your paths, it makes everything less error prone.

Keeping your Course Materials up to date

When you want to try and update your repository with new course material we post, use the following commands:

  1. Navigate to the repository's root folder
        ~$ cd path/to/2022-uzh-material
    • Note: be careful and alter the path above to match your filesystem.
  2. Fetch the new contents from the upstream branch
        ~/phd-courses/first-year/2020-uzh-material/$ git fetch upstream
  3. Checkout the current branch, called master, of the files on your computer
        ~/phd-courses/first-year/2020-uzh-material/$ git checkout master
  4. Merge the updated materials from upstream into master
        ~/phd-courses/first-year/2020-uzh-material/$ git merge upstream/master

Now you have the most up to date version of the course materials on your computer.

A guided example

Suppose Lachlan has come back after lunch and wants to download the materials for the afternoon session. After turning on his computer and opening a terminal he enters the following commands

    ~$ cd phd-courses/first-year/2020-uzh-material
    ~/phd-courses/first-year/2020-uzh-material$ git fetch upstream
    ~/phd-courses/first-year/2020-uzh-material$ git checkout master
    ~/phd-courses/first-year/2020-uzh-material$ git merge upstream/master
  • Note: If you get an error message, as a first step ensure that you committed all your files from your last session.

License

All materials are licensed under a Creative Commons CC-BY-SA license. The license allows you to copy, remix and redistribute any of our publicly available materials, under the condition that you attribute the work (details in the license) and do not make profits from it. More information is available here

Suggested Citation

The suggested citation for this repository is:

Agustina Colonna, Lachlan Deer, Julian Langer, Julius Schäper and Martin Stancsics 2022, Programming Practices for Research in Economics, University of Zurich

Creative Commons License

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.