getsd_mun: Collects municipal level data from the Seguro Defeso Program...

Description Usage Arguments Value Author(s) Examples

View source: R/getsd_mun.R

Description

The program Seguro Defeso is a brazilian social welfare program that provides financial aid for fisherman and fisherwoman in periods in which this activity is prohibited by law due to the fish reproduction season. This function collects municipal level data from the program, some data like the number of citizens in a municipality which are enrolled in the program, and the total amount of money invested by the program in that city.

Usage

1
getsd_mun(IBGECODE, AAAA, MM = NULL, PAGE = 1, YEARLY = TRUE)

Arguments

IBGECODE

IBGE unique identifier of the municipality which you want the data. The list of municipalities and its codes might be requested with the function owdbr::munlist()

AAAA

Year of the data (AAAA format)

MM

Month of the data (MM format)

PAGE

Request's page. In normal situations: page=1.

YEARLY

If True, it is not needed to fill the MM param, the package will request the data for the entire year (AAAA). Default= TRUE.

Value

a tibble with the requested data, if there are more than one IBGECODE, returns all of them in the same tibble.

dataReferencia

Reference date

valor

Amount of money invested in the municipality.

quantidadeBeneficiados

Number of citizens wich are enrolled in the program in that moment

municipio.codigoIBGE

IBGE code of the municipality.

municipio.nomeIBGE

Name of the municipality.

municipio.pais

Country of the municipality.

municipio.uf.sigla

Abbreviation of name of the state in which the municipality is.

municipio.uf.nome

Full name of the state in wich the municipality is.

tipo.id

Type

tipo.descricao

Abbreviation of the program's name.

tipo.descricaoDetalhada

Full name of the program.

Author(s)

Joao Pedro Oliveira dos Santos, International Relations Institute, Pontifical Catholic University of Rio de Janeiro

Examples

1
2
3
4
## Not run: 
getsd_mun("3304557", AAAA = "2015", MM = "05", PAGE = 1, YEARLY = FALSE)

## End(Not run)

owdbr documentation built on Nov. 11, 2019, 9:06 a.m.

Related to getsd_mun in owdbr...