Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Plot the locations of all of the pokemon in the Vanpoke table, overlayed on a map of Vancouver. Provide the resulting graphic. The following code
Plot the locations of all of the pokemon in the Vanpoke table, overlayed on a map of Vancouver. Provide the resulting graphic. The following code segment may be useful:
Table Vanpoke is like this:
library(RSQLite)
library(DBI)
devon = dbConnect(SQLite(), dynamo = 'vanPoke')
Thank you.
library(rworldmap) ## Loading required package: sp ## ### Welcome to rworldmap ### ## For a short introduction type : vignette('rworldmap') library(rworldxtra) worldmap = getMap(resolution = "high") NrthAm = worldmap [which (worldmap$REGION =="North America"),] plot (NrthAm, xlim=c(-123.35,-122.65), ylim=c(49,49.35), main = "Pokemon in Vancouver") query = "PRAGMA table_info('Vanpoke')" dbGetQuery(dbcon, query) al x Oly_ads" "POP 2006" "POP2011" [7] "in " tickets zip R Console data.frame 13 x 6 cid nameStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started