Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • floodam-data floodam-data
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 19
    • Issues 19
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

La forge institutionnelle d'INRAE étant en production depuis le 10 juin 2025, nous vous recommandons d'y créer tous vos nouveaux projets.

  • flood-appraisal
  • floodamfloodam
  • floodam-datafloodam-data
  • Issues
  • #25
Closed
Open
Issue created Dec 30, 2022 by Grelot Frederic@frederic.grelot🏊🏿Owner

manage RPG

Management of RPG database

RPG is a DB that describes the usage of agricultural plots in France organization for France. It is maintained by ASP with the help of IGN for distribution. In 2022, its version is 2. It has different version

  • RPG niveau 1 that is a distributed by IGN
  • RPG niveau 2 that is a distributed by ASP, with a need to ask for it (and justify why). It has some more informations that allow to group plots by farms.

RPG niveau 1 can be downloaded from IGN or from data.cquest :

  • https://geoservices.ign.fr/rpg gives the link to archive for IGN, but not to old year versions.
  • https://data.cquest.org/ign/adminexpress/ gives the link to archive without restriction in terms of date (but it does not have the last one). Normally the archives have exactly the same name as for IGN.

Functions/dataset to be added

  • download_rpg
    • description download the data from official repository (and data.cquest as it is by far more reliable...)
    • adaptation of download.rpg
    • use new journal (add_log_info)
    • output archive in original version
  • adapt_rpg
    • description format the data from official repository in aimed data based on scheme_rpg_1 or scheme_rpg_2 depending on version
    • adaptation of adapt_rpg
    • use new journal (add_log_info)
    • output: archive in formatted version
    • intégrer le travail de @maxime.modjeska #25 (comment 77315)
  • scheme_rpg_1 and scheme_rpg_2
    • description global data to be used for formatting data
    • verification of what has already be done
    • intégrer le travail de @maxime.modjeska #25 (comment 75728)
  • analyse_rpg
    • description some analyses to be performed after downloading and formatting.
    • This should be based on a simplification of what @maxime.modjeska has done in Cafrua. #25 (comment 75379)
  • vignettes/rpg_fr
    • description presentation of the data in French
    • should be completed.
  • vignettes/rpg_en
    • description presentation of the data in French
    • should be a translation of rpg_fr, when it is done.

For each function/dataset. Please follow this procedure

  • creation of function
    • code of function
    • documentation of function
    • example for function
    • test for function
  • creation of dataset
    • script for creation of "raw" data (if needed)
    • storage of raw data in ascii format, normally in inst/extdata
    • script in to maintain data in /data-raw
    • documentation of data
Edited Mar 24, 2023 by Maxime Modjeska
Assignee
Assign to
Time tracking