The dataset in interest http://datamx.io/dataset/segurimty/resource/6145a539-cbde-4b0d-a3d3-d1a5eb013f5c
Load ckanr
library("ckanr")Set base URL for the CKAN server
| #!/usr/bin/env ruby | |
| # | |
| # Convert blogger (blogspot) posts to jekyll posts | |
| # | |
| # Basic Usage | |
| # ----------- | |
| # | |
| # ./blogger_to_jekyll.rb feed_url | |
| # | |
| # where `feed_url` can have the following format: |
| #!/usr/bin/env ruby | |
| # | |
| # Convert blogger (blogspot) posts to jekyll posts | |
| # | |
| # Basic Usage | |
| # ----------- | |
| # | |
| # ./blogger_to_jekyll.rb feed_url | |
| # | |
| # where `feed_url` can have the following format: |
The dataset in interest http://datamx.io/dataset/segurimty/resource/6145a539-cbde-4b0d-a3d3-d1a5eb013f5c
Load ckanr
library("ckanr")Set base URL for the CKAN server
| ## Example procedure for working with data (attributes) inside SpatialPolygonsDataFrame objects | |
| # Load my favorite libraries for that sort of work | |
| library(data.table) | |
| library(rgdal) | |
| # Load 2 shapefiles that, say, we want to merge. | |
| # Note that you can read pretty much any spatial format using readOGR(). | |
| tza.l2 <- readOGR("./analysis/TZA-AC-07/maps", "tza-ac-07_L2") | |
| tza.l1 <- readOGR("./analysis/TZA-AC-07/maps", "tza-ac-07_L1") |
| max_plots <- 5 | |
| ui <- fluidPage( | |
| headerPanel("Dynamic number of plots"), | |
| sidebarPanel( | |
| sliderInput("n", "Number of plots", value=1, min=1, max=5) | |
| ), |
| %!TEX TS-program = xelatex | |
| \documentclass[12pt]{scrartcl} | |
| % The declaration of the document class: | |
| % The second line here, i.e. | |
| % \documentclass[12pt]{scrartcl} | |
| % is a standard LaTeX document class declaration: | |
| % we say what kind of document we are making in curly brackets, | |
| % and specify any options in square brackets. |