A new data portal is ready when the old reports still work
What it takes to merge data portals without breaking the reports that depend on them.
Imagine an analyst at a refugee charity opening the spreadsheet for a quarterly funder report. The chart still loads, but the total has dropped. The analyst needs to know whether the population changed or the spreadsheet is reading different data. They can hold the report while they check. If the same spreadsheet feeds a dashboard that publishes automatically, the new figure may already be public.
At a UN briefing in Geneva on 17 November, UNHCR chief statistician Tarek Abou Chabake announced the agency's Refugee Data Portal. It brings together population statistics and information about living conditions and protection needs. UNHCR described the portal as a work in progress, with additional content planned for 2027. Its documentation says the new portal expands on and replaces the Refugee Data Finder. UN Geneva briefing · UNHCR portal documentation
For a charity consolidating its own data portals, the old reports are a good way to test the move. Someone rerunning a report needs to find the equivalent data and check that it still counts the same people. If the new source makes that impossible, the charity has to explain the break in the series before it switches over.
Find the report that depends on the download
The old Refugee Statistics API documents a population endpoint with filters for year, country of origin and country of asylum. The new portal's examples show how to query the official population statistics by series code and filter the observations within it. A browser redirect can bring a person to the new portal, but it can't rewrite the query in a spreadsheet or check how the spreadsheet imports the results. Refugee Statistics API · Refugee Data Portal API
Start with what people publish. Ask which data feed the next grant report, which files a partner imports, and which charts colleagues refresh by hand. For each one, find the person who can say how the figure was assembled. Open the actual workbook or script with them. A file named population.csv tells you little about a hidden filter that removes records or a workbook that fills missing values when it opens.
Request logs help find callers. A partner who fetches a file once a quarter might use it to decide where to place staff, so find out what happens when the data are late or wrong before you rank reports by traffic. Contact organisations that redistribute downloads directly. A single request in the logs could belong to an organisation that sends the same file to several others.
Keep track of what a figure counts
UNHCR's new API documentation uses _T for a total, such as both sexes together, and _X for records where that dimension was unspecified. A script that sums every returned row could count people twice by adding the total to its parts. A script that keeps only the categories its author expected could drop the unspecified records. The documentation also distinguishes refugees under UNHCR's mandate from those under UNRWA's mandate. A report that switches between those definitions can change even when both responses import without errors. Refugee Data Portal API, dimension values
A migration note should show what an old request meant and how to express that request in the new portal. Use a report someone can recognise. If it counts people under one definition in one area at the end of a period, show the equivalent series and filters. If the new series uses a different definition, spell out the difference and show where the series stops being comparable. Two columns can have the same label and still count different populations.
It is fine for a number to change when the source has corrected it. The analyst needs to be able to explain why. The UK government's Data Quality Framework asks data publishers to explain changes in collection or processing that affect how readers interpret trends. A short note beside a chart can then tell readers whether they are seeing a revised estimate, a change in coverage, or a real difference the series is meant to show. Government Data Quality Framework guidance
Run an actual report on both sources
Take a reporting period already signed off. Reproduce the published figures from the old inputs, then run the report with the new ones. Work through differences at the level people use to make decisions. Matching national totals can hide a missing district, and matching row counts can hide an import that turns blanks into zeroes. Compare the result by area and population group. Then open the final chart or export, because a spreadsheet can undo careful work done upstream.
One rehearsal should cover a failed refresh. In a test copy, give the importer an empty download of the kind it might receive after a failed request and see what the report shows. A chart that redraws with zeroes makes the failure hard to spot. If fetching or checking a new file fails, keep the last checked copy available and show when it was fetched. Give whoever signs off the report a way to see that the refresh failed.
Keep the inputs and definitions for published reports wherever the terms and your data handling rules permit it. Record which edition of the data went into each report and how you generated the figures. This is also a practical response to an unreliable connection. UNHCR describes its new API as a best-effort service, advises users to keep a local copy of data they reuse, and directs organisations that need high-volume or production access to contact the agency. A report that is due at noon can run from a permitted local copy while the team checks a failed refresh. Mark that copy's age where the report uses it. Refugee Data Portal API, intended use and fair use
Where a difference turns out to be an error in your old import, fix the import and explain what changed. For some reports that means correcting a published table. For others it means giving readers a clear break in the series. Quietly replacing last year's numbers makes it harder for the next analyst to explain how two copies of the same report came to disagree.
Give people a reporting cycle to move
The Government Digital Service's guidance on retiring a live API recommends announcing the change, giving users time to move and keeping documentation for the old version alongside the replacement. For a charity with a small technology team, the reporting calendar gives that advice a practical shape. If a partner prepares its report at the end of the quarter, time the overlap so someone can run that report against the new source with help available. A notice that goes out and expires between deadlines may never reach the person who needs to act. Government Digital Service, managing your live API
The old portal may be too expensive to run in full. Decide which parts of it still carry a responsibility. A page that points readers to its replacement can live at the old address. A permitted export for a past reporting period can remain available with an explanation of how to reproduce it. A scheduled feed might need a longer overlap while a partner changes its import. Those decisions can be made separately, around the people who actually use each part.
Before switching off a feed, ask the owner of the report that matters most to produce it from the replacement. Check that they can explain any change to the figure and know where to find the inputs next quarter. Keep the old export available during that run, so they can check discrepancies against the original before the old service closes.