We want to thank all the individuals and organizations across the world who have been willing and able to report data in as open and timely manner as possible. To see individuals involved in the often painstaking data curation process, please see beoutbreakprepared/nCoV2019.
The shiny app code was adapted from RShiny Superzip and uses tools from MapBox and Leaflet.js.
I. To run, you need to create a folder called "secrets" and add to that folder:
- A file called mapboxkey.txt that has your mapbox api key on the first line of an otherwise plain text file.
- A file called service_google_api_key.json that has the json object from your Google service API key (see https://gargle.r-lib.org/articles/non-interactive-auth.html for more information).
- A file called google_sheet_name.txt that has the id for the google sheet on the first line of an otherwise plain text file. In this case, you'll almost certainly want to use: 1itaohdPiAeniCXNlntNztZ_oRvjh0HsGuJXUJWET008
II. You also need to create a folder called "data" and run update_and_deploy.R
- You can schedule update_and_deploy.R using cronR, but you need to pass one argument from the command line, which is the full path to the directory containing "update_and_deploy.R"
The below is copied from a post in Virological by Moritz Kraemer that describes the data.
Epidemiological data from the 2019 nCoV outbreak: early descriptions
We have collected publicly available information on cases confirmed during the ongoing nCoV-2019 outbreak. Data were entered in a spreadsheet with each line representing a unique case, including age, sex, geographic information, history and time of travel where available. Sources were included as a reference for each entry. Data is openly available here: https://tinyurl.com/s6gsq5y 107 and was last updated at 5pm, GMT, January 23, 2020. We encourage the use of these data, which is intended as a resource for the community.
In this initial release we focus on cases that were reported outside of Wuhan (202) and fatal cases in Wuhan that had good metadata (18). An initial timeline of events is published below which was last updated on January 21, 7:50pm GMT (Figure 1).
See License.
We provide a license for the code (see LICENSE) and do not claim ownership, nor the right to license, the data we have obtained nor any third-party software tools/code used in our analyses. Please cite the appropriate agency, paper, and/or individual in publications and/or derivatives using these data, contact them regarding the legal use of these data, and remember to pass-forward any existing license/warranty/copyright information. As a reminder, THE DATA AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE DATA AND/OR SOFTWARE OR THE USE OR OTHER DEALINGS IN THE DATA AND/OR SOFTWARE.