httr2::request("https://raw.githubusercontent.com/enram/aloftdata.eu/refs/heads/main/_data/OPERA_RADARS_DB.json") |>
httr2::req_perform() |>
httr2::resp_body_json(check_type = FALSE) |>
purrr::map(~dplyr::tibble(
number = .x$number,
country = .x$country,
countryid = .x$countryid,
oldcountryid = .x$oldcountryid,
wmocode = .x$wmocode,
odimcode = .x$odimcode,
location = .x$location,
status = .x$status,
latitude = .x$latitude,
longitude = .x$longitude,
heightofstation = .x$heightofstation,
band = .x$band,
doppler = .x$doppler,
polarization = .x$polarization,
maxrange = .x$maxrange,
startyear = .x$startyear,
heightantenna = .x$heightantenna,
diameterantenna = .x$diameterantenna,
beam = .x$beam,
gain = .x$gain,
frequency = .x$frequency,
source = .x$source
)) |>
purrr::list_rbind()
#> # A tibble: 281 × 22
#> number country countryid oldcountryid wmocode odimcode location status
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 1322 Austria LOWM90 OSaa 11124 atval Valluga 0
#> 2 1128 Belgium EBUM40 BX40 6451 bezav Zaventem 0
#> 3 1129 Belgium EBUM41 BX41 6477 bewid Wideumont 1
#> 4 1356 Belgium EBUM42 BX42 6410 bejab Jabbeke 1
#> 5 1399 Belgium EBUM43 BX43 6475 behel Helchteren 1
#> 6 1342 Bulgaria BUaaX <NA> <NA> <NA> Gelemenovo 0
#> 7 1343 Bulgaria BUaaS <NA> <NA> <NA> Gelemenovo 0
#> 8 1218 Croatia LDZM42 RH42 14256 hrbil Bilogora 0
#> 9 1218 Croatia LDZM42 RH42 14256 hrbil Bilogora 1
#> 10 1219 Croatia LDZM43 RH43 14280 hrosi Osijek 0
#> # ℹ 271 more rows
#> # ℹ 14 more variables: latitude <chr>, longitude <chr>, heightofstation <chr>,
#> # band <chr>, doppler <chr>, polarization <chr>, maxrange <chr>,
#> # startyear <chr>, heightantenna <chr>, frequency <chr>, source <chr>,
#> # diameterantenna <chr>, beam <chr>, gain <chr>
Created on 2024-11-21 with reprex v2.1.0