Welcome to the Programming Cafe!

Plan for today

Introduction to challenge 5 min
Work on challenge or your own project 105 min
Wrap-up 10 min
Drinks!

Programming Cafe

  • R-Cafe
  • Presentation, demo, exercise
  • Community event
  • Open to UU, HU, UMCU
  • Researchers, students, support staff
  • It is OK to work on your own code

Programming Cafe

  • Ideas for topics? Let us know!
  • Wanted: Core team members
  • Feedback welcome!

Use the link below or talk to us

tinyurl.com/uucafe

Tidy Tuesday

https://github.com/rfordatascience/tidytuesday

Pet cats UK

Cat owners where convinced to strap GPS tracks on their cats.

GPS tracks from 101 cats in the UK

Additional info on: sex, hrs_indoors, reproductive condition, food, age, prey per month

Dataset initially published on Movebank for Animal Tracking Data

Tidy Tuesday original challenge

Examples Beginner

Example intermediate

Example expert

Getting Started

tinyurl.com/uucafeviz

library(readr)
cats_uk <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2023/2023-01-31/cats_uk.csv')
cats_uk_reference <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2023/2023-01-31/cats_uk_reference.csv')
import pandas as pd
cats_uk = pd.read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2023/2023-01-31/cats_uk.csv')
cats_uk_reference = pd.read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2023/2023-01-31/cats_uk_reference.csv')

Tips

tinyurl.com/uucafeviz

R Packages

  • ggplot2
  • leaflet
  • move
  • moveVis

Python Packages

  • matplotlib
  • geopandas
  • movingpandas
  • (pystac)

Success!!