sc2cp {sc2sc} | R Documentation |
Implements the geometric spatial transfer of statistics from Spanish census sections to postal code areas
Description
Transfers the statistics available in a set of Spanish census sections from a given year to the corresponding spatial set of Spanish official postal code areas.
Usage
sc2cp(x, year, data.type = "counts", all.units = FALSE, ...)
Arguments
x |
A data frame of order N x K (with K > 1) with the statistics to be spatially transferred/imputed.
The first column must contains the code of the census section to which the statistics belong to. The statistical nature
of the data columns must be of the same type. See the argument |
year |
An integer number. Reference year of the census sections included in the first column of |
data.type |
A character string indicating the type of data to be transferred, either |
all.units |
A |
... |
Other arguments to be passed to the function. Not currently used. |
Value
A list with the following components
df |
A data frame with the statistics spatially transferred to the postal code areas. |
missing |
A vector with the codes of the census sections included in |
Note
The data that allows to transfer throughout time statistics among census sections and/or postal code areas has been own elaboration by the authors using (i) the Spanish Digital Cartography Files available in http://www.ine.es that contain the digitalisation of the georeferenced polygons of the census sections, according to UTM coordinates 28, 29, 30 and 31, and (ii) the Cartography File of postal code areas developed by Goerlich (2022).
Neither The Spanish Statistical Office (Instituto Nacional de EstadÃstica) nor Professor Goerlich had any involvement in preparing this package. They bear no responsibility on the results derived from using this package.
Postal code areas have 2019 as reference year. It must be noted, however, that they can be considered as almost time stationary. Spanish postal code areas are quite stable over time.
Author(s)
Jose M. Pavia, pavia@uv.es
Virgilio Perez virgilio.perez@uv.es
References
Goerlich, FJ (2022). Elaboracion de un mapa de codigos postales de Espana con recursos libres. Como evitar pagar a Correos 6000 euros por informacion de referencia. Working Papers Ivie n. 2022-3. Valencia: Ivie. doi:10.12842/WPIVIE_0322
Pavia, JM and Cantarino, I (2017a). Can dasymetric mapping significantly improve population data reallocation in a dense urban area? Geographical Analysis, 49(2), 155-174. doi:10.1111/gean.12112
Pavia, JM and Cantarino, I (2017b). Dasymetric distribution of votes in a dense city. Applied Geography, 86, 22-31. doi:10.1016/j.apgeog.2017.06.021
See Also
Examples
data <- structure(list(SSCC = c(0103701001, 4619401008, 4603103003),
pop = c(12000L, 14000L, 11000L)),
class = "data.frame", row.names = c(NA, -3L))
example <- sc2cp(x = data, year = 2012, data.type = "counts")