Skip to content

Commit

Permalink
Merge pull request #113 from rOpenSpain/cran-release-preps
Browse files Browse the repository at this point in the history
CRAN release preps
  • Loading branch information
e-kotov authored Dec 14, 2024
2 parents da7a822 + 21f257e commit e7424f5
Show file tree
Hide file tree
Showing 70 changed files with 1,584 additions and 1,278 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ README.qmd
^vignettes/flowmaps-static\.qmd$
^man/figures/card\.png$
^man/figures/.*flowmapblue.*
^cran-comments\.md$
119 changes: 111 additions & 8 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@ message: 'To cite package "spanishoddata" in publications use:'
type: software
license: MIT
title: 'spanishoddata: Get Spanish Origin-Destination Data'
version: 0.0.1
version: 0.1.0
doi: 10.32614/CRAN.package.spanishoddata
abstract: Enables access to origin-destination (OD) provided by the Spanish Minstry
abstract: Gain seamless access to origin-destination (OD) data from the Spanish Ministry
of Transport, hosted at <https://www.transportes.gob.es/ministerio/proyectos-singulares/estudios-de-movilidad-con-big-data/opendata-movilidad>.
It contains functions for downloading zone boundaries and associated origin-destination
data. The OD datasets are large. The package eases working with them by using the
database interface package 'duckdb', using an optional environment variable 'SPANISH_OD_DATA_DIR'
to avoid repeated downloads, and by providing documentation demonstrating how to
collect subsets of the resulting databases into memory.
This package simplifies the management of these large datasets by providing tools
to download zone boundaries, handle associated origin-destination data, and process
it efficiently with the 'duckdb' database interface. Local caching minimizes repeated
downloads, streamlining workflows for researchers and analysts. Extensive documentation
is available at <https://ropenspain.github.io/spanishoddata/index.html>, offering
guides on creating static and dynamic mobility flow visualizations and transforming
large datasets into analysis-ready formats.
authors:
- family-names: Kotov
given-names: Egor
Expand Down Expand Up @@ -60,6 +62,18 @@ keywords:
- origin-destination
- rstats
references:
- type: report
title: Estudio de movilidad de viajeros de ámbito nacional aplicando la tecnología
Big Data. Informe metodológico (Study of National Traveler mobility Using Big
Data Technology. Methodological Report)
authors:
- name: MITMS
institution:
name: Secretaría de Estado de Transportes y Movilidad Sostenible; Ministerio de
Transportes, Movilidad y Agenda Urbana
year: '2024'
url: https://www.transportes.gob.es/ministerio/proyectos-singulares/estudio-de-movilidad-con-big-data
date-accessed: '2024-12-11'
- type: software
title: 'R: A Language and Environment for Statistical Computing'
notes: Depends
Expand All @@ -71,6 +85,18 @@ references:
address: Vienna, Austria
year: '2024'
version: '>= 3.5.0'
- type: software
title: checkmate
abstract: 'checkmate: Fast and Versatile Argument Checks'
notes: Imports
url: https://mllg.github.io/checkmate/
repository: https://CRAN.R-project.org/package=checkmate
authors:
- family-names: Lang
given-names: Michel
email: [email protected]
orcid: https://orcid.org/0000-0001-9754-0393
year: '2024'
- type: software
title: curl
abstract: 'curl: A Modern and Flexible Web Client for R'
Expand All @@ -80,9 +106,10 @@ references:
authors:
- family-names: Ooms
given-names: Jeroen
email: [email protected]
email: [email protected]
orcid: https://orcid.org/0000-0002-4035-0289
year: '2024'
version: '>= 5.0.0'
- type: software
title: DBI
abstract: 'DBI: R Database Interface'
Expand Down Expand Up @@ -138,6 +165,7 @@ references:
email: [email protected]
orcid: https://orcid.org/0000-0001-5005-6844
year: '2024'
version: '>= 0.5.0'
- type: software
title: fs
abstract: 'fs: Cross-Platform File System Operations Based on ''libuv'''
Expand Down Expand Up @@ -181,6 +209,17 @@ references:
email: [email protected]
orcid: https://orcid.org/0000-0002-1416-3412
year: '2024'
- type: software
title: httr2
abstract: 'httr2: Perform HTTP Requests and Process the Responses'
notes: Imports
url: https://httr2.r-lib.org
repository: https://CRAN.R-project.org/package=httr2
authors:
- family-names: Wickham
given-names: Hadley
email: [email protected]
year: '2024'
- type: software
title: lubridate
abstract: 'lubridate: Make Dealing with Dates a Little Easier'
Expand Down Expand Up @@ -328,18 +367,32 @@ references:
- family-names: Ooms
given-names: Jeroen
year: '2024'
- type: software
title: flowmapblue
abstract: 'flowmapblue: Flow Map Rendering'
notes: Suggests
url: https://flowmapblue.github.io/flowmapblue.R/
repository: https://CRAN.R-project.org/package=flowmapblue
authors:
- family-names: Boyandin
given-names: Ilya
email: [email protected]
orcid: https://orcid.org/0000-0001-5585-7587
year: '2024'
- type: software
title: flowmapper
abstract: 'flowmapper: Draw Flows (Migration, Goods, Money, Information) on ''ggplot2''
Plots'
notes: Suggests
url: https://github.com/JohMast/flowmapper
repository: https://CRAN.R-project.org/package=flowmapper
authors:
- family-names: Mast
given-names: Johannes
email: [email protected]
orcid: https://orcid.org/0000-0001-6595-5834
year: '2024'
version: '>= 0.1.2'
- type: software
title: furrr
abstract: 'furrr: Apply Mapping Functions in Parallel using Futures'
Expand Down Expand Up @@ -406,6 +459,44 @@ references:
email: [email protected]
orcid: https://orcid.org/0000-0003-4474-2498
year: '2024'
- type: software
title: remotes
abstract: 'remotes: R Package Installation from Remote Repositories, Including ''GitHub'''
notes: Suggests
url: https://remotes.r-lib.org
repository: https://CRAN.R-project.org/package=remotes
authors:
- family-names: Csárdi
given-names: Gábor
email: [email protected]
- family-names: Hester
given-names: Jim
- family-names: Wickham
given-names: Hadley
- family-names: Chang
given-names: Winston
- family-names: Morgan
given-names: Martin
- family-names: Tenenbaum
given-names: Dan
year: '2024'
- type: software
title: scales
abstract: 'scales: Scale Functions for Visualization'
notes: Suggests
url: https://scales.r-lib.org
repository: https://CRAN.R-project.org/package=scales
authors:
- family-names: Wickham
given-names: Hadley
email: [email protected]
- family-names: Pedersen
given-names: Thomas Lin
email: [email protected]
orcid: https://orcid.org/0000-0002-5147-4711
- family-names: Seidel
given-names: Dana
year: '2024'
- type: software
title: testthat
abstract: 'testthat: Unit Testing for R'
Expand All @@ -418,3 +509,15 @@ references:
email: [email protected]
year: '2024'
version: '>= 3.0.0'
- type: software
title: tidyverse
abstract: 'tidyverse: Easily Install and Load the ''Tidyverse'''
notes: Suggests
url: https://tidyverse.tidyverse.org
repository: https://CRAN.R-project.org/package=tidyverse
authors:
- family-names: Wickham
given-names: Hadley
email: [email protected]
year: '2024'

22 changes: 12 additions & 10 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: spanishoddata
Title: Get Spanish Origin-Destination Data
Version: 0.0.1
Version: 0.1.0
Authors@R: c(
person("Egor", "Kotov", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0001-6690-5345")),
Expand All @@ -9,16 +9,18 @@ Authors@R: c(
person("Eugeni", "Vidal-Tortosa", role = "ctb",
comment = c(ORCID = "0000-0001-5199-4103"))
)
Description: Enables access to origin-destination (OD) provided by the
Description: Gain seamless access to origin-destination (OD) data from the
Spanish Ministry of Transport, hosted at
<https://www.transportes.gob.es/ministerio/proyectos-singulares/estudios-de-movilidad-con-big-data/opendata-movilidad>.
It contains functions for downloading zone boundaries and associated
origin-destination data. The OD datasets are large. The package
eases working with them by using the database interface package
'duckdb', using an optional environment variable 'SPANISH_OD_DATA_DIR'
to avoid repeated downloads, and by providing documentation
demonstrating how to collect subsets of the resulting databases into
memory.
This package simplifies the management of these large datasets by
providing tools to download zone boundaries, handle associated
origin-destination data, and process it efficiently with the 'duckdb'
database interface. Local caching minimizes repeated downloads,
streamlining workflows for researchers and analysts. Extensive
documentation is available at
<https://ropenspain.github.io/spanishoddata/index.html>, offering
guides on creating static and dynamic mobility flow visualizations and
transforming large datasets into analysis-ready formats.
License: MIT + file LICENSE
URL: https://rOpenSpain.github.io/spanishoddata/,
https://github.com/rOpenSpain/spanishoddata
Expand Down Expand Up @@ -60,8 +62,8 @@ Suggests:
tidyverse
VignetteBuilder:
quarto
Config/Needs/website: rmarkdown
Config/testthat/edition: 3
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.2
Config/Needs/website: rmarkdown
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# spanishoddata 0.1.0

* Initial CRAN submission.
Loading

0 comments on commit e7424f5

Please sign in to comment.