diff --git a/.gitignore b/.gitignore index 8eff68f..3a72ee7 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,8 @@ vignettes/*.pdf # OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3 .httr-oauth +.Rproj.user + +# html files +.html + diff --git a/Brazil/BR_Data_Guide.csv b/Brazil/BR_Data_Guide.csv new file mode 100644 index 0000000..002b2cd --- /dev/null +++ b/Brazil/BR_Data_Guide.csv @@ -0,0 +1,8 @@ +data_field_code,data_field,full_description_en,full_description_original,report_name,unit +BR0001,microcephaly_under_investiagion,"Reported cases of microcephaly and/or altered centreal nervous system, suggestive of congenital infection in fetuses, abortions, stillbirths or recent live births - Under Investigation","Casos notificados de Microcefalia e/ou Altera??es do SNC, sugestivos de infec??o cong?nita, em fetos, abortamentos, natimortos ou rec?m-nascidos vivos - Permanecem em investiga??o",COES_Microcephaly,cases +BR0002,microcephaly_confirmed,"Reported cases of microcephaly and/or altered centreal nervous system, suggestive of congenital infection in fetuses, abortions, stillbirths or recent live births - Investigated and confirmed","Casos notificados de Microcefalia e/ou Altera??es do SNC, sugestivos de infec??o cong?nita, em fetos, abortamentos, natimortos ou rec?m-nascidos vivos - investigados e confirmados",COES_Microcephaly,cases +BR0003,microcephaly_not,"Reported cases of microcephaly and/or altered centreal nervous system, suggestive of congenital infection in fetuses, abortions, stillbirths or recent live births - Discarded","Casos notificados de Microcefalia e/ou Altera??es do SNC, sugestivos de infec??o cong?nita, em fetos, abortamentos, natimortos ou rec?m-nascidos vivos - investigados e descartados",COES_Microcephaly,cases +BR0004,municipality_microcephaly,Number of municipalities with confirmed microcephaly cases,Total de munic?pios com casos confirmados,COES_Microcephaly,municipalities +BR0005,microcephaly_fatal_under_investiagion,Classification of suspect cases of microcephaly and/or altered central nervous system who died after birth or during pregnancy - Under investigation,Classifica??o dos casos notificados com microcefalia e/ou altera??o do SNC que evolu?ram para ?bito ap?s o parto ou durante a gesta??o - Em investiga??o,COES_Microcephaly,cases +BR0006,microcephaly_fatal_confirmed,Classification of suspect cases of microcephaly and/or altered central nervous system who died after birth or during pregnancy - Confirmed,Classifica??o dos casos notificados com microcefalia e/ou altera??o do SNC que evolu?ram para ?bito ap?s o parto ou durante a gesta??o - Confirmado,COES_Microcephaly,cases +BR0007,microcephaly_fatal_not,Classification of suspect cases of microcephaly and/or altered central nervous system who died after birth or during pregnancy - Discarded,Classifica??o dos casos notificados com microcefalia e/ou altera??o do SNC que evolu?ram para ?bito ap?s o parto ou durante a gesta??o - Descartado,COES_Microcephaly,cases \ No newline at end of file diff --git a/Brazil/BR_Places.csv b/Brazil/BR_Places.csv new file mode 100644 index 0000000..ed5820e --- /dev/null +++ b/Brazil/BR_Places.csv @@ -0,0 +1,28 @@ +"location","location_type","country","state_province","district_country_muncipality","city","alt_name1","alt_name2" +"Brazil-Alagoas","state","Brazil","Alagoas",NA,NA,"Alagoas",NA +"Brazil-Bahia","state","Brazil","Bahia",NA,NA,"Bahia",NA +"Brazil-Ceara","state","Brazil","Ceara",NA,NA,"Cear",NA +"Brazil-Maranhao","state","Brazil","Maranhao",NA,NA,"Maranho",NA +"Brazil-Paraiba","state","Brazil","Paraiba",NA,NA,"Paraba",NA +"Brazil-Pernambuco","state","Brazil","Pernambuco",NA,NA,"Pernambuco",NA +"Brazil-Piaui","state","Brazil","Piaui",NA,NA,"Piau",NA +"Brazil-Rio_Grande_do_Norte","state","Brazil","Rio Grande do Norte",NA,NA,"Rio Grande do Norte",NA +"Brazil-Sergipe","state","Brazil","Sergipe",NA,NA,"Sergipe",NA +"Brazil-Espirito_Santo","state","Brazil","Espirito Santo",NA,NA,"Esprito Santo",NA +"Brazil-Minas_Gerais","state","Brazil","Minas Gerais",NA,NA,"Minas Gerais",NA +"Brazil-Rio_de_Janeiro","state","Brazil","Rio de Janeiro",NA,NA,"Rio de Janeiro",NA +"Brazil-Sao_Paulo","state","Brazil","Sao Paulo",NA,NA,"So Paulo",NA +"Brazil-Acre","state","Brazil","Acre",NA,NA,"Acre",NA +"Brazil-Amapa","state","Brazil","Amapa",NA,NA,"Amap",NA +"Brazil-Amazonas","state","Brazil","Amazonas",NA,NA,"Amazonas",NA +"Brazil-Para","state","Brazil","Para",NA,NA,"Par",NA +"Brazil-Rondonia","state","Brazil","Rondonia",NA,NA,"Rondnia",NA +"Brazil-Roraima","state","Brazil","Roraima",NA,NA,"Roraima",NA +"Brazil-Tocantins","state","Brazil","Tocantins",NA,NA,"Tocantins",NA +"Brazil-Distrito_Federal","state","Brazil","Distrito Federal",NA,NA,"Distrito Federal",NA +"Brazil-Goias","state","Brazil","Goias",NA,NA,"Gois",NA +"Brazil-Mato_Grosso","state","Brazil","Mato Grosso",NA,NA,"Mato Grosso",NA +"Brazil-Mato_Grosso_do_Sul","state","Brazil","Mato Grosso do Sul",NA,NA,"Mato Grosso do Sul",NA +"Brazil-Parana","state","Brazil","Parana",NA,NA,"Paran",NA +"Brazil-Santa_Catarina","state","Brazil","Santa Catarina",NA,NA,"Santa Catarina",NA +"Brazil-Rio_Grande_do_Sul","state","Brazil","Rio Grande do Sul",NA,NA,"Rio Grande do Sul",NA diff --git a/Brazil/COES_Microcephaly/data/COES_Microcephaly-2016-02-13.csv b/Brazil/COES_Microcephaly/data/COES_Microcephaly-2016-02-13.csv new file mode 100644 index 0000000..ca4c905 --- /dev/null +++ b/Brazil/COES_Microcephaly/data/COES_Microcephaly-2016-02-13.csv @@ -0,0 +1,140 @@ +"report_date","location","location_type","data_field","data_field_code","time_period","time_period_type","value","unit" +"2016-02-13","Brazil-Acre","state","microcephaly_under_investiagion","BR0001",NA,NA,22,"cases" +"2016-02-13","Brazil-Alagoas","state","microcephaly_under_investiagion","BR0001",NA,NA,90,"cases" +"2016-02-13","Brazil-Amapa","state","microcephaly_under_investiagion","BR0001",NA,NA,NA,"cases" +"2016-02-13","Brazil-Amazonas","state","microcephaly_under_investiagion","BR0001",NA,NA,NA,"cases" +"2016-02-13","Brazil-Bahia","state","microcephaly_under_investiagion","BR0001",NA,NA,583,"cases" +"2016-02-13","Brazil-Ceara","state","microcephaly_under_investiagion","BR0001",NA,NA,243,"cases" +"2016-02-13","Brazil-Distrito_Federal","state","microcephaly_under_investiagion","BR0001",NA,NA,6,"cases" +"2016-02-13","Brazil-Espirito_Santo","state","microcephaly_under_investiagion","BR0001",NA,NA,58,"cases" +"2016-02-13","Brazil-Goias","state","microcephaly_under_investiagion","BR0001",NA,NA,72,"cases" +"2016-02-13","Brazil-Maranhao","state","microcephaly_under_investiagion","BR0001",NA,NA,159,"cases" +"2016-02-13","Brazil-Mato_Grosso","state","microcephaly_under_investiagion","BR0001",NA,NA,122,"cases" +"2016-02-13","Brazil-Mato_Grosso_do_Sul","state","microcephaly_under_investiagion","BR0001",NA,NA,5,"cases" +"2016-02-13","Brazil-Minas_Gerais","state","microcephaly_under_investiagion","BR0001",NA,NA,24,"cases" +"2016-02-13","Brazil-Para","state","microcephaly_under_investiagion","BR0001",NA,NA,10,"cases" +"2016-02-13","Brazil-Paraiba","state","microcephaly_under_investiagion","BR0001",NA,NA,423,"cases" +"2016-02-13","Brazil-Parana","state","microcephaly_under_investiagion","BR0001",NA,NA,1,"cases" +"2016-02-13","Brazil-Pernambuco","state","microcephaly_under_investiagion","BR0001",NA,NA,1203,"cases" +"2016-02-13","Brazil-Piaui","state","microcephaly_under_investiagion","BR0001",NA,NA,74,"cases" +"2016-02-13","Brazil-Rio_Grande_do_Norte","state","microcephaly_under_investiagion","BR0001",NA,NA,228,"cases" +"2016-02-13","Brazil-Rio_Grande_do_Sul","state","microcephaly_under_investiagion","BR0001",NA,NA,0,"cases" +"2016-02-13","Brazil-Rio_de_Janeiro","state","microcephaly_under_investiagion","BR0001",NA,NA,227,"cases" +"2016-02-13","Brazil-Rondonia","state","microcephaly_under_investiagion","BR0001",NA,NA,1,"cases" +"2016-02-13","Brazil-Roraima","state","microcephaly_under_investiagion","BR0001",NA,NA,8,"cases" +"2016-02-13","Brazil-Santa_Catarina","state","microcephaly_under_investiagion","BR0001",NA,NA,0,"cases" +"2016-02-13","Brazil-Sergipe","state","microcephaly_under_investiagion","BR0001",NA,NA,177,"cases" +"2016-02-13","Brazil-Sao_Paulo","state","microcephaly_under_investiagion","BR0001",NA,NA,111,"cases" +"2016-02-13","Brazil-Tocantins","state","microcephaly_under_investiagion","BR0001",NA,NA,88,"cases" +"2016-02-13","Brazil-Acre","state","microcephaly_confirmed","BR0002",NA,NA,0,"cases" +"2016-02-13","Brazil-Alagoas","state","microcephaly_confirmed","BR0002",NA,NA,25,"cases" +"2016-02-13","Brazil-Amapa","state","microcephaly_confirmed","BR0002",NA,NA,NA,"cases" +"2016-02-13","Brazil-Amazonas","state","microcephaly_confirmed","BR0002",NA,NA,NA,"cases" +"2016-02-13","Brazil-Bahia","state","microcephaly_confirmed","BR0002",NA,NA,107,"cases" +"2016-02-13","Brazil-Ceara","state","microcephaly_confirmed","BR0002",NA,NA,24,"cases" +"2016-02-13","Brazil-Distrito_Federal","state","microcephaly_confirmed","BR0002",NA,NA,0,"cases" +"2016-02-13","Brazil-Espirito_Santo","state","microcephaly_confirmed","BR0002",NA,NA,3,"cases" +"2016-02-13","Brazil-Goias","state","microcephaly_confirmed","BR0002",NA,NA,6,"cases" +"2016-02-13","Brazil-Maranhao","state","microcephaly_confirmed","BR0002",NA,NA,0,"cases" +"2016-02-13","Brazil-Mato_Grosso","state","microcephaly_confirmed","BR0002",NA,NA,0,"cases" +"2016-02-13","Brazil-Mato_Grosso_do_Sul","state","microcephaly_confirmed","BR0002",NA,NA,1,"cases" +"2016-02-13","Brazil-Minas_Gerais","state","microcephaly_confirmed","BR0002",NA,NA,0,"cases" +"2016-02-13","Brazil-Para","state","microcephaly_confirmed","BR0002",NA,NA,1,"cases" +"2016-02-13","Brazil-Paraiba","state","microcephaly_confirmed","BR0002",NA,NA,56,"cases" +"2016-02-13","Brazil-Parana","state","microcephaly_confirmed","BR0002",NA,NA,0,"cases" +"2016-02-13","Brazil-Pernambuco","state","microcephaly_confirmed","BR0002",NA,NA,182,"cases" +"2016-02-13","Brazil-Piaui","state","microcephaly_confirmed","BR0002",NA,NA,30,"cases" +"2016-02-13","Brazil-Rio_Grande_do_Norte","state","microcephaly_confirmed","BR0002",NA,NA,70,"cases" +"2016-02-13","Brazil-Rio_Grande_do_Sul","state","microcephaly_confirmed","BR0002",NA,NA,1,"cases" +"2016-02-13","Brazil-Rio_de_Janeiro","state","microcephaly_confirmed","BR0002",NA,NA,2,"cases" +"2016-02-13","Brazil-Rondonia","state","microcephaly_confirmed","BR0002",NA,NA,0,"cases" +"2016-02-13","Brazil-Roraima","state","microcephaly_confirmed","BR0002",NA,NA,0,"cases" +"2016-02-13","Brazil-Santa_Catarina","state","microcephaly_confirmed","BR0002",NA,NA,0,"cases" +"2016-02-13","Brazil-Sergipe","state","microcephaly_confirmed","BR0002",NA,NA,0,"cases" +"2016-02-13","Brazil-Sao_Paulo","state","microcephaly_confirmed","BR0002",NA,NA,0,"cases" +"2016-02-13","Brazil-Tocantins","state","microcephaly_confirmed","BR0002",NA,NA,0,"cases" +"2016-02-13","Brazil-Acre","state","microcephaly_not","BR0003",NA,NA,0,"cases" +"2016-02-13","Brazil-Alagoas","state","microcephaly_not","BR0003",NA,NA,89,"cases" +"2016-02-13","Brazil-Amapa","state","microcephaly_not","BR0003",NA,NA,NA,"cases" +"2016-02-13","Brazil-Amazonas","state","microcephaly_not","BR0003",NA,NA,NA,"cases" +"2016-02-13","Brazil-Bahia","state","microcephaly_not","BR0003",NA,NA,54,"cases" +"2016-02-13","Brazil-Ceara","state","microcephaly_not","BR0003",NA,NA,20,"cases" +"2016-02-13","Brazil-Distrito_Federal","state","microcephaly_not","BR0003",NA,NA,17,"cases" +"2016-02-13","Brazil-Espirito_Santo","state","microcephaly_not","BR0003",NA,NA,3,"cases" +"2016-02-13","Brazil-Goias","state","microcephaly_not","BR0003",NA,NA,2,"cases" +"2016-02-13","Brazil-Maranhao","state","microcephaly_not","BR0003",NA,NA,16,"cases" +"2016-02-13","Brazil-Mato_Grosso","state","microcephaly_not","BR0003",NA,NA,46,"cases" +"2016-02-13","Brazil-Mato_Grosso_do_Sul","state","microcephaly_not","BR0003",NA,NA,5,"cases" +"2016-02-13","Brazil-Minas_Gerais","state","microcephaly_not","BR0003",NA,NA,39,"cases" +"2016-02-13","Brazil-Para","state","microcephaly_not","BR0003",NA,NA,0,"cases" +"2016-02-13","Brazil-Paraiba","state","microcephaly_not","BR0003",NA,NA,287,"cases" +"2016-02-13","Brazil-Parana","state","microcephaly_not","BR0003",NA,NA,9,"cases" +"2016-02-13","Brazil-Pernambuco","state","microcephaly_not","BR0003",NA,NA,159,"cases" +"2016-02-13","Brazil-Piaui","state","microcephaly_not","BR0003",NA,NA,12,"cases" +"2016-02-13","Brazil-Rio_Grande_do_Norte","state","microcephaly_not","BR0003",NA,NA,20,"cases" +"2016-02-13","Brazil-Rio_Grande_do_Sul","state","microcephaly_not","BR0003",NA,NA,0,"cases" +"2016-02-13","Brazil-Rio_de_Janeiro","state","microcephaly_not","BR0003",NA,NA,4,"cases" +"2016-02-13","Brazil-Rondonia","state","microcephaly_not","BR0003",NA,NA,0,"cases" +"2016-02-13","Brazil-Roraima","state","microcephaly_not","BR0003",NA,NA,0,"cases" +"2016-02-13","Brazil-Santa_Catarina","state","microcephaly_not","BR0003",NA,NA,1,"cases" +"2016-02-13","Brazil-Sergipe","state","microcephaly_not","BR0003",NA,NA,8,"cases" +"2016-02-13","Brazil-Sao_Paulo","state","microcephaly_not","BR0003",NA,NA,29,"cases" +"2016-02-13","Brazil-Tocantins","state","microcephaly_not","BR0003",NA,NA,17,"cases" +"2016-02-13","Brazil-Alagoas","state","municipality_microcephaly","BR0004",NA,NA,14,"municipalities" +"2016-02-13","Brazil-Bahia","state","municipality_microcephaly","BR0004",NA,NA,26,"municipalities" +"2016-02-13","Brazil-Ceara","state","municipality_microcephaly","BR0004",NA,NA,15,"municipalities" +"2016-02-13","Brazil-Espirito_Santo","state","municipality_microcephaly","BR0004",NA,NA,3,"municipalities" +"2016-02-13","Brazil-Goias","state","municipality_microcephaly","BR0004",NA,NA,5,"municipalities" +"2016-02-13","Brazil-Mato_Grosso_do_Sul","state","municipality_microcephaly","BR0004",NA,NA,1,"municipalities" +"2016-02-13","Brazil-Para","state","municipality_microcephaly","BR0004",NA,NA,1,"municipalities" +"2016-02-13","Brazil-Paraiba","state","municipality_microcephaly","BR0004",NA,NA,27,"municipalities" +"2016-02-13","Brazil-Pernambuco","state","municipality_microcephaly","BR0004",NA,NA,65,"municipalities" +"2016-02-13","Brazil-Piaui","state","municipality_microcephaly","BR0004",NA,NA,9,"municipalities" +"2016-02-13","Brazil-Rio_Grande_do_Norte","state","municipality_microcephaly","BR0004",NA,NA,34,"municipalities" +"2016-02-13","Brazil-Rio_Grande_do_Sul","state","municipality_microcephaly","BR0004",NA,NA,1,"municipalities" +"2016-02-13","Brazil-Rio_de_Janeiro","state","municipality_microcephaly","BR0004",NA,NA,2,"municipalities" +"2016-02-13","Brazil-Acre","state","microcephaly_fatal_under_investiagion","BR0005",NA,NA,1,"cases" +"2016-02-13","Brazil-Alagoas","state","microcephaly_fatal_under_investiagion","BR0005",NA,NA,2,"cases" +"2016-02-13","Brazil-Bahia","state","microcephaly_fatal_under_investiagion","BR0005",NA,NA,18,"cases" +"2016-02-13","Brazil-Ceara","state","microcephaly_fatal_under_investiagion","BR0005",NA,NA,3,"cases" +"2016-02-13","Brazil-Goias","state","microcephaly_fatal_under_investiagion","BR0005",NA,NA,1,"cases" +"2016-02-13","Brazil-Maranhao","state","microcephaly_fatal_under_investiagion","BR0005",NA,NA,1,"cases" +"2016-02-13","Brazil-Mato_Grosso","state","microcephaly_fatal_under_investiagion","BR0005",NA,NA,3,"cases" +"2016-02-13","Brazil-Minas_Gerais","state","microcephaly_fatal_under_investiagion","BR0005",NA,NA,0,"cases" +"2016-02-13","Brazil-Paraiba","state","microcephaly_fatal_under_investiagion","BR0005",NA,NA,10,"cases" +"2016-02-13","Brazil-Parana","state","microcephaly_fatal_under_investiagion","BR0005",NA,NA,0,"cases" +"2016-02-13","Brazil-Pernambuco","state","microcephaly_fatal_under_investiagion","BR0005",NA,NA,16,"cases" +"2016-02-13","Brazil-Piaui","state","microcephaly_fatal_under_investiagion","BR0005",NA,NA,0,"cases" +"2016-02-13","Brazil-Rio_Grande_do_Norte","state","microcephaly_fatal_under_investiagion","BR0005",NA,NA,6,"cases" +"2016-02-13","Brazil-Sergipe","state","microcephaly_fatal_under_investiagion","BR0005",NA,NA,7,"cases" +"2016-02-13","Brazil-Sao_Paulo","state","microcephaly_fatal_under_investiagion","BR0005",NA,NA,2,"cases" +"2016-02-13","Brazil-Acre","state","microcephaly_fatal_confirmed","BR0006",NA,NA,0,"cases" +"2016-02-13","Brazil-Alagoas","state","microcephaly_fatal_confirmed","BR0006",NA,NA,2,"cases" +"2016-02-13","Brazil-Bahia","state","microcephaly_fatal_confirmed","BR0006",NA,NA,0,"cases" +"2016-02-13","Brazil-Ceara","state","microcephaly_fatal_confirmed","BR0006",NA,NA,9,"cases" +"2016-02-13","Brazil-Goias","state","microcephaly_fatal_confirmed","BR0006",NA,NA,0,"cases" +"2016-02-13","Brazil-Maranhao","state","microcephaly_fatal_confirmed","BR0006",NA,NA,0,"cases" +"2016-02-13","Brazil-Mato_Grosso","state","microcephaly_fatal_confirmed","BR0006",NA,NA,0,"cases" +"2016-02-13","Brazil-Minas_Gerais","state","microcephaly_fatal_confirmed","BR0006",NA,NA,0,"cases" +"2016-02-13","Brazil-Paraiba","state","microcephaly_fatal_confirmed","BR0006",NA,NA,3,"cases" +"2016-02-13","Brazil-Parana","state","microcephaly_fatal_confirmed","BR0006",NA,NA,0,"cases" +"2016-02-13","Brazil-Pernambuco","state","microcephaly_fatal_confirmed","BR0006",NA,NA,0,"cases" +"2016-02-13","Brazil-Piaui","state","microcephaly_fatal_confirmed","BR0006",NA,NA,3,"cases" +"2016-02-13","Brazil-Rio_Grande_do_Norte","state","microcephaly_fatal_confirmed","BR0006",NA,NA,10,"cases" +"2016-02-13","Brazil-Sergipe","state","microcephaly_fatal_confirmed","BR0006",NA,NA,0,"cases" +"2016-02-13","Brazil-Sao_Paulo","state","microcephaly_fatal_confirmed","BR0006",NA,NA,0,"cases" +"2016-02-13","Brazil-Acre","state","microcephaly_fatal_not","BR0007",NA,NA,0,"cases" +"2016-02-13","Brazil-Alagoas","state","microcephaly_fatal_not","BR0007",NA,NA,0,"cases" +"2016-02-13","Brazil-Bahia","state","microcephaly_fatal_not","BR0007",NA,NA,0,"cases" +"2016-02-13","Brazil-Ceara","state","microcephaly_fatal_not","BR0007",NA,NA,0,"cases" +"2016-02-13","Brazil-Goias","state","microcephaly_fatal_not","BR0007",NA,NA,1,"cases" +"2016-02-13","Brazil-Maranhao","state","microcephaly_fatal_not","BR0007",NA,NA,0,"cases" +"2016-02-13","Brazil-Mato_Grosso","state","microcephaly_fatal_not","BR0007",NA,NA,0,"cases" +"2016-02-13","Brazil-Minas_Gerais","state","microcephaly_fatal_not","BR0007",NA,NA,2,"cases" +"2016-02-13","Brazil-Paraiba","state","microcephaly_fatal_not","BR0007",NA,NA,1,"cases" +"2016-02-13","Brazil-Parana","state","microcephaly_fatal_not","BR0007",NA,NA,2,"cases" +"2016-02-13","Brazil-Pernambuco","state","microcephaly_fatal_not","BR0007",NA,NA,0,"cases" +"2016-02-13","Brazil-Piaui","state","microcephaly_fatal_not","BR0007",NA,NA,3,"cases" +"2016-02-13","Brazil-Rio_Grande_do_Norte","state","microcephaly_fatal_not","BR0007",NA,NA,0,"cases" +"2016-02-13","Brazil-Sergipe","state","microcephaly_fatal_not","BR0007",NA,NA,0,"cases" +"2016-02-13","Brazil-Sao_Paulo","state","microcephaly_fatal_not","BR0007",NA,NA,2,"cases" diff --git a/Brazil/COES_Microcephaly/original reports/coes-microcefalia-inf-epi-13-se06-2016.pdf b/Brazil/COES_Microcephaly/original reports/coes-microcefalia-inf-epi-13-se06-2016.pdf new file mode 100644 index 0000000..898d3c0 Binary files /dev/null and b/Brazil/COES_Microcephaly/original reports/coes-microcefalia-inf-epi-13-se06-2016.pdf differ diff --git a/LICENSE b/LICENSE index 8dada3e..c0ee812 100644 --- a/LICENSE +++ b/LICENSE @@ -1,201 +1,201 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright {yyyy} {name of copyright owner} + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/README.html b/README.html new file mode 100644 index 0000000..8c688df --- /dev/null +++ b/README.html @@ -0,0 +1,101 @@ + + + + +
+ + + + + + + +This data repository will be used to share publicly available data related to the ongoing Zika epidemic. It is being provided as a resource to the scientific community engaged in the public health response. The data provided here should be considered provisional and non-exhaustive.
+We are just getting going, please come back soon.
+Original reports and data extracted from those reports are categorized by country. For each country, there is README file with basic information about currently available datasets, a data guide, and a place names database. Detailed information on formats can be found in the data dictionary.
+Please see the data dictionary for information on standardization. More to come….
+This document describes a standardized format for sharing data related to the Zika outbreak. The initial aim is to convert all data from public reports into a standardized and easily accessible format as a comma separated values (csv) file. Any tabular or non-tabular data may be captured in this format.
+Data will first be organized on the country level. For each country with data products there will be a folder containing data for that country. If data is provided on a regional level, for example by the Pan American Health Organization, a separate folder will be created.
+For each country, there may be multiple report types of interest, for example epidemiological bulletins or microcephaly reports. Each of these types will be assigned a ‘short_name’ using only ASCII characters and no spaces. The country-specific folder will contain a README document with basic information (‘short_name’, full name, brief description, url) for all report types included in the repository for that country. The README will also include the date of the earliest report captured in the database. A final report date will be added when the report changes substantially, the report is discontinued, or there is no longer support for updating the report.
+The country-specific folder will also include folders for each report type, identified by the ‘short_name’. Within that folder there will be two additional folders, one labelled ‘original_reports’ for the original reports in pdf format or whatever is available, and the other labeled ‘data’ containing csv files prepared as specified here.
+The information from any given report will be captured in three csv files:
+The first, a report data file fill be created for each report assimilated. The latter two, the places names database and country data guide will be created for each country and will be modified to reflect new types of reports as reports are modified or new reports are added. Each is described below.
+Each csv file should represent data from a single report, whether that report has no tables, a single table, or multiple tables. Each line in the file should represent a numerical value from that report with relevant time, location, and data type information. The name of each csv file should have the same name as the ‘short_name’ for the report type followed by and underscore and the ‘report_date’ (described below), e.g. ‘COES_Microcephaly_2016-01-03.csv’.
+Across all fields, do not use any white spaces (spaces or tabs) or commas. Use only ASCII characters (not ASCII extended).
+Unless otherwise noted each of the following fields is required:
+report_date: The report date is the date that the report was published. If this date is unavailable, use the last date that the data in the report was updated. If no date can be found, use the date on which the report was first accessed. The date should be specified in standard ISO format (YYYY-MM-DD). Note that the same date should be included in every row of the file.
+report_date: 2016-01-30
+location: A location should be specified for each observation following the specific names specified in the country place name database. This may be any place with a ‘location_type’ as listed below, e.g. city, state, country, etc. It should be specified at up to three hierarchical levels in the following format: [country]-[state/province]-[county/municipality/city], always beginning with the country name. If the data is for a particular city, e.g. Salvador, it should be specified: Brazil-Bahia-Salvador. Each of these levels and the full name is provided in the place name database for use in preparing the files. For standardization purposes, the place name will not contain any accents or special characters. Proper names will be included in the place name database when possible. If the ‘location’ is not in the place name database, open an Issue to create a new ‘location’.
+location: Brazil-Bahia
+location_type: A location code should also be included indicating: city, district, municipality, county, state, province, or country. If there is need for an additional ‘location_type’, open an Issue to create a new ‘location_type’.
+location_type: state
+data_field: The data field is a short description of what data is represented in the row and is related to a specific definition defined by the report from which it comes. The complete, specific definition for each ‘data_field’ within each country in the country data guide. It should be accompanied by a country-specific code (see ‘data_field_code’). The same terminology may be used across countries, but this is not required as country-specific definitions are likely to vary. If the exact ‘data_field’ and ‘data_field_code’ do not exist in the country data guide, open an Issue to create a new ‘data_field’ and corresponding ‘data_field_code’.
+data_field: microcephaly_under_investigation
+data_field_code: This code is defined in the country data guide. It includes a two letter country code (ISO-3166 alpha-2, list), followed by a 4-digit number corresponding to a specific report type and data type. If the exact ‘data_field’ and ‘data_field_code’ do not exist in the country-specific data dictionary, open an Issue to create a new ‘data_field’ and corresponding ‘data_field_code’.
+data_field_code: BR0001
+time_period: Optional. If the data pertains to a specific period of time, for example an epidemiological week, that number should be indicated here and the type of time period in the ‘time_period_type’, otherwise it should be NA.
+time_period: 3
+time_period_type: Required only if ‘time_period’ is specified. Types will also be specified in the country data guide. Otherwise should be NA. If the exact ‘time_period_type’ is not specified in the country data guide, open an Issue to create a new ‘time_period_type’.
+time_period_type: epidemic_week
+value: The observation indicated for the specific ‘report_date’, ‘location’, ‘data_field’ and when appropriate, ‘time_period’.
+value: 10
+unit: The unit of measurement for the ‘data_field’. This should conform to the ‘data_field’ unit options as described in the country-specific data guide. If the unit required does not exist in the specific ‘data_field’ entry, open an Issue to add that unit. Note this should not include modifiers such as “suspected”, those should be include in the data_field full description (in the country data guide).
+unit: cases
+