Git Product home page Git Product logo

rinmet's Introduction

rinmet

Este pacote consiste em um código de webscrapping que captura informações de todas as estações meteorológicas do Brasil administradas pelo Instituto Nacional de Meteorologia (INMET) e compila em uma base de dados unificada. Cada observação da base corresponde a informações coletadas por uma estação, em determinada data e hora do dia.

Segue uma breve descrição das variáveis disponíveis:

Variável Descrição
data Date
hora Hour (UTC)
precipitacao_total Total precipitation, hour (mm)
pressao_atm_nivel Atmospheric pressure at station level, hour (mB)
pressao_atm_max Maximum atmospheric pressure at station level, last hour (mB)
pressao_atm_max Minimum atmospheric pressure at station level, last hour (mB)
radiacao_global Global radiation (KJ/m²)
temp_bulbo_hora Dry-bulb temperature, hour (ºC)
temp_orvalho Dew point (ºC)
temp_max Maximum temperature, last hour (ºC)
temp_min Minimum temperature, last hour (ºC)
temp_orv_max Maximum dew point, last hour (ºC)
temp_orv_min Minimum dew point, last hour (ºC)
umid_rel_max Maximum air relative humidity, last hour (%)
umid_rel_min Minimum air relative humidity, last hour (%)
umid_rel_hora Air relative humidity, hour (%)
vento_direcao Wind direction (gr)
vento_rajada_max Maximum wind gust, last hour (m/s)
vento_velocidade Wind speed, hour (m/s)
estacao Name of the meteorological station
codigo Code of the meteorological station
municipio City where station is located
id_municipio IBGE code of the city
regiao Brazilian region where the station is located
uf State of Brazil where the station is located
latitude Latitude of station
longitude Longitude of station
altitude Altitude of station
data_fundacao Date which the station was founded

Instalação

Para instalar, utilize o seguinte comando:

devtools::install_github("filipemsc/rinmet")

Uso

O pacote rinmet possui apenas uma função, com a seguinte sintaxe:

get_base_inmet(year)

Exemplo:

get_base_inmet(2020)

O resultado é um data.table com as informações de todas informações meteorológicas deste ano.

Disclaimer

Este pacote foi feito com fins de aprendizado acerca de funcionamento de pacotes. Se quiser contribuir e aprimorá-lo, basta abrir uma issue ou mandar um e-mail para: [email protected]

rinmet's People

Contributors

filipemsc avatar

Stargazers

 avatar iago nunes avatar L. Moraes avatar Gabrielle Carvalho avatar Wilson Freitas avatar andrey avatar

Watchers

 avatar

Forkers

lhmet-forks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.