This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Fecha datos | Rezago muertes (promedio 7 días) | Desviación estándar | |
|---|---|---|---|
| 2021-01-20 | 8.18867924528302 | 11.814696003360957 | |
| 2021-01-19 | 10.983050847457626 | 18.008935188526088 | |
| 2021-01-18 | 13.016949152542374 | 19.906128453678875 | |
| 2021-01-17 | 12.5 | 19.55698868567482 | |
| 2021-01-16 | 11.297297297297296 | 18.15453910163228 | |
| 2021-01-15 | 12.613636363636363 | 18.97751769030793 | |
| 2021-01-14 | 16.11881188118812 | 21.348725066258883 | |
| 2021-01-13 | 16.054347826086957 | 21.169791916598058 | |
| 2021-01-12 | 17.617977528089888 | 22.070115855770567 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| bulletin_date | municipio | popest2019 | total_dosis1 | total_dosis1_pct | total_dosis2 | total_dosis2_pct | |
|---|---|---|---|---|---|---|---|
| 2021-03-24 | Adjuntas | 17363 | 2898 | 0.16690664055750734 | 1682 | 0.0968726602545643 | |
| 2021-03-24 | Aguada | 36694 | 5228 | 0.14247560909140458 | 2628 | 0.07161933831144056 | |
| 2021-03-24 | Aguadilla | 50265 | 7967 | 0.15849995026360292 | 3590 | 0.07142146622898637 | |
| 2021-03-24 | Aguas Buenas | 24814 | 3614 | 0.14564358829692917 | 1898 | 0.07648907874586927 | |
| 2021-03-24 | Aibonito | 22108 | 5825 | 0.26347928351727884 | 3482 | 0.15749954767504976 | |
| 2021-03-24 | Arecibo | 81966 | 13337 | 0.16271380816436085 | 6790 | 0.08283922602054511 | |
| 2021-03-24 | Arroyo | 17238 | 2115 | 0.12269404803341455 | 1100 | 0.06381250725142128 | |
| 2021-03-24 | Añasco | 26161 | 3509 | 0.13413095829670119 | 1740 | 0.06651121899009976 | |
| 2021-03-24 | Barceloneta | 23727 | 3392 | 0.14295949761874657 | 1822 | 0.07679015467610739 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # | |
| # Script para descargar los datos del API que usa la página de apagones | |
| # de LUMA Puerto Rico. Filtramos un poco el resultado para producir un | |
| # "array" de JSON y añadirle un campo llamado `consulta` con la fecha y | |
| # hora (en UTC) que corremos el script. | |
| # | |
| # Herramientas requisito: | |
| # | |
| # * `curl` (disponible por defecto en muchos sistemas): https://curl.se/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Datos hasta | Fecha muestra o deceso | Edades | Pruebas (molecular + antígeno) | Pruebas (acumuladas) | Casos (molecular + antígeno) | Casos (acumulados) | Muertes | Muertes (acumuladas) | |
|---|---|---|---|---|---|---|---|---|---|
| 2021-07-10 | 2020-03-02 | 10 to 14 | 1 | 1 | 0 | 0 | 0 | 0 | |
| 2021-07-10 | 2020-03-02 | 5 to 9 | 2 | 2 | 0 | 0 | 0 | 0 | |
| 2021-07-10 | 2020-03-03 | 0 to 4 | 3 | 3 | 0 | 0 | 0 | 0 | |
| 2021-07-10 | 2020-03-03 | 15 to 19 | 1 | 1 | 0 | 0 | 0 | 0 | |
| 2021-07-10 | 2020-03-04 | 0 to 4 | 2 | 5 | 0 | 0 | 0 | 0 | |
| 2021-07-10 | 2020-03-04 | 5 to 9 | 1 | 3 | 0 | 0 | 0 | 0 | |
| 2021-07-10 | 2020-03-04 | 15 to 19 | 1 | 2 | 0 | 0 | 0 | 0 | |
| 2021-07-10 | 2020-03-04 | 10 to 14 | 4 | 5 | 0 | 0 | 0 | 0 | |
| 2021-07-10 | 2020-03-05 | 5 to 9 | 1 | 4 | 0 | 0 | 0 | 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "config": { | |
| "axis": {"labelFontSize": 14, "titleFontSize": 14}, | |
| "header": {"labelFontSize": 14, "titleFontSize": 14}, | |
| "legend": {"labelFontSize": 14, "titleFontSize": 14}, | |
| "title": {"align": "center", "fontSize": 20, "offset": 15} | |
| }, | |
| "data": { | |
| "url": "https://raw.githubusercontent.com/hodcroftlab/covariants/master/cluster_tables/USAClusters_data.json", | |
| "format": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Datos hasta | Muestras desde | Muestras hasta | Municipio | Población (2019) | Color | Casos | Tasa de casos (ITC1) | Positividad (ITC2) | |
|---|---|---|---|---|---|---|---|---|---|
| 2021-07-31 | 2021-07-18 | 2021-07-24 | Aguada | 36694 | Rojo | 115 | 313.40273614214857 | 18.181818181818183 | |
| 2021-07-31 | 2021-07-18 | 2021-07-24 | Isabela | 40423 | Rojo | 95 | 235.01471934294833 | 16.08832807570978 | |
| 2021-07-31 | 2021-07-18 | 2021-07-24 | Mayagüez | 71530 | Rojo | 163 | 227.8764154900042 | 13.503184713375797 | |
| 2021-07-31 | 2021-07-18 | 2021-07-24 | Cabo Rojo | 47515 | Rojo | 108 | 227.29664316531623 | 20.307692307692307 | |
| 2021-07-31 | 2021-07-18 | 2021-07-24 | Aguadilla | 50265 | Rojo | 114 | 226.79797075499852 | 22.916666666666668 | |
| 2021-07-31 | 2021-07-18 | 2021-07-24 | Añasco | 26161 | Rojo | 48 | 183.4792248002752 | 15.873015873015873 | |
| 2021-07-31 | 2021-07-18 | 2021-07-24 | Moca | 34891 | Rojo | 56 | 160.49984236622626 | 10.545454545454545 | |
| 2021-07-31 | 2021-07-18 | 2021-07-24 | Hormigueros | 15518 | Rojo | 22 | 141.77084675860291 | 7.6923076923076925 | |
| 2021-07-31 | 2021-07-18 | 2021-07-24 | San Germán | 30227 | Rojo | 42 | 138.9486220928309 | 11.515151515151516 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # | |
| # Datos de aquí: | |
| # | |
| # * https://www.census.gov/programs-surveys/decennial-census/about/rdo/summary-files.html | |
| # | |
| # Usa la herramienta `xsv` para procesar el archivo: | |
| # | |
| # * https://github.com/BurntSushi/xsv | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data_date | dose_date | doses | cumulative_doses | initial_doses | partial_vaxxed | final_doses | fully_vaxxed | |
|---|---|---|---|---|---|---|---|---|
| 2021-10-14 | 2020-12-03 | 2 | 2 | 2 | 2 | 0 | 0 | |
| 2021-10-14 | 2020-12-04 | 1 | 3 | 1 | 3 | 0 | 0 | |
| 2021-10-14 | 2020-12-05 | 1 | 4 | 1 | 4 | 0 | 0 | |
| 2021-10-14 | 2020-12-06 | 1 | 5 | 1 | 5 | 0 | 0 | |
| 2021-10-14 | 2020-12-07 | 1 | 6 | 1 | 6 | 0 | 0 | |
| 2021-10-14 | 2020-12-08 | 7 | 13 | 7 | 13 | 0 | 0 | |
| 2021-10-14 | 2020-12-09 | 1 | 14 | 1 | 14 | 0 | 0 | |
| 2021-10-14 | 2020-12-10 | 3 | 17 | 3 | 17 | 0 | 0 | |
| 2021-10-14 | 2020-12-11 | 1 | 18 | 1 | 18 | 0 | 0 |
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 12 columns, instead of 6 in line 6.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "Préstamo #","Recipiente","Franquicia","Empleos reportados","Fecha préstamo","Principal","Fecha condonación","Cantidad condonada","Dirección","Ciudad","Estado","Código postal" | |
| 7953047007,CARIBBEAN RESTAURANTS LLC,Burger King,500,2020-04-08,10000000,2021-06-11,10118888.89,"5 Carr Km 6 Hm 2 Barrio Amelia",GUAYNABO,PR,"00968" | |
| 3828657103,SOUTH AMERICAN RESTAURANTS CORP.,Church's Chicken,500,2020-04-12,10000000,2021-06-11,10117500,"35 Diana St, Amelia Industrial Park",GUAYNABO,PR,"00969" | |
| 5502967210,CENTRO MEDICO DEL TURABO INC.,,500,2020-04-27,10000000,2021-06-11,10112222.22,"100 AVE. LUIS MUNOZ MARIN",CAGUAS,PR,"00725" | |
| 4150097210,"GENESIS SECURITY SERVICES, INC.",,500,2020-04-27,10000000,2021-04-26,10098333.33,"5900 AVE. ISLA VERDE L2 PMB",CAROLINA,PR,"00979" | |
| 8283167002,ENCANTO RESTAURANTS INC,Pizza Hut,500,2020-04-08,9727100,2021-06-11,9841123.23,"9615 AVE LOS ROMEROS 200 Montehiedra Office Centre",SAN JUAN,PR,"00926-7037" | |
| 9187527106,"INTERNATIONAL RESTAURANT SERVICES, INC.",Chili's Grill & Bar,500,2020-04-15,89 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # | |
| # Fetch data from Covariants.org and count how many sequences | |
| URL='https://raw.githubusercontent.com/hodcroftlab/covariants/master/web/data/perCountryData.json' | |
| COUNTRY="${1?"No country given"}" | |
| curl --compressed "${URL}" | jq "[ | |
| .regions | |
| | .[] |