MyNixOS website logo
Description

Download Air Quality and Meteorological Information of Chile.

Download air quality and meteorological information of Chile from the National Air Quality System (S.I.N.C.A.)<https://sinca.mma.gob.cl/> dependent on the Ministry of the Environment and the Meteorological Directorate of Chile (D.M.C.)<http://www.meteochile.gob.cl/> dependent on the Directorate General of Civil Aeronautics.

AtmChile

R package that allows compiling information on air quality parameters and meteorological parameters of Chile from the sites of the National Air Quality System (SINCA) dependent on the Ministry of the Environment and the Meteorological Directorate of Chile (DMC) dependent on the Directorate General of Aeronautic.

Project developed by the Department of Chemistry, Faculty of Sciences of the University of Chile. FONDECYT Project 1200674.

Installation from GitHub:

    library(devtools)
    install_github("franciscoxaxo/AtmChile")
    

Installation from CRAN:

    install.packages("AtmChile")
    

Usage:

    library(AtmChile)

ChileAirQuality

Function that compiles in a data frame air quality data from the National Air Quality System (SINCA).

The function has available the following air quality parameters:

ParameterDescriptionUnits
PM10Particulate material minor to 10 micronug/m^{3}N
PM25Particulate material minor to 2,5 micronug/m^{3}N
SO2Sulfur dioxideug/m^{3}N
NOXNitrogen oxidesppb
NONitrogen monoxideppb
NO2Nitrogen dioxideppb
O3tropospheric ozoneppb
COCarbon monoxideppb
tempTemperature°C
wsWind speedm/s
wdWind direction°
HRRelative humidity%

The following stations are available:

CodeLatitudeLongitudeEstationAd. division
SA-33.450819-70.6604476Parque O'HigginsRM
CEII-33.479515-70.719064Cerrillos 1RM
CEI-33.482411-70.703947CerrillosRM
CN-33.419725-70.73179Cerro NaviaRM
EB-33.533626-70.665906El BosqueRM
IN-33.40892-70.650886IndependenciaRM
LF-33.503288-70.587916La FloridaRM
LC-33.363453-70.523024Las CondesRM
PU-33.424439-70.749876PudahuelRM
PA-33.577948-70.594184Puente AltoRM
QU-33.33632-70.723583QuilicuraRM
QUI-33.352539-70.747952Quilicura 1RM
TAL-33.674-70.953TalaganteRM
AH-20.290467-70.100192Alto HospicioI
AR-18.476839-70.287911AricaXV
TE-38.748699-72.620788Las Encinas TemucoIX
TEII-38.727003-72.580002Nielol TemucoIX
TEIII-38.725302-72.571193Museo Ferroviario TemucoIX
PLCI-38.772463-72.595024Padre Las Casas IIX
PLCII-38.764767-72.598796Padre Las Casas IIIX
LU-40.286857-73.07671La UnionXIV
LR-40.321282-72.471895CESFAM Lago RancoXIV
MAI-39.665626-72.953729MafilXIV
MAII-39.542346-72.925205Fundo La RiberaXIV
MAIII-39.719218-73.128677Vivero Los CastanosXIV
VA-39.831316-73.228513Valdivia IXIV
VAII-39.805429-73.25873Valdivia IIXIV
OS-40.584479-73.11872OsornoX
OSII-40.683736-72.596399Entre LagosX
PMI-41.39917-72.899523AlerceX
PMII-41.479507-72.968756MirasolX
PMIII-41.510342-73.065294Trapen NorteX
PMIV-41.518765-73.08804Trapen SurX
PV-41.328935-72.968209Puerto VarasX
VI-45.404-66.687VialidadXI
COI-45.57993636-72.0610848Coyhaique IXI
COII-45.57904645-72.04996681Coyhaique IIXI
PAR-53.158295-70.921497Punta ArenasXII
TOCI-22.06-70.187Tres MariasII
TOCII-22.086-70.188Super SiteII
TOCIII-22.09-70.199GobernacionII
TOCIV-22.108-70.209BomberosII
ANTI-23.614-70.383AntofagastaII
ANTII-23.674-70.407Playa BlancaII
ANTIII-23.612-70.381RendicII
ANTIV-23.833-70.309SurII
CALI-22.342-68.651Chiu ChiuII
CALII-22.46-68.938Club Deportivo 23 de MarzoII
CALIII-22.442-68.933Colegio Pedro Vergara KellerII
CALIV-22.462-68.928Estacion CentroII
CALV-22.454-68.91Hospital el CobreII
CALVI-22.343-68.649Nueva ChiuChiuII
CALVII-22.464-68.921OasisII
CALVIII-22.461-68.948Servicio Medico LegalII
CALIX-22.321-68.937AukahuasiII
CALX-22.315-68.93San JoseII
CALXI-22.475-68.928Villa CaspanaII
MELI-22.454-68.91HospitalII
MELII-22.345-69.661IglesiaII
MEJI-23.102-70.445Jardin Infantil IntegraII
MEJII-23.105-70.442Juan Jose LatorreII
MEJIII-23.1-70.45Compania de BomberosII
MEJIV-23.098-70.463FerrocarrilesII
SGO-22.89-69.319Sierra GordaII
TALI-25.007-70.463PaposoII
TALII-24.983-70.461Punto de Maximo ImpactoII
TOCI-22.086-70.189Escuela E-10II
TOCII-22.094-70.197CentroII
TOCIII-22.089-70.195Escuela E-12II
TOCIV-22.094-70.197Escuela Gabriela MistralII
TOCV-22.107-70.214SurII
COPI-27.37-70.323Copiapo SivicaIII
COPII-27.36-70.33CopiapoIII
COPIII-27.37-70.304Los VolcanesIII
COPIV-27.411-70.269PaipoteIII
COPV-27.393-70.299San FernandoIII
DALI-26.423-69.507CAPIII
DALII-26.433-69.481Dona InesIII
FREI-28.504-71.127SM6III
FREII-28.498-71.096SM7III
FREIII-28.508-71.081SM8III
HUAI-28.47-71.22Huasco SivicaIII
HUAII-28.468-71.22721 de MayoIII
HUAIII-28.466-71.222EME FIII
HUAIV-28.47-71.219EME MIII
HUAV-28.465-71.257EME MEIII
HUAVI-28.467-71.231Huasco IIIII
HUAVII-28.501-71.254SM1III
HUAVIII-28.462-71.181SM2III
HUAIX-28.472-71.178SM3III
HUAX-28.481-71.167SM4III
HUAXI-28.484-71.146SM5III
TAMI-27.475509-70.265893Tierra AmarillaIII
TAMII-27.658-70.235PabellonIII
ANDI-30.228-71.086AndacolloIV
ANDII-30.252-71.082ChepiquillaIV
ANDIII-30.233-71.094El SauceIV
ANDIV-30.228-71.086HospitalIV
ANDV-30.236-71.084Urmeneta - Plaza CentenarioIV
COQI-29.971-71.336CoquimboIV
COQII-29.92-71.256La SerenaIV
LVI-31.928-71.137CaimanesIV
LVII-31.819-70.581ChacayIV
LVIII-31.974-71.01El MauroIV
LVIV-83.85-89.132Punta ChungoIV
SLMI-31.889-70.629CuncumenIV
SLMII-31.881-70.955CamisasIV
SLMIII-31.805-74.279CoironIV
SLMIV 1-31.781-70.533Hotel MinaIV
SLMV-31.895-70.836Quelen AltoIV
CALEI-32.847-71.225"La Cruz Colbun"V
CALEII-32.782-71.19La CaleraV
CALEIII-32.749-72.246Rural 1V
CATEI-32.779-70.959CatemuV
CATEII-32.824-71.006RomeralV
CATEIII-32.777-70.938Santa MargaritaV
CCNI-32.926243-71.512461Concon MMAV
CCNII-32.921-71.44ColmoV
CCNIII-32.925-71.515ConconV
CCNIV-32.935-71.525Junta de VecinosV
CCNV-32.916-71.481Las GaviotasV
CCNVI-32.933-71.528Concon SurV
LCZ-32.813-71.227"La Cruz Melon"V
LAN-32.846-70.586Los AndesV
LCA-32.798-70.898Lo CampoV
PCHI-32.719-71.407PuchuncaviV
PCHII-32.736-71.451CampicheV
PCHIII-32.748-71.474La GredaV
PCHIV-32.764-71.455Los MaitenesV
PCHV-31.841-71.456VentanasV
PCHVI-32.751-71.48Terminal ConcentradosV
QLLI-32.886-71.247Cuerpo de BomberosV
QLLII-32.891794-71.208638La PalmaV
QLLIII-32.937-71.274San PedroV
QLLIV-32.913-71.372ManzanarV
QLPI-33.047-71.435QuilpueV
QLPII-33.039-71.429ARMATV
QNTI-32.788-71.532Centro QuinteroV
QNTII-32.795-71.496LoncuraV
QNTIII-32.772516-71.535303QuinteroV
QNTIV-32.801-71.483SurV
QNTV-32.808-71.436Valle AlegreV
VPO-33.05-71.614ValparaisoV
VNA-33.02-71.55Vina del MarV
CDE-34.032-76.66CodeguaVI
MCHI-34.245-76.556CauquenesVI
MCHII-34.262-76.463CipresesVI
MCHIII-34.204-76.53Coya PoblaciOnVI
MCHIV-34.084-76.382SewellVI
MSTI-33.954-76.639Casas de PeucoVI
MSTII-33.981-76.704San Francisco de MostazalVI
RGAI-34.162-76.714Rancagua IVI
RGAII-34.144-76.737Rancagua IIVI
RNG-34.395-76.853RengoVI
RQNI-34.214-76.751MVCVI
RQNII-34.328-76.793TotihueVI
SFDO-34.58-76.99San FernandoVI
CQN-35.965-72.317Cauquenes SivicaVII
CRCI-34.975-77.234CuricóVII
CRCII-34.972-77.23El BoldoVII
LIN-35.837-77.593LinaresVII
TALI-35.435-77.678La FloridaVII
TALII-35.436-77.619U.C. MauleVII
TALIII-35.407-77.633Universidad de TalcaVII
TNOI-34.868-77.164"Teno CEMENTOS BIO BIO"VII
TNOII-34.862-77.131"Teno ENLASA"VII
CBR-37.024-72.266ColicheuVIII
CHYI-36.923-73.036PunterasVIII
CHYII-36.913-73.036"Meteorológica Chiguayante"VIII
CHLI-36.595-72.089"INIA Chillán"VIII
CHLII-36.616-72.093PurenVIII
CONC-36.785-73.052Kingston CollegeVIII
CNELI-37.021-73.15Cerro MerquínVIII
CNELII-36.999-73.104CalabozoVIII
CNELIII-37.009-73.15Coronel NorteVIII
CNELIV-37.032-73.139Coronel SurVIII
CNELV-36.954-73.151"Escuadron ENEL"VIII
CNELVI-36.934-73.153"Escuadron ENESA"VIII
CNELVII-36.984-73.153"Lagunillas ENEL"VIII
CNELVIII-37.1-73.152Lota ruralVIII
CNELIX-37.074-73.145Lota urbanaVIII
CNH-37.485-73.332Balneario CuranilahueVIII
HPNI-36.803-73.12BocatomaVIII
HPNII-36.791-73.119ENAP PriceVIII
HPNIII-36.781-73.116JUNJIVIII
HQI-36.977-72.932HualquiVIII
LAJ-37.268-72.711LajaVIII
LAI-37.471-72.36121 de mayoVIII
LAII-37.463-72.325Los Ángeles OrienteVIII
LAIII-37.464-72.362CESFAM Los ÁngelesVIII
NACI-37.502-72.676Club de EmpleadosVIII
NACII-37.504-72.66Entre RíosVIII
NACIII-37.509-72.656LautaroVIII
QLLI-36.684-72.465CayumanquiVIII
QLLII-36.742-72.475QuillónVIII
RQL-36.652-72.455Nueva AldeaVIII
SCA-36.527-72.07San CarlosVIII
SPP-36.867-73.141MASISA MapalVIII
THNI-36.724-73.124Consultorio - San VicenteVIII
THNII-36.717-79.111LibertadVIII
THNIII-36.722-73.123San Vicente BomberosVIII
THNIV-36.77-73.114InduraVIII
THNV-36.737-73.104InpescaVIII
THNVI-36.736-73.119Nueva LibertadVIII
TME-36.602-72.959Liceo PolivalenteVIII

Parameters

Comunas: data vector containing the names or codes of the monitoring stations. Available stations: "P. O'Higgins", "Cerrillos 1", "Cerrillos", "Cerro Navia", "El Bosque", "Independecia", "La Florida", "Las Condes", "Pudahuel", "Puente Alto "," Quilicura", "Quilicura 1", "Coyhaique I", "Coyhaique II".To see the table with the monitoring stations use:

    ChileAirQuality()

Parametros: data vector containing the names of the air quality parameters. Available parameters: "PM10", "PM25", "CO", "NOX", "NO2", "NO", "O3", "SO2", "temp" (temperature), "RH" (relative humidity), "ws" ( wind speed), "wd" (wind direction).

fechadeInicio: text string containing the start date of the data request.

fechadeTermino: text string containing the end date of the data request.

Curar: logical value that activates data curation for particulate matter, nitrogen oxides, relative humidity and wind direction. Default value: TRUE.

Site: logical value that allows entering the code of the monitoring station in the variable "Comunas". Default value: FALSE.

st: logical value that includes validation reports from S.I.N.C.A. "NV": No validated, "PV": Pre-validated and "V": Validated. Default value: FALSE.

Examples:

Example 1:

    ChileAirQuality(Comunas = "Cerrillos", Parametros = c("PM10, PM25"), fechadeInicio = "01/01/2020,", fechadeTermino = "01/01/2021", Curar = TRUE, Site = FALSE)
    

Example 2:

    ChileAirQuality(Comunas = c("SA", "CE"), Parametros = c("NO2", "O3"), fechadeInicio = "01/01/2020,", fechadeTermino = "01/01/2021", Curar = FALSE, Site = TRUE)
    

Example 3:

    ChileAirQuality(Comunas = c("SA", "CE"), Parametros = c("NO2", "O3"), fechadeInicio = "01/01/2020,", fechadeTermino = "01/01/2021", Curar = FALSE, Site = TRUE, st = TRUE)
    

ChileClimateData

Function that compiles climate data from Climate direction of Chile (DMC).

The function has available the following climate parameters: Temperature("Temperatura"), dew point("PuntoRocio"), wind direction("Viento"), humidity("Humedad"), Pressure at sea level("PresionQFF") and Pressure at monitoring station level("PresionQFE").

The following stations are available:

N.National CodeNameLatitudeLongitudeAd. division
1180005Chacalluta, Arica Ap.-18.35555-70.33889XV
2200006Diego Aracena Iquique Ap.-20.54917-70.16944I
3220002El Loa, Calama Ad.-22.49806-68.89805II
4230001Cerro Moreno Antofagasta Ap.-23.45361-70.44056II
5270001Mataveri Isla de Pascua Ap.-27.15889-109.42361V
6270008Desierto de Atacama, Caldera Ad.-27.25444-70.77944III
7290004La Florida, La Serena Ad.-29.91444-71.20333IV
8320041Viña del Mar Ad. (Torquemada)-32.94944-71.47444V
9320051Los Libertadores-32.84555-70.11861V
10330007Rodelillo, Ad.-33.06528-71.55917V
11330019Eulogio Sánchez, Tobalaba Ad.-33.45528-70.54222RM
12330020Quinta Normal, Santiago-33.44500-70.67778RM
13330021Pudahuel Santiago-33.37833-70.79639RM
14330030Santo Domingo, Ad.-33.65611-71.61000V
15330031Juan Fernández, Estación Meteorológica.-33.63583-78.83028V
16330066La Punta, Juan Fernández Ad.-33.66639-78.93194V
17330077El Colorado-33.35000-70.28805RM
18330111Lo Prado Cerro San Francisco-33.45806-70.94889RM
19330112San José Guayacán-33.61528-70.35583RM
20330113El Paico-33.70639-71.00000RM
21340031General Freire, Curicó Ad.-34.96944-71.22028VII
22360011General Bernardo O'Higgins, Chillán Ad.-36.58583-72.03389XVI
23360019Carriel Sur, Concepción Ap.-36.78055-73.05083VIII
24360042Termas de Chillán-36.90361-71.40667XVI
25370033María Dolores, Los Angeles Ad.-37.39694-72.42361VIII
26380013Maquehue, Temuco Ad.-38.76778-72.62694IX
27380029La Araucanía Ad.-38.93444-72.66083IX
28390006Pichoy, Valdivia Ad.-39.65667-73.08472XIV
29400009Cañal Bajo, Osorno Ad.-40.61444-73.05083X
30410005El Tepual Puerto Montt Ap.-41.44750-73.08472X
31420004Chaitén, Ad.-42.93028-72.71167X
32420014Mocopulli Ad.-42.34667-73.71167X
33430002Futaleufú Ad.-43.18889-71.86417X
34430004Alto Palena Ad.-43.61167-71.81333X
35430009Melinka Ad.-43.89778-73.74555X
36450001Puerto Aysén Ad.-45.39944-72.67778XI
37450004Teniente Vidal, Coyhaique Ad.-45.59083-72.10167XI
38450005Balmaceda Ad.-45.91833-71.67778XI
39460001Chile Chico Ad.-46.58500-71.69472XI
40470001Lord Cochrane Ad.-47.24389-72.57611XI
41510005Teniente Gallardo, Puerto Natales Ad.-51.66722-72.52528XII
42520006Carlos Ibañez, Punta Arenas Ap.-53.00167-70.84722XII
43530005Fuentes Martínez, Porvenir Ad.-53.25361-70.32194XII
44550001Guardiamarina Zañartu, Pto Williams Ad.-54.93167-67.61000XII
45950001C.M.A. Eduardo Frei Montalva, Antártica-62.19194-58.98278XII
46950002Arturo Prat, Base Antártica-62.47861-59.66083XII
47950003Bernardo O`Higgins, Base Antártica-63.32083-57.89805XII

Parameters

Estaciones: data vector containing the codes of the monitoring stations. To see the table with the monitoring stations use:

     ChileClimateData()

Parametros: data vector containing the names of the climate parameters. Available parameters: "Temperatura", "PuntoRocio", "Humedad","Viento", "PresionQFE", "PresionQFF".

inicio: text string containing the start year of the data request.

fin: text string containing the end year of the data request.

Region: logical parameter. If region is true it allows to enter the administrative region in which the station is located instead of the station code.

Examples:

Example 1:

    ChileClimateData(Estaciones = c("180005", "200006"), Parametros = c("Temperatura", "Humedad", "Viento"), inicio = "2020", fin = "2021")
    

Example 2:

    ChileClimateData(Estaciones = "II", Parametros = "Temperatura", inicio = "2020", fin = "2021", Region = TRUE)
    

ChileAirQualityApp

ChileAirQualityApp is a dashboard that allows you to use the data download functions of this package enhanced with analysis, visualization and descriptive statistics tools.

    ChileAirQualityApp()

This dashboard is also hosted online on shinyapps.io:

ChileAirQualityApp.

Metadata

Version

1.0.1

License

Unknown

Platforms (77)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-windows
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows