forked from MapComplete/MapComplete
		
	Add cumulative changesets per host
This commit is contained in:
		
							parent
							
								
									2e57b951be
								
							
						
					
					
						commit
						13d74e479c
					
				
					 4 changed files with 2873 additions and 2872 deletions
				
			
		
							
								
								
									
										
											BIN
										
									
								
								Docs/Tools/Cumulative changesets per host.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Docs/Tools/Cumulative changesets per host.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 115 KiB | 
|  | @ -249,6 +249,7 @@ def create_graphs(contents): | |||
|     cumulative_changes_per(contents, 1, "contributor", cutoff=15) | ||||
|     cumulative_changes_per(contents, 2, "language", cutoff=1) | ||||
|     cumulative_changes_per(contents, 4, "version number", cutoff=1) | ||||
|     cumulative_changes_per(contents, 8, "host", cutoff=1) | ||||
| 
 | ||||
|     currentYear = datetime.now().year | ||||
|     for year in range(2020, currentYear + 1): | ||||
|  |  | |||
|  | @ -13,7 +13,7 @@ echo "" > tmp.csv | |||
| for f in stats.*.json | ||||
| do | ||||
|     echo $f | ||||
|     jq ".features[].properties | [.date, .user, .metadata.language, .metadata.theme, .editor, .create, .modify, .comment]" "$f" | tr -d "\n" | sed "s/]\[/\n/g" | tr -d "][" >> tmp.csv | ||||
|     jq ".features[].properties | [.date, .user, .metadata.language, .metadata.theme, .editor, .create, .modify, .comment, .metadata.host]" "$f" | tr -d "\n" | sed "s/]\[/\n/g" | tr -d "][" >> tmp.csv | ||||
|     echo "" >> tmp.csv | ||||
| done | ||||
| 
 | ||||
|  |  | |||
							
								
								
									
										5742
									
								
								Docs/Tools/stats.csv
									
										
									
									
									
								
							
							
						
						
									
										5742
									
								
								Docs/Tools/stats.csv
									
										
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue