Skip to content

Ultraworking/locally-informed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Locally Informed — Official Resources by Location

Covid-19 is causing considerable disruption worldwide and a lot of people don't know where to find information about the measures taken by their local governments.

We created Locally Informed to help people identify all the key information relevant to their city, state/province, and nation.

Users can go to local.quarantinesupport.com to find all their relevant official sources. This is useful for people to get dialed-in to the right information sources and for other application developers, media, and institutions to help people stay on top of announcements for their region.

We're crowdsourcing the official information by location right now — you can make a difference by adding your local data and telling others about the project. This project was led up by Ultraworking's CTO, Lee Knowlton — we're turning all our attention to helping people affected by lockdown, quarantine, and who have disrupted routines during the Pandemic.

It only takes 5-10 minutes to update data and can make a considerable difference in helping people get informed.

Our motto for this time period is "Parati Servire" — we're here to serve.

Thank you for helping and for spreading the word. Stay safe and strong out there,

Lee Knowlton CTO, Ultraworking

Updates

9th April 2020

  • regions for India have been updated from City-level to State-level.

Directory Structure

Directory Structure

  • [COUNTRY_ISO_CODE]: The 3-Letter ISO Alpha-3 code for the target country. (Example — nzl for New Zealand).
  • [REGION_NAME]: For USA, this will be the 2-Letter State code. (Example — ca for California). For all other countries, this will be the name of the target city. Note: If the name has a space, replace that with the _ character. (Example — kuala_lumpur for Kuala Lumpur City, Malaysia).

NOTE: both the [COUNTRY_ISO_CODE] and [REGION_NAME] should be in lower case.

Contribution Guide — USA

To get started, you will first need to fork and clone the repository. If you are not familiar with contributing to public projects on GitHub the instructions can be found here.

You will then want to navigate to the regions folder. (locally-informed/countries/usa/regions).

1. Add resources to an existing data source for a State:

  • Find the JSON file for the State by searching for its 2-Letter State Code. (Example — ca.json for California).
  • Open the JSON file using a text editor and add the resources by following the file structure.
  • Save the file and commit and push to a branch in your cloned repository.
  • Submit a Pull Request to the locally-informed repository.

2. Create a data source and add resources for a State:

Note: Make sure that a data source does not already exist for the State

  • Copy the region_template.json file from locally-informed/templates.
  • Paste the copied region_template.json file into locally-informed/countries/usa/regions.
  • Rename the file with the 2-Letter State Code. Example — tx.json for Texas.
  • Open the template and follow the structure to add resources. You can use data sources for other States as reference.
  • Save the file and commit and push to a branch in your cloned repository.
  • Submit a Pull Request to the locally-informed repository.

Contribution Guide — Rest of the World

To get started, you will first need to fork and clone the repository. If you are not familiar with contributing to public projects on GitHub the instructions can be found here.

1. Add resources to an existing data source for a Country:

  • Find the JSON file for the Country by searching for its 3-Letter ISO Alpha-3 code. (Example — deu.json for Germany).
  • Open the JSON file using a text editor and add the resources by following the file structure.
  • Save the file and commit and push to a branch in your cloned repository.
  • Submit a Pull Request to the locally-informed repository.

2. Create a data source and add resources for a Country:

Note: Make sure that a data source does not already exist for the Country

  • Copy the country_template.json file from locally-informed/templates.
  • Create a new folder inside locally-informed/countries.
  • Rename the folder with the 3-Letter ISO Alpha-3 code. (Example — ita for Italy).
  • Paste the copied country_template.json file into the created folder.
  • Rename the file with the 3-Letter ISO Alpha-3 code. (Example — ita.json for Italy).
  • Open the template and follow the structure to add resources. You can use data sources for other Countries as reference.
  • Save the file and commit and push to a branch in your cloned repository.
  • Submit a Pull Request to the locally-informed repository.

3. Add resources to an existing data source for a City:

  • Find the JSON file for the City by searching for its City name inside locally-informed/countries/[COUNTRY_NAME]/regions. (Example — warsaw.json for Warsaw, Poland).
  • Open the JSON file using a text editor and add the resources by following the file structure.
  • Save the file and commit and push to a branch in your cloned repository.
  • Submit a Pull Request to the locally-informed repository.

4. Create a data source and add resources for a City:

Note: Make sure that a data source does not already exist for the City

  • Copy the region_template.json file from locally-informed/templates.
  • Paste the copied region_template.json file into locally-informed/countries/[COUNTRY_NAME]/regions.
  • Rename the file with the respective city name. (Example — auckland.json for Auckland, New Zealand).
  • Open the template and follow the structure to add resources. You can use data sources for other Cities as reference.
  • Save the file and commit and push to a branch in your cloned repository.
  • Submit a Pull Request to the locally-informed repository.

About

Stay informed with local coronavirus information

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published