Skip to content

abodesy14/golfMapsR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

golfMapsR

Welcome to the golfMapsR, a repository dedicated to mapping golf courses using geographic data. Each golf course in this repo has been traced in Google Earth to capture various course elements such as tee boxes, fairways, bunkers, greens, and hazards. These detailed polygon outlines are saved as KML files to be read into R and plotted with ggplot2.

Light         Dark

Usage

To get started, clone this repo and use the generate_map.R script, or navigate to the Shiny app to see which courses have been mapped: https://abodesy14.shinyapps.io/golfMapsR/

For more detailed instructions on getting started, you can read my article here: https://medium.com/towards-data-science/plotting-golf-courses-in-r-with-google-earth-8ee8aa6f6293

Contributing

Use the Issues template to request a new course mapping.

Disclaimer: The process of mapping golf courses in its current state can be time consuming. With some combined effort, a nice database of plottable golf courses can be created. I myself don't have the bandwith to scale this repo at large, so if you have any interest in contributing to this project, please feel free to clone/fork and create a PR. I can also be reached at adam.c.beaudet@gmail.com.

Future Roadmap

  • Layer individual shots on top of maps programatically with Plotly
  • Calculate area of polygon types for each course - this opens the door for course to course comparisons, such as: average green size, number of bunkers, average fairway size, amount of water/hazards, etc.
  • Create R package
  • Shiny App
  • About

    No description, website, or topics provided.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Languages