Giter Club home page Giter Club logo

spatial_visualizations's Introduction

Spatial_Visualizations

Tutorials regarding spatial visualization and analysis.


Mapping the CTA "El" Train Stations

Tutorial on how to plot the Chicago Transportation Authority (CTA) 'L' Rail Line, Rail Stations, Bus Routes, and Bus Stops for the City of Chicago.


Point-n-Polygon

What follows is a tutorial on the key spatial elements needed to understand how to identify points which reside in specific polygons.


Querying USAspending API data from RStudio

USAspending API offers an interactive way for active citizens to query relevant federal spending data on a variety of fields. People can query data by geography, type of federal spending, CFDA program number, and much more. Click here a tutorial on querying the data for FY17 Austin, Texas.

Run R Scripts from GitHub and Enable R Objects with 'source_github' function

source_github <- function( url ) {
  # load package
  require(RCurl)
  
  # read script lines from website and evaluate
  script <- getURL(url, ssl.verifypeer = FALSE)
  eval(parse(text = script), envir=.GlobalEnv)
} 

Import RDS files into RStudio

Step 1: ID a .rds file inside a GitHub repository (https://github.com/DataCapstone/Data-Capstone/tree/master/Drafts/ceuno)

Step 2: Once .rds file is found, ID the phrase "View Raw"

Step 3: Right-click on "View Raw"

Step 4: Click on "Copy Link Address" option from the menu

Step 5: Paste the link address into a character vector

rds_url <- "https://github.com/DataCapstone/Data-Capstone/blob/master/Drafts/ceuno/chi_hou_philly_projectgrants_fy17.rds?

Step 6: Nest the character vector into the following functions:

rds.df <- readRDS( gzcon(url( rds_url ) ) )

Step 7: Congratulations!

You now know how to import .rds files into RStudio!


spatial_visualizations's People

Stargazers

 avatar

Forkers

kashenfelter

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.