Districts with no pharmacy close by
Blocks with many people and few pharmacies, ranked.
What it does
Every quarter: blocks of your city with many residents and the fewest pharmacies within 2 km, ranked, for the health department’s night-duty plan.
In one sentence: Monthly on the 1st at 08:00, in Bucharest, count who lives around, count the pharmacies within 2 km of each, work out new fields, sort them by per_pharmacy and keep the top 20, then email the list to you.
Why it is useful
Night pharmacies must be within reach of everyone. The gaps show where to assign duty.
Who it is for
Government & smart cities. Municipalities, agencies and city teams planning services and keeping residents safe and informed. Every use case for government & cities
Best use cases
- A city health department
- A pharmacists’ association
- A ministry of health
What each run gives you
- An email
The time it saves
Monthly on the 1st at 08:00. Doing the same work by hand takes about 120 minutes each time; it runs about 1 time a month, so it saves about 2 hours a month (an estimate). It is medium: 7 blocks.
The flow, block by block
- On the 1st of every monthTrigger · ScheduleStarts the flow on a timetable.
- My cityWhere · Area of interestSets where the flow looks: countries, cities or specific places, or areas you draw on a map.
- People in every block of the cityxMap data · DemographicsWho lives in an area: the number of residents, men and women, and nine age groups, from xMap’s population grid (hexagons of about 0.1 km², about 100 countries).
- Pharmacies within 2 kmxMap data · Nearby placesPlaces around a point from xMap’s own places database (300M+ places, refreshed every month): pick the types of place (more than 5,000, such as Restaurant, Cafe, Pharmacy, Hospital or Gas station, or a whole group of them) and how far to look.
- People per pharmacyLogic · Calculated fieldAdds fields worked out from the others: a number, a text or a yes/no.
- Best 20 firstLogic · Sort and limitPuts the items in order, and can keep only the first ones: the 10 best rated, the 20 nearest, the highest fit scores.
- Email me the listAction · EmailSends one email per run with all the items, or one email per item.
Every block can be changed after you use the template: the city, the type of place, the score, where the results go.
Use it now
Answer a few questions, enter your work email, and it runs in your own account, kept running until you pause it. Use this template.
How to set it up
- Ask the map a question: How many of a kind of place, how many people for each, and where the gaps are, answered on the spot.
- Count what is around each of your places: Competitors, footfall magnets or services within a distance of each site.
- Compare sites side by side: Two or three spots measured the same way, one column each, the best of every row marked and the best site and why.
- An instant site report of any spot: Paused for now while xMap improves the data behind it. Reports already made still open.
- Location intelligence: Using where things are, and what is around them, to make business decisions.
- Catchment area: The area a store or service draws its customers from.
- Drive time vs radius: Two ways to draw the area around a site, and when each is good enough.
More for Government & smart cities
- Weekly city safety report: A weekly city safety report: incidents, people affected, hotspots investigated, actions.
- Neighbourhoods far from a hospital: Neighbourhoods with no hospital within 5 km, most populated first.
- Children per school, block by block: Children per school in every block of the city, the most crowded first.
- Incidents and the people they affect: Road incidents and how many people live around each, every morning.
- New roadworks and the residents affected: New roadworks this week and the residents affected.
- New businesses in the municipality: New businesses in the municipality by kind, every month.