Skip to content

About

Graph generator based on Brazilian flights

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

BrazilFlights

Brazil Flights is an application that creates a graph of selected flights using the NetworkX library

The application is based on extract data from ANAC public database and make graphs from it

Filters

On the main function you can pass 4 parameters to make the flights graph

date_range

On this parameter you can pass a date range, following this pattern '2023-01-01/2023-01-02', to get all flights on this range

__main__(date_range = '2023-01-01/2023-01-02')

departure_hour_range

If you pass only one day to the parameter date_range ('2023-01-01/2023-01-01'), you can select the range of flights departure hour following this pattern '00:00-23:59'

__main__(date_range = '2023-01-01/2023-01-01', departure_hour_range = '10:00-11:00')

code_state

On this parameter you can pass an array of brazilian states (UF), following this pattern ['SP', 'MG'], to get all flights between that states

__main__(date_range = '2023-01-01/2023-01-01', code_state= ['SP','MG'])

transport_object

This parameter can filter the passenger flights if you pass 'PASSAGEIROS' and cargo flights if you pass 'CARGA', by default this get both flights types

__main__(date_range = '2023-01-01/2023-01-01', transport_object = 'CARGA')

Examples

date_range = '2023-01-01/2023-01-01', departure_hour_range = '10:00-11:00'

Figure_1

date_range = '2023-01-01/2023-01-01', code_state=['SP', 'MG']

Figure_1

date_range = '2023-01-01/2023-01-01', transport_object='CARGA'

Figure_1

About

Graph generator based on Brazilian flights

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages