Tutorials regarding spatial visualization and analysis.
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.
What follows is a tutorial on the key spatial elements needed to understand how to identify points which reside in specific polygons.
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.
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)
}
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!