Importing project results into Decidim accountability

Teams tracking approved projects in spreadsheets or a budgets component can load their status into Decidim accountability through documented paths. This page covers what maps cleanly, which columns can change, and how to sequence a parallel run and cutover.

On this page

How to migrate project results from a spreadsheet into Decidim accountability

The core question is how to move the approved projects and their status updates from a budgets component export or from spreadsheets kept by project teams into Decidim's accountability tracking, so the public can see where each project stands. The short answer is that the work is a data preparation exercise first and an import second. Each project needs a stable identifier, a clear status value, and the amount and description that the public-facing record will show, and those values must be reconciled across every source before anything is loaded.

Effort depends on three things: how clean the source data is, how many projects and status fields exist, and whether the target instance is already on a supported Decidim version. Spreadsheets maintained by several teams often contain duplicate project names, inconsistent status wording, missing dates and amounts written in different formats, and each of these needs a decision before import. Projects that were exported from a budgets component may carry identifiers and fields that map cleanly, but the mapping still has to be checked. The supported versions are listed in the Decidim releases page, and a target instance on an unsupported branch should be upgraded before importing, because the import behavior and the CSV columns that can be changed depend on the installed version.

Before you commit to a timeline, confirm the exact import path and the CSV columns that can be changed against the documentation for the version you run. Do not rely on column names copied from older guides or from another instance, because column handling can differ between releases. Ask the team who will perform the import to run a test import into a staging copy of the platform, check how each status and amount appears on the public page, and record every rejected row with the reason. A sound plan also covers who approves the final status values, who keeps the source spreadsheets after loading, and how later status changes will be entered, since a one-time import does not keep the public record current.

What maps cleanly into Decidim accountability and what does not

This table compares the fields a project team spreadsheet or budgets export typically carries with their closest Decidim accountability and participatory budgeting equivalents. Read each row's mapping label before writing an import file: rows marked as needing a manual decision require an answer from the city or organization before loading begins.

Source fieldDecidim equivalentMapping
Project identifierProject reference used to match the approved budget project, which should be unique within the componentMaps with transformation
Budget line or allocated amountApproved budget of the funded project in the participatory budgeting componentMaps with transformation
Status values (for example, planned, in progress, done)Accountability status text per project, which must match an agreed vocabularyNeeds a manual decision
Progress description (free text)Accountability progress text shown on the public project pageMaps directly
Progress percentageNo native equivalent in the accountability fields; confirm with your Decidim version before mappingNeeds a manual decision
Responsible team or departmentNo dedicated field; may be placed in progress text or handled through admin rolesNeeds a manual decision
Dates (start, end, last update)Start and end dates depend on the fields your version exposes; date formats must be normalizedMaps with transformation
Linked documents and imagesAttachments on the project, uploaded and referenced separately from the CSVNeeds a manual decision
Change history and internal commentsNot carried over; the spreadsheet history stays with the source ownerNeeds a manual decision

Which import paths Decidim documents for project status

Decidim gives teams more than one way to change project status in accountability, but each path depends on the installed version and its documentation. A dedicated status importer and its column names must be confirmed for your version before you plan the load.

Participatory budgets project data

Projects approved in a participatory budgets component already exist in Decidim, so status is usually the field that changes after approval. Check whether that component's documentation for your version exposes status or progress for import, or whether it only holds project records. Confirm this before planning. The person running this path needs administrator access to the budgets component, and should confirm which project identifiers the platform uses before any change is made.

Administration interface updates

Project status and progress can be edited by hand in the accountability component's administration interface. This path needs no file format work, which suits a small number of projects or corrections made after a bulk load. Confirm which roles can edit accountability projects in your version, since permissions are set per component. Effort grows with the number of projects, so record who changed each status and when.

CSV load from team spreadsheets

Project teams often keep status in spreadsheets, which makes a CSV load the path most likely to need custom preparation. Confirm in the documentation whether accountability status has a CSV importer at all, along with the exact column names, delimiter, encoding and the field that matches each row to an existing project. Do not assume column names from another Decidim import. Test with a copy of the file before any live load.

Who runs each load

A bulk status change touches every project in a component, so the person running it needs platform administrator access and the project team needs an approval owner. Confirm which operator role or console access the installed version requires for import tasks. Agree in advance who signs off on status text and progress values, and how a row that matches the wrong project will be reversed.

Version and upgrade check

Import behavior can change between releases, so the exact version in production decides which documentation applies. The 0.31 branch also receives security updates, and Decidim supports only the last two minor versions until version 1.0. Confirm the import path against your patch level, and plan any upgrade one minor version at a time.

Current 0.32 patch
v0.32.1

Backup and staging rehearsal

Decidim's update guidance says to back up the database first, and the same discipline fits a bulk status load. Restore a recent backup into a staging instance, run the load there, and compare public project pages with the source spreadsheet. Confirm the rollback method for your version, because restoring a database also reverts any edits made after the backup.

Updating Decidim docs

Choosing between a budgets component load and a spreadsheet load

Use this route when the approved projects already exist as projects in a participatory budgeting component on the same Decidim instance. Matching is simpler because the stored projects provide the identifiers and titles that the status file must refer to. Confirm in your installed version which field the accountability import uses to match rows, and whether it matches on identifier, title or both.

  • Export the current project list: Take the budget's project list from the admin panel so the status file uses the exact identifiers and titles already stored.
  • Agree the status labels: Settle a short list such as planned, in progress and completed, and check how each label is stored before loading.
  • Leave unknown progress blank: Projects without a reliable figure should keep an empty progress value, so no false zero is published.
  • Handle unmatched rows in a report: Rows that do not match a budget project should appear in the import output so the team can correct the source file and rerun the load.
  • Confirm the component link: Check that the accountability component is linked to the budget and is visible to the public before publishing.

Run the load on a staging copy first and compare a sample of published projects against the source file.

How the spreadsheet moves from team edits to published accountability

The flow starts with project teams editing the tracking spreadsheet, which is exported and checked for changed columns. A validation pass then matches each row against the approved budget project list before the file loads into a staging Decidim instance. The accountability owner reviews the result there, and only an approved load is published to production. Human approval of the column mapping comes before staging, and a failed review sends the file back for correction and re-run.

Approval points and return paths for loading accountability results.

How to sequence the import, parallel run and cutover

This sequence moves project status from a spreadsheet or budgets component into Decidim accountability in controlled stages, so each phase proves the data is right before the old path is retired. Each phase closes with a named artifact that the platform owner, project teams and accountability owner can review.

  1. Inventory projects and status sources

    Start by listing every approved project, where its status is recorded today (a budgets component, a shared spreadsheet, or a team's own tracker), and who updates each source. The platform owner and the accountability owner compile the list with input from each project team, and mark projects that exist in more than one place. Done means a signed-off inventory with one named owner per project and one named source of truth for the import. Ask your Decidim partner or internal team to confirm which fields in the budgets component can be exported, since this sets what the import can match against.

  2. Agree status vocabulary and column mapping

    Define the status values the public will see, such as planned, in progress, completed or cancelled, and map each one to the spreadsheet values teams use today. Write down which CSV columns map to which Decidim fields, which columns are optional, and which must never be changed by teams. The accountability owner approves the vocabulary and the project teams confirm that their rows are represented correctly. Done means a written mapping document and a sample CSV that the platform owner has checked against the importer's expected headers in the staging version of your install.

  3. Run a pilot load on staging

    Load a small, deliberately chosen set of projects into a staging copy of the platform, including at least one project with unusual wording, a missing value and a status that needs mapping. The platform owner runs the import and records every row that failed or was changed unexpectedly. Project teams review the published result for their own projects in staging. Done means a pilot log that lists imported, skipped and rejected rows with reasons, and written sign-off from each team whose projects were in the pilot. Fix the mapping and repeat the pilot until the log has no unexplained rows.

  4. Run the parallel update and comparison

    Keep the spreadsheet as the working document while the platform owner updates Decidim from it on a schedule agreed with the accountability owner. After each update, someone compares the published statuses, progress text and amounts against the spreadsheet and records differences. Project teams correct their rows in the spreadsheet, not in Decidim, during this period so the two sources stay aligned. Done means a comparison report per update cycle showing zero unresolved differences before the next phase begins.

  5. Set and announce the cutover date

    Choose a cutover date with the accountability owner and communicate it to every project team in writing. On that date, the spreadsheet is frozen as a read-only archive, and Decidim becomes the only place where project status is edited. The platform owner takes a database backup before the final import, and the accountability owner confirms that the published pages match the frozen spreadsheet. Done means a cutover record with the backup reference, the final import log and a sign-off from the accountability owner.

  6. Decommission the old update path

    After cutover, remove the old update routes: retire shared links to the spreadsheet, revoke edit access, and update team instructions so that status changes are made only in Decidim. The platform owner confirms that any scheduled import jobs or scripts that read the spreadsheet are disabled, and keeps the archived copy under the retention rules your organization applies to public records. Done means a short closure note listing what was disabled, who confirmed it, and where the archived spreadsheet is stored.

What drives the cost and duration of loading project results

This table compares the factors that raise or lower the effort of loading project statuses into Decidim accountability, and whether each one is paid once or keeps costing time. Read the right-hand columns first: they show what to request in a quote so the scope is written down before work starts.

DriverWhy it changes effortOne-time or recurringWhat to ask for in a quote
Number of projects and status fieldsEach project needs a mapped row, and each status field needs a target in the accountability component. More fields mean more mapping and more checks.One-time for the initial load, recurring if fields keep changingA written list of columns, the count of projects and the status fields in scope
Data quality in the spreadsheetsMissing project IDs, inconsistent status labels, and free-text dates usually need cleaning before import. Cleaning is often the largest share of work.One-time cleanup, recurring if teams enter data the same way againA sample review of the source file, a list of validation rules and the cleaning steps the vendor will and will not perform
Number of teams and file versions in circulationWhen several teams maintain their own copy, the team must decide which version is authoritative and reconcile conflicts before loading.One-time reconciliation, recurring while parallel copies existA named owner for the master file and a rule for which version wins on conflicts
Languages and translationsProject titles, status texts and descriptions in several languages need matching columns and locale checks on the target site.One-time for the mapping, recurring for each new translated updateConfirmation of the languages required and which columns carry translated text
Target Decidim version supportDecidim supports only the last two minor versions with security updates (currently 0.32.x and 0.31.x). Loading onto an unsupported version can add an upgrade step before the import.One-time, but affects every later updateConfirmation of the exact version in production and whether an upgrade is in scope
Custom accountability fields or modulesFields beyond the standard accountability data need custom mapping, and custom code must be tested against each Decidim release.One-time build, recurring when the code is updatedA list of custom fields, the code owner and the test cases to be delivered
Number of parallel-run cyclesEach trial load, check and correction cycle repeats mapping review, import and visual checks. Organizations that want several dry runs before go-live multiply this work.One-time per cycle, typically recurring until go-liveThe number of dry runs included, the sign-off steps and a retest after every change to the source file

What usually goes wrong when project status moves into Decidim

Most problems in a project status import do not come from Decidim itself. They come from vocabulary drift, identifiers that change between tools, and teams who keep working in the old source after the cutover. Each card below names one failure and the check that catches it before participants see the results.

Status vocabularies that do not match

A budgets component may use states such as approved, in progress and delivered, while the team spreadsheet uses in delivery, done and on hold. Unmapped values can fail the import or land under the wrong public label. Freeze a mapping sheet that lists every source status, its Decidim status and the owner who approved it, then run a count of projects per status on both sides before import.

Projects duplicated or orphaned

If a project was renamed, renumbered or moved between components, a re-import can create a second copy or leave an old entry with no current match. Agree which identifier is the stable key before the first load, and record the mapping from old to new identifiers. After import, check for duplicate titles and for projects in the source file that did not find a target.

Teams editing the old spreadsheet

Once the import runs, project teams often keep updating the spreadsheet they know. Those edits never reach Decidim, and the next load can overwrite newer work with stale values. Name one owner for each project who updates status in Decidim after cutover, and state in writing which file is retired. Confirm that the team has been told the spreadsheet is no longer the source.

Dates and currencies parsed incorrectly

Spreadsheets export dates in day-first or month-first formats and amounts with local decimal separators or currency symbols. A parser that assumes the wrong convention can shift completion dates or inflate budgets without raising an error. Specify the exact date format and decimal separator in the CSV, and check a sample of rows against the source by hand, including dates where the day is 12 or lower.

Images and attachments left behind

Progress photos, reports and documents referenced in the source may not transfer with the status row. The import can succeed while project pages show broken or missing media. List every attachment column in the source, decide whether files are uploaded or linked, and confirm each project page after the rehearsal load.

Draft projects published to the public

A project imported in a draft or unpublished state can become visible if the publication flag is set wrongly or if the default changes during the import. Participants may then see incomplete or unapproved status information. Load the file on staging with publication off, review the public view with the project owners, and only then switch publication on in production.

What the work needs from your team

Before any data moves, the team needs access to the target instance and a staging copy of it, with an administrator account that can read the budgets component, the project pages and the accountability component's statuses. Staging matters here because the first import is a dry run: it shows which project rows match an existing project, which fail, and which would publish something the public should not yet see. Also provide the current spreadsheet or export with its edit history, so the team can see which rows were corrected after the last reporting cycle and which values were entered by hand. Ask the project teams to confirm, in writing, which spreadsheet is the source of truth for each approved project. Two copies of the same project in circulation are the most common reason for conflicting statuses after go-live.

Your team also has to make three decisions that no importer can make for you. First, the status vocabulary: the values in the spreadsheet (for example, planned, in progress, delivered) must be mapped to the statuses your accountability component uses, and any value without a match needs a rule, not a guess. Second, publication rules: decide which fields are public, whether progress percentages are shown, and whether a project is published only after the accountability owner has signed off. Third, the owners. Name one accountability owner who approves the mapping and the final parallel run, and one contact in each project team who answers questions about their rows. Expect the accountability owner to spend several working sessions reviewing the mapping file and the staging results, and expect each project contact to check their own rows. Plan that time now, because a parallel run that nobody reviewed simply repeats the spreadsheet's errors in a public page.

A small, clean list can be loaded by a competent administrator who works from the Decidim documentation for the exact version you run, takes a database backup first, and tests on staging. That path is reasonable when the spreadsheet has few projects, one owner, and a stable vocabulary. A partner usually becomes the better option when the statuses need custom mapping, when several spreadsheets must be merged, when project records in the platform do not match the spreadsheet names, or when the parallel run has to be documented for an audit or public accountability review. Confirm with your own administrators how much Rails and database work they can carry, and ask any partner to state in the written scope which steps they own, which they review with you, and who signs off the final run.

Questions buyers ask before loading project results into Decidim

How much does it cost to import project results into Decidim accountability?

No price is published for this work, and the cost comes from the written scope. The main cost is the time of the people doing the mapping, the import script or configuration, the test runs and the review of results with the team that owns the data. The cost goes up with the number of components and projects, the number of data sources, how many status fields need translation into Decidim's categories, and how many rounds of checking the client wants before go-live. Recurring costs are small by comparison: the hosting and any later imports. Ask for a quote that lists each source file or component, the fields in scope, the number of test runs, and who signs off the final load.

How long does a Decidim results import take?

The duration depends mainly on how clean the source data is and how many project teams have to confirm their entries. A single budgets component with consistent status values moves much faster than a set of spreadsheets maintained by different departments with free-text statuses and mixed date formats. Other drivers include the size of the Decidim instance that receives the data, the number of test imports on a staging copy, and how quickly the client can answer questions about projects that do not match. Ask for a timeline in the written scope with separate milestones for mapping, test loads, review and the production load.

What does the client need to provide for the import?

The team needs a working copy of the source data, a staging Decidim environment where the import can be run without touching live results, and a named person who can answer status questions. The source data should include the approved project list, the current status of each project, and the final values for any dates, budgets or responsible teams the accountability component displays. The client should also confirm which Decidim version and components are in use, since the import has to match the component setup in that instance. Confirm access to the database backup process before the first test run, because the Decidim update guide says to back up the database before changes that alter structures.

Can an in-house team import accountability results without a partner?

Yes, if the team has someone comfortable with Ruby on Rails and PostgreSQL, access to a staging instance, and time to review each status change with the owners of the data. Decidim is free and open source under the AGPL-3.0, so nothing in the license blocks an internal import. The honest test is capacity: the work involves mapping inconsistent statuses, writing and checking a repeatable load, and handling projects that do not fit the expected structure. Teams that have not run a Decidim import before often underestimate the review step. A partner is most useful when the internal team needs a documented, rerunnable process they can hand over later.

Is it safe to rerun a Decidim accountability import?

It is safe only when the import is designed to be rerun. Each row should carry a stable project identifier so a second run updates the same records instead of creating duplicates. The first step should be a dry run that reports what would be created, updated or skipped, and the production run should follow a database backup. Keep the source file unchanged after each run and record which version of the file was loaded. Confirm with the Decidim version in use how the component handles repeated updates, and test a rerun on staging before relying on it for live results.

How should projects that do not match the import be handled?

Projects that do not match usually fall into three groups: projects in the spreadsheet that have no matching Decidim project, Decidim projects with no spreadsheet row, and rows with a status or budget value that the component does not accept. Each group needs an owner and a decision before the load. A common approach is to produce an exception report from the dry run, send it to the project teams, and load only the rows that pass validation. Unmatched rows should be fixed in the source or added by hand in Decidim, and the decision should be recorded so the next run does not reopen it. The number of exceptions is one of the largest drivers of effort, so ask for a dry run early.

What happens to the old spreadsheet after the import?

The spreadsheet should be kept as a dated, read-only record of what was loaded, not deleted. Decidim becomes the system where results are published, so the project teams need a clear rule for who edits status from that point, whether in Decidim directly or in a new source file that is imported again. Ask the team to decide how long the old file is retained under the organization's records policy, and who can access it. If the team continues to maintain a spreadsheet, the import should be documented as a repeatable step, not a one-time event, so the two sources do not drift apart.

What should a written scope include before the import starts?

A written scope is the basis for any quote from DeployOpen, and it should be specific enough that both sides can tell when the work is finished. It should name the source files or budgets components, the Decidim version and instance, the fields to be loaded and any transformations, the validation rules, the number of test runs, the exception handling process, and the sign-off step. It should also state what is out of scope, such as changes to the accountability component's design or data that will be entered by hand later. DeployOpen plans, implements, documents and supports self-hosted platforms in the client's own infrastructure, so the scope should also name where the work runs and who holds access.

How DeployOpen scopes and delivers project status imports

DeployOpen approaches importing project results into Decidim accountability as a written, fixed-scope piece of work. We agree which budget component or project team spreadsheet is the source, which CSV columns may change, and how each status maps to what participants see, then build and test the import against a staging copy before anything reaches the live platform.

How we scope

  • The written scope names the source, either a budgets component export or spreadsheets kept by project teams, and who owns each file.
  • We list which CSV columns can change and which are fixed, so status updates do not break the import format.
  • Scope records the Decidim version in use, since the import steps depend on the release running in your environment.

How we build

  • We map each project status value to the accountability fields and check how unmatched or blank rows are reported.
  • Imports run first on a staging copy of your Decidim instance, with a sample of real project rows checked against the admin panel.
  • We document the expected CSV layout and a dry-run step so project teams can validate files before loading them.

How we hand over

  • You receive the import scripts or procedure, the CSV template, the column mapping and a short run book for your administrators.
  • Handover includes a record of test results, the rollback approach and the database backup taken before each load.
  • Your team runs one supervised import with us so the procedure is confirmed in your own environment before you use it alone.

How we support

  • Engagements are fixed-scope, and changes to the CSV layout or source systems are agreed in writing before the work changes.
  • Ongoing support, upgrades and continuous testing are available as a retainer, which covers imports across future Decidim releases.
  • Ask us to confirm the Decidim version and upgrade steps that apply to your instance before any import is repeated.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.