Download Mosquito Alert report data from GitHub
Arguments
- source
String. Source to download from. Options are github or zenodo.
- doi
String. Zenodo doi if downloading from Zenodo. Default is the doi that will always point to the most recent version: 10.5281/zenodo.597466.
Examples
malert_reports = get_malert_data(source = "github")
#> [1] 2014
#> [1] 2015
#> [1] 2016
#> [1] 2017
#> [1] 2018
#> [1] 2019
#> [1] 2020
#> [1] 2021
#> [1] 2022
#> [1] 2023
#> [1] 2024
malert_reports
#> # A tibble: 209,252 × 131
#> version_UUID creation_time creation_date creation_day_since_l…¹ creation_year
#> <chr> <chr> <chr> <int> <int>
#> 1 eed898df-df… 2014-07-14T1… 2014-07-14 31 2014
#> 2 ed5eef63-f2… 2014-10-05T1… 2014-10-05 114 2014
#> 3 fa43baea-99… 2014-06-23T1… 2014-06-23 10 2014
#> 4 9f3c6411-93… 2014-06-23T1… 2014-06-23 10 2014
#> 5 d60dc328-83… 2014-06-23T2… 2014-06-23 10 2014
#> 6 bb5eb598-39… 2014-06-23T2… 2014-06-23 10 2014
#> 7 1841d310-4d… 2014-08-28T1… 2014-08-28 76 2014
#> 8 13349FC6-FC… 2014-06-30T1… 2014-06-30 17 2014
#> 9 6247053c-56… 2014-07-01T1… 2014-07-01 18 2014
#> 10 620d5e65-af… 2014-09-22T0… 2014-09-22 101 2014
#> # ℹ 209,242 more rows
#> # ℹ abbreviated name: ¹creation_day_since_launch
#> # ℹ 126 more variables: creation_month <int>, site_cat <int>, type <chr>,
#> # lon <dbl>, lat <dbl>, tigaprob_cat <int>, visible <lgl>,
#> # latest_version <lgl>, n_photos <int>, final_expert_status_text <int>,
#> # responses <list>, country <chr>, updated_at <chr>,
#> # datetime_fix_offset <int>, point <chr>, nuts_2 <chr>, nuts_3 <chr>, …