SIZE OF A DATAFRAME

Asked

Viewed 611 times

0

Good afternoon!

I would like to know what size capacity of a data frame in R, I have a case in which used the R Sidrar package connection direct to the IBGE API for data capture, I had the following return:

All others arguments are desconsidered when 'api' is informed
Error in get_sidra(api = "/t/3939/p/1990-2017/v/all/n6/all/c79/2670") : 
  Quantidade de valores solicitados: 155876 excedeu o limite: 100000
> 

I would like to know if it is a package specific case, or if the size of a data frame is 100000 lines capacity.

  • 1

    The capacity of a dataframe is given by the available memory. This error may be due to an IBGE limit, it often happens that there are limits of data requests imposed by institutions.

1 answer

3

Not a package or R problem, but a Sidra API problem.

For example, d <- data.frame(A = runif(10000000)) is stored smoothly.

On the API help site, we have:

Limit on searching data

The data query is limited to 10,000 values. To know how many values your query will generate, multiply the number of selections made in each of the dimensions

Browser other questions tagged

You are not signed in. Login or sign up in order to post.