Skip to content

Commit

Permalink
CRAN submission
Browse files Browse the repository at this point in the history
  • Loading branch information
rcarto committed Feb 28, 2017
1 parent 9e3f667 commit c858f07
Show file tree
Hide file tree
Showing 7 changed files with 98 additions and 115 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: MTA
Title: Multiscalar Territorial Analysis
Version: 1.0
Version: 0.1.0
Date: 2017-02-28
Authors@R: c(person("Ronan", "Ysebaert",
email = "ronan.ysebaert@cnrs.fr", role = c("aut")),
Expand All @@ -10,7 +10,7 @@ Authors@R: c(person("Ronan", "Ysebaert",
email = "timothee.giraud@cnrs.fr", role = c("aut", "cre")))
Description: Build multiscalar territorial analysis based on various contexts.
License: GPL-3
URL: https://github.com/Groupe-ElementR/MTA/
URL: https://github.com/riatelab/MTA/
BugReports: https://github.com/Groupe-ElementR/MTA/issues/
LazyData: true
Depends:
Expand Down
4 changes: 2 additions & 2 deletions R/package.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#' redistributions based on the three deviations.
#' }
#'
#' @references YSEBAERT R. (et al.), 2011, HyperAtlas, un outil scientifique au
#' service du débat politique - Application à la politique de cohésion de l’Union Européenne, congrès CIST, Collège International des Sciences du Territoire (Paris).
#' @references GRASLAND C., YSEBAERT R., ZANIN C., LAMBERT N., Spatial disparities in Europe (Chapter 4)
#' in GLOERSEN E., DUBOIS A. (coord.), 2007, Regional disparities and cohesion: What Strategies for the future?, DG-IPOL – European Parliament.
#'
#' @docType package
NULL
Expand Down
6 changes: 3 additions & 3 deletions R/tdev.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#' moved to obtain the ratio of the aggregated level on all belonging units.
#' @return A vector is returned.
#' @examples
#' # load dat
#' # load data
#' data("GrandParisMetropole")
#' # compute absolute territorial deviation (EPT level)
#' com$tdevabs <- tdev(x = com, var1 = "INC", var2 = "TH", type = "abs",
Expand All @@ -40,12 +40,12 @@
#' pal2 = "wine.pal", n2 = 3)
#' # plot a choropleth map of the relative territorial deviation
#' choroLayer(spdf = com.spdf, df = com, var = "tdevrel",
#' legend.pos = "topright",
#' legend.pos = "topleft",
#' breaks = bks, border = NA,
#' col = cols)
#' # add symbols proportional to the absolute territorial deviation
#' propSymbolsLayer(spdf = com.spdf, df = com, var = "tdevabs",
#' legend.pos = "right",legend.values.rnd = -5,
#' legend.pos = "left",legend.values.rnd = -5,
#' col = "#ff000050",col2 = "#0000ff50",
#' legend.style = "c", inches = 0.2,
#' breakval = 0)
Expand Down
4 changes: 2 additions & 2 deletions man/MTA.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/tdev.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions vignettes/MTA.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ output:
rmarkdown::html_vignette:
toc: yes
vignette: >
%\VignetteIndexEntry{MTA Historical and Conceptual Background}
%\VignetteIndexEntry{Historical and Conceptual Background}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
Expand All @@ -17,7 +17,7 @@ vignette: >

It is impossible to understand the origin of the implementation of the MTA package without taking into account the specificities of spatial planning in Europe and the **need of monitoring tools and methods for measuring inequalities in Europe**: Early the question of measurement of territorial inequalities has been raised by planners and policy makers. Without being exhaustive, let us remind from a political point of view some usages of statistics and cartography regarding the measure of territorial inequalities in a European context.

```{r fig.width=10,echo=FALSE}
```{r fig.width=7,echo=FALSE}
library(png)
library(grid)
img <- readPNG("./img/figure_MTA1.png")
Expand All @@ -34,7 +34,7 @@ The analysis of these two maps reveals several possibilities for measuring terri

Nowadays, the need to measure territorial disparities at lower scales become more and more important. The historical planning issues managed at national level is in a large extent transferred to regions and local authorities. To act locally, these new territories of governance requires statistical evidences to understand the structure and the dynamics of their territories. As displayed below, a lot of urban agencies and experts financed by public fundings were recently created to provide local pictures of local dynamics (Metropole du Grand Paris, Metropole du Grand Lyon, Greater London, etc.). Here again, the need of territorial information is high.

```{r fig.width=10,echo=FALSE}
```{r fig.width=7,echo=FALSE}
img <- readPNG("./img/figure_MTA2.png")
grid.raster(img)
```
Expand All @@ -53,7 +53,7 @@ MTA methods have been developed in order to highlight in a simple way such situa

The central hypothesis behind the MTA consists to consider that the meaning of a statistical indicator is always dependant of territorial context of reference. Taking a concrete example, knowing that the Gross Domestic Product in 2008 of Nord-Pas-de-Calais is 24 700 euros per capita provides few information itself. It is rather interesting to understand how this region stands as regard to the European Union average (22 800 euros, + 7,7 %), to its country of belonging (France, 30 400 euros, - 18 %) or as compared to its neighbouring regions (24 950 euros, - 1 %). The combination of these deviation measures allows to highlight regions in favourable situations, lagging regions and also to depict contractory situations (e.g. a rich region in a poor country, and vice-versa).

```{r fig.width=10,echo=FALSE}
```{r fig.width=7,echo=FALSE}
img <- readPNG("./img/figure_MTA3.png")
grid.raster(img)
```
Expand Down
Loading

0 comments on commit c858f07

Please sign in to comment.