Skip to content

Commit

Permalink
feat: add 4 more aqs
Browse files Browse the repository at this point in the history
  • Loading branch information
quishqa committed Aug 8, 2024
1 parent ae624d9 commit 7477a23
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#' Use this to check the AQS \code{aqs_code} argument in CetesbRetrieveParam()
#' function. AQS names are without diacritics.
#'
#' @format A data frame with 70 observations and 5 variables:
#' @format A data frame with 74 observations and 5 variables:
#' \describe{
#' \item{name}{CETESB AQS name.}
#' \item{code}{CETESB AQS code in QUALAR System.}
Expand Down
15 changes: 10 additions & 5 deletions data-raw/cetesb_aqs.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,16 @@ cetesb_aqs$loc[cetesb_aqs$code %in% litoral] <- "Coast"
cetesb_aqs$loc[cetesb_aqs$code %in% interior] <- "Interior"

missing_aqs <- data.frame(
name = c("Lapa", "Perus"),
code = c(84, 293),
lat = c(-23.50897, -23.41321),
lon = c(-46.70122, -46.75605),
loc = c("São Paulo", "São Paulo")
name = c("Lapa", "Perus", "Americana-Vila Sta Maria",
"Paulínia-Sta Terezinha", "Rio Claro-Jd.Guanabara",
"São Sebastião" ),
code = c(84, 293, 105, 291, 292, 294),
lat = c(-23.50897, -23.41321, -22.72425,
-22.78021, -22.43906, -23.8052),
lon = c(-46.70122, -46.75605, -41.33955,
-41.113904, -41.58144, -39.40007),
loc = c("São Paulo", "São Paulo", "Interior", "Interior",
"Interior", "Litoral")
)

cetesb_aqs <- rbind(cetesb_aqs, missing_aqs)
Expand Down
Binary file modified data/cetesb_aqs.rda
Binary file not shown.
2 changes: 1 addition & 1 deletion man/cetesb_aqs.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7477a23

Please sign in to comment.