Coder Social home page Coder Social logo

justinjm / dartistics.com Goto Github PK

View Code? Open in Web Editor NEW

This project forked from markedmondson1234/dartistics.com

0.0 2.0 0.0 248.71 MB

Tutorial R website tailored for digital web analysts

Home Page: http://www.dartistics.com

HTML 73.41% CSS 0.28% JavaScript 25.90% R 0.40%

dartistics.com's Introduction

RWorkshopCopenhagen

Files for the R Workshop with Tim

Workflow

  1. Pull from github
  2. Make your changes
  3. Build website in RStudio
  4. Commit your changes
  5. Push

Build website

This will only succeed if you have a .httr-oauth file in the same directory - this is not uploaded to github as it holds auth data for all the websites you have access to (e.g. the .httr-oauth file is specified in the .gitignore file and ignored by Git)

You may make a local .httr-oauth file via googleAnalyticsR::ga_auth(). This will sit in your local folder and take care of auth for your local version. I also have my own auth file sitting in my local folder. If you don't do this before building the website the error interactive environment needed will show as its trying to get you to login to Google in the script without you there to say its ok.

A demo in the website uses Mark's blog GA account, which is rebuilt everytime the website is built (e.g. it downloads data etc.)

If the Google account that you authenticated with doesn't have access, it won't work with a you don’t have sufficient permissions error.

E-mail Mark to get access with your Google email that you will authenticate with, and once added, Build Website should now succeed.

If conflict

Potentially, if we make a change to the same bit of a file, git will say "conflict detected" in one of the files.

Don't panic.

Open the file, and it will have ">>>>>>HEAD" and ">>>> MASTER" etc. inserted in the file. Delete out all the stuff you don't want (e.g. you choose which version wins the conflict), then recommit/push.

dartistics.com's People

Contributors

gilliganondata avatar markedmondson1234 avatar phippsy avatar richardfergie avatar

Watchers

James Cloos avatar Justin Marciszewski avatar

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.