@@ -55,6 +55,7 @@ First, clone the Pysus repository:
5555``` bash
5656git clone https://github.com/AlertaDengue/PySUS.git
5757```
58+
5859then from within the PySUS directory build the container
5960
6061``` bash
@@ -71,7 +72,7 @@ Point your browser to [http://127.0.0.1:8888](http://127.0.0.1:8888) and have fu
7172Once you are done, you can stop the container with a simple ` ctrl-c ` from the terminal you started it or use the following command:
7273``` bash
7374# to find the container ID
74- docker ps
75+ docker ps
7576docker stop < CONTAINER ID>
7677```
7778### Mounting your working directory in the container
@@ -104,7 +105,7 @@ setx PYSUS_CACHEPATH "C:\Users\Me\desired\path\.pysus"
104105In Docker, just add an extra parameter ` -e PYSUS_CACHEPATH="/home/me/desired/path/.pysus" ` when starting the container:
105106
106107``` bash
107- docker run -p 8888:8888 -e PYSUS_CACHEPATH=" /home/me/desired/path/.pysus" pysus:latest
108+ docker run -p 8888:8888 -e PYSUS_CACHEPATH=" /home/me/desired/path/.pysus" pysus:latest
108109```
109110
110111## Examples
@@ -143,7 +144,7 @@ Downloading and reading SINASC data:
143144In[1 ]: from pysus.online_data.SINASC import download
144145In[2 ]: df = download(' SE' , 2015 )
145146In[3 ]: df.head()
146- Out[3 ]:
147+ Out[3 ]:
147148 NUMERODN CODINST ORIGEM ... TPROBSON PARIDADE KOTELCHUCK
1481490 19533794 MSE2805100001 1 ... 11 1 9
1491501 52927108 MSE2802700001 1 ... 11 1 9
@@ -159,7 +160,7 @@ Dowloading and reading SIM data:
159160In[1 ]: from pysus.online_data.SIM import download
160161In[2 ]: df = download(' ba' , 2007 )
161162In[3 ]: df.head()
162- Out[3 ]:
163+ Out[3 ]:
163164 NUMERODO TIPOBITO DTOBITO ... UFINFORM CODINST CB_PRE
1641650 01499664 2 30072007 ... 29 RBA2914800001 C229
1651661 09798190 2 04072007 ... 29 RBA2914800001 R98
@@ -175,7 +176,7 @@ Dowloading and reading CIHA data:
175176In[1 ]: from pysus.online_data.CIHA import download
176177In[2 ]: df = download(' mg' , 2009 , 7 )
177178In[3 ]: df.head()
178- Out[3 ]:
179+ Out[3 ]:
179180 ANO_CMPT MES_CMPT ESPEC CGC_HOSP ... CAR_INT HOMONIMO CNES FONTE
1801810 2009 07 16505851000126 ... 2126796 1
1811821 2009 07 16505851000126 ... 2126796 2
@@ -191,7 +192,7 @@ Dowloading and reading SIA data:
191192In[1 ]: from pysus.online_data.SIA import download
192193In[2 ]: bi, ps = download(' AC' , 2020 , 3 , group = [" BI" , " PS" ])
193194In[3 ]: bi.head()
194- Out[3 ]:
195+ Out[3 ]:
195196 CODUNI GESTAO CONDIC UFMUN TPUPS ... VL_APROV UFDIF MNDIF ETNIA NAT_JUR
1961970 2000733 120000 EP 120040 07 ... 24.2 0 0 1023
1971981 2001063 120000 EP 120040 36 ... 7.3 0 0 1023
@@ -208,4 +209,3 @@ Out[4]:
2082093 2002094 120000 EP 120040 ... 0 0 1023
2092104 2002094 120000 EP 120040 ... 0 0 1023
210211[5 rows x 45 columns]
211- ```
0 commit comments