Guidelines for Using Open Baltimore Data
(Notice: Images can be clicked to view a larger version)
Update: 2021-January
General
Data is vital for decision making, with our new Open Data for Baltimore City site, organizations, neighborhoods, business and communities can make better decisions. The current vendor used to host Baltimore’s Open Data is ESRI.
-
Header
In the header section you will find many of the menu option
-
Published Dashboards
In this section you can find all dashboards published by city of Baltimore
-
Browse dataset by Categories
This Section you can browse data bay category. You can click in any of the icons, to view datasets associated with specific categories, for example if you click on “City Government” icon.
-
How to do a manual One-Time Export
You can get to a desired dataset by several means: You can use the search bar or click the desire icon data from the data category section.
Example: Use search bar to see find “Rec & Park” datasetsClick on the “Public Pools in Baltimore City” dataset:
And from here, you can pick your format (suggest csv), name the file, etc.
-
Footer Section
This section provides contact information Terms of Use and Privacy Policy.
-
Use an API to Embed Ongoing Data Pulls into Your Application
One can embed an API call to pull an Open Baltimore dataset directly into one’s application or software platform of choice (i.e. JavaScript, java, R, python, SAS, etc). This inevitably requires some programming skills to get the process to work. Given your language or application, the trick is to find examples on the web to copy.
Example: Get Open Baltimore bike lanes data into a table using JavaScript
-
Search/find data you need (e.g. Bike Lanes)
Click Bike Lanes in next screen (make sure to click ‘dataset’ and not a view)
Select API and click to copy the API Endpoint (You can also select API Docs to learn more about using this specific API). Explore this dataset's API by completing the fields below. The fields will populate the query URL and the output will appear in the JSON box below. If you'd like to know more about the API, please refer to the full REST API documentation.
-
You can click on the “Try it Out” so see the JSON fetch results for Bike Lanes
-
We used the JavaScript fetch API and build a basic HTML table. If you'd like to know more about the API, please refer to the full MDN Web Docs, https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch See code below:
-